Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

AIROC™ Bluetooth Forum Discussions

adam
Level 3
50 sign-ins First like received 25 sign-ins
Level 3

Hi @DheerajPK_41 ,

I have the same issue like "https://community.infineon.com/t5/AIROC-Bluetooth/CYBT343026-HCI-UART-CTS-pulldown-needed/m-p/290856...

I have tested lateset SDK version unfortunately the issue still there.

I think it is the obvious isuue, but in AIROC™ Bluetooth® SDK 3.3 release notes I don't see any about power saving

adam_0-1657857388207.png

If do not use wiced_sleep_config() to save power , do you have better solution for power saving?

0 Likes
6 Replies
DheerajPK_41
Moderator
Moderator 750 replies posted 500 likes received 500 replies posted
Moderator

Hi,

Could you please refer the attached code example and try to implement the low power mode in your application. Please use the latest BTSDK3.3

 

Thanks,

-Dheeraj.P.K

0 Likes
adam
Level 3
50 sign-ins First like received 25 sign-ins
Level 3

Hi @DheerajPK_41 , 

Thanks for reply immediately.

In my case, I need 20706 continue advertising, so deep sleep(HID-off) won't be my decision.

Maybe in 20706 only PMU sleep can be used in my case. 

So....

Have it fixed yet?

adam_0-1657878964256.png

adam_1-1657879452518.png

 

0 Likes
DheerajPK_41
Moderator
Moderator 750 replies posted 500 likes received 500 replies posted
Moderator

Hi,

All the issues related to low power mode are resolved. When you connect HCI UART, I recommend you to route the debug logs to WICED_UART or HCI_UART itself.  You can use the BTSpy tool also to capture the logs. It listens the UDB port of clientcontrol. Or Any host can get all the logs you have routed to HCI UART.

Thanks,

-Dheeraj.P.K

0 Likes
adam
Level 3
50 sign-ins First like received 25 sign-ins
Level 3

test environment:
PC connect with 20706

SDK version 3.3.0.23146
enable HCI UART (wiced_transport_init( &transport_cfg ) in APPLICATION_START( ))

adam_1-1658113162537.png

 


enable pUART (init in BTM_ENABLED_EVT)

adam_0-1658113145646.png

 


enable wiced_sleep_config() in APPLICATION_START( )

test step:
(now: HCI UART port close, HCI UART CTS high, pUART port open)
1. ModusToolBox update FW
2. Update FW complete, 20706 pUART Tx write custom init success message(aa bb 81 00 01 00)
3. PC receives init success message through pUART
4. PC write message through pUART
5. 20706 pUART Rx receives message, pUART Tx response message
6. PC receives response message
7. reset 20706
8. 20706 pUART Tx write custom init success message(aa bb 81 00 01 00)
9. PC receives init success message through pUART
10. PC write message through pUART
11. 20706 pUART Tx doesn't response message
12. 20706 timer pUART write message still work,but PC receives corrupted data
(now: HCI UART port close, HCI UART CTS high, pUART port open)
13. open HCI UART port, HCI UART CTS low
14. pUART and all work fine

adam_2-1658114602284.png

 

test result:
HCI UART CTS and wiced_sleep_config() will affect pUART

0 Likes
adam
Level 3
50 sign-ins First like received 25 sign-ins
Level 3

Hi @DheerajPK_41 , 

below is my test result, please  check. 

thanks,

Adam

0 Likes
adam
Level 3
50 sign-ins First like received 25 sign-ins
Level 3

Hi @DheerajPK_41 , 

if I commentate wiced_sleep_config(), UART will work fine. 

 

0 Likes