How to verify BT_HOST_WAKE and BT_DEV_WAKE pins on CYW54591

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

cross mob
Bill_123
Level 4
Level 4
Distributor - Weikeng(GC)
5 solutions authored 50 replies posted 100 sign-ins

Dear Sir,

I find the CYW54591 datasheet as below but I do not know how to control BT_HOST_WAKE and BT_DEV_WAKE pins by HCI commands.

I used the "Enable_generic_Wake_on_BLE" command but BT_HOST_WAKE and BT_DEV_WAKE pins can not be changed.

Could you have any example to control the pins or any suggests.thanks.

https://www.infineon.com/dgdl/Infineon-CYW5459X_Single-Chip_Wi-Fi_5_IEEE_802.11_ac_2_2_MAC_Baseband_...

Bill_123_0-1649420366632.png

 

B.R.

Bill

0 Likes
4 Replies
Owen_Zhang123
Moderator
Moderator
Moderator
5 questions asked 500 solutions authored 250 sign-ins

The BT_DEV_WAKE is a input pin which is used for the host to wakeup the CYW54591. You need to configure the pin input and interrupt mode in your firmware.

The BT_HOST_WAKE is a output pin which is used for the CYW54591 to wakeup the host. You also need to configure the pin output mode and initial output level in your firmware. The host also need to configure the correspond pin and interrupt.

0 Likes
Bill_123
Level 4
Level 4
Distributor - Weikeng(GC)
5 solutions authored 50 replies posted 100 sign-ins

Dear Owen,

Our kernel is linux with kernel ver. 5.4.

Does the firmware refer to HDC file ?

 

B.R.

Bill

 

0 Likes

Yes, you need to check the HCD file for it.

0 Likes
Bill_123
Level 4
Level 4
Distributor - Weikeng(GC)
5 solutions authored 50 replies posted 100 sign-ins

Dear Owen,

Thank you for your prompt reply.

How to verify this functionality after hcd configure is done.

Below is our verify steps. Could you help to check it or provide SOP.

If it's not correct, could you help to modify it?

1.use "Configure_Sleep_Lines" to setup the  BT_WAKE and HOST_WAKE sleep lines to different GPIOs and use those to test the wake up

https://community.infineon.com/t5/Studio-Bluetooth/HCI-command-after-enter-Sleep-mode/td-p/275584/pa...

2.use "Set_Sleepmode_Param"(0xFC27)

https://community.infineon.com/t5/Studio-Bluetooth/CYW20706-Which-hci-command-could-enter-sleep-mode...

 

https://www.infineon.com/dgdl/Infineon-AN214914_Measuring_Current_Consumption_in_Different_Power_Mod...

 

B.R.

Bill

0 Likes