Dear Sirs,
The EPTA function for QCA4020 (use YA999 develoment board) is workable with the wifi module located at the qualcomm Dakota DK04 development board. The EPTA pins are set at GPIO-5 (BT_Active), GPIO-6(WL_Active) & GPIO-7 (BT_Priority) and the mode is EPTA slave mode.
The signals for these pins can be observed at the logical analyzer and the behaviour is as expected. But when I change to use QCA4024 (use YA560 development board), I set EPTA pins at GPIO-16 (BT_Active), GPIO-17(WL_Active) & GPIO-60 (BT_Priority) according to the GPIO mapping described at QCA4024 device spec and the mode is aslo EPTA slave mode. I can not see any signals for these pins at the logical analyzer.
Moreover, when I set EPTA pin as GPIO-5, 6, 7 for QCA4024 and connect to DK04 board, it will cause the ble disconnection when the supervision timeout period is expired, but this situation would not occur at QCA4020 (the EPTA pins of QCA4020 are also connected to DK04 board).
Can someone tell me how to resolve EPTA issues for QCA4024 ? Thanks.
Below is my develepment enviorment:
1. Development board: LD20-YA999_RevB (QCA4020) & LD20-YB560_RevB (QCA4024)
2. SDK: qca4020-or-2-0_qca_oem_sdk-cdb.git & qca4020-or-2-0_qca_oem_standard-sdk024-cdb.git
Best Regards,
Bolo
Hi Bolo,
GPIO 5, 6, and 7 are dedicated pins for ETPA. Please use these GPIOs for EPTA.
Do you have some observation on EPTA (GPIO 5, 6, and 7) on between QCA4024 and QCA4020?
What is WLAN operation on DK04 board?
Thanks
BR,
Jayden
Hi Jayden,
No GPIO-5, 6 & 7 are listed at GPIO mapping described at page-14 of "qca4024_device_spec.pdf. Only GPIO-16, 17 & 60 are listed and
used for EPTA. Is there wrong EPTA pin configuration for the firmare of QCA4024 ? The firmware of QCA4024 seems to use the same
GPIO-5, 6, 7 for EPTA but QCA4024 hardware does not support GPIO-5, 6, 7 but GPIO-16, 17 & 60. So can you tell me more about how to
let the firemware of QCA4024 can check GPIO-16, 17 & 60 for EPTA function ? Thanks a lot.
Best Regards,
Bolo
Hi Bolo,
You're right. CDB 24 board doesn't expose GPIO 5, 6, and 7 while CDB 20 board have them.
Actually, QCA4024 chipset has these GPIOs but M24 module doesn't expose them. CDB24 board uses M24 module.
As you mentioned, we can try GPIO 16 (BT_ACTIVE), 17(WLAN_ACTIVE), and 60(BT_PRIORITY).
When we enable EPTA Slave mode, can we try to set the GPIOs like following? I specified exact function number for each GPIO.
As you know, please note these EPTA GPIOs should not be used for other purpose in device configuration.
@GPIO configurations for EPTA Slave on CDB24
/* Set the pin numbers. */
EPTA_Pin_1_Config.pin = 16;
EPTA_Pin_2_Config.pin = 17;
EPTA_Pin_3_Config.pin = 60;
EPTA_Pin_1_Config.func = 12;
EPTA_Pin_2_Config.func = 12;
EPTA_Pin_3_Config.func = 9;
EPTA_Pin_1_Config.dir = QAPI_GPIO_OUTPUT_E; // BT_ACTIVE
EPTA_Pin_2_Config.dir = QAPI_GPIO_INPUT_E; // WLAN_ACTIVE
EPTA_Pin_3_Config.dir = QAPI_GPIO_OUTPUT_E; // BT_PRIORITY
Thanks
BR,
Jayden
Hi Jayden,
Thanks for your information and I will try your suggestion mentioned at the latest reply. In additions, can you tell me what is the meaning
for the number set for "func" ? There is no explanation for this "func" at the QCA4024 documents. Thanks.
BR,
Bolo
Hi Jayden,
The EPTA function of QCA4024 is OK after the EPTA pin configuration are set according to your suggestion. I am very appreicated your
help. BTW, since I can not find out any document to decribe "func" of EPTA, so can you tell me the meaning for the number set for"func" of EPTA configure ? Thanks a lot.
BR,
Bolo
Hi Bolo,
Thanks for sharing the result.
80-YA121-142 "QCA402x (CDB2x) Programmers Guide" should have the configuration for alternative EPTA GPIOs (16, 17, and 60) but current revision doesn't include that configuration.
We will update this configuration in the next revision of 80-YA121-142 "QCA402x (CDB2x) Programmers Guide".
Thanks
BR,
Jayden
Hi Jayden,
Thanks for your help.
BR,
Bolo
Hi Jayden,
Thanks for your help.
BR,
Bolo
Hi Jayden,
Another question for WLAN_Active pin, is it active low or active high (i.e. signal level granted to QCA4024) ? Thanks.
BR,
Bolo