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

Studio Bluetooth Forum Discussions

JaPr_3925141
Level 1
Level 1

Hi All,

It is a simple question and just wanted to figure out how to configure the Multiplexed GPIO_Pxx pins for CYW20706?

Specifically I wanted to configure C8 pin to output the T/R switch control (TX_PD)? I believe by default it is a GPIO.

Regards,

Jay

0 Likes
3 Replies
SheetalJ
Moderator
Moderator
Moderator
750 replies posted 500 likes received 500 replies posted

Hi stealth_jay_3925141​,

You need to call the APIs wiced_bt_app_hal_init() and wiced_hal_gpio_configure_pin() in your code.

Please refer to the gpio demo under the /20706-A2_Bluetooth/apps/snip/hal/gpio file for details.

Thank you for your response. I guess specifically I wanted to know if I can configure the C8 pin while in HCI Mode. Would I have to load firmware then reset to get me back into HCI Mode?

Regards,

Jay

0 Likes

Hi Jay,

I exactly don't understand your query. Why do you want to enter HCI mode again?

You have to configure C8 pin in your firmware and then program the board when it is in HCI mode.

0 Likes