CYBT-413034 PUART flow control

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

cross mob
ilHw_4713311
Level 4
Level 4
5 solutions authored 50 sign-ins 50 replies posted

How I can configure puart flow control?

I made two changes but it did not work well.

one

const wiced_platform_gpio_t platform_gpio_pins[] =

    {

...

        [PLATFORM_GPIO_4 ] = {WICED_P06, WICED_UART_2_RTS        },

        [PLATFORM_GPIO_5 ] = {WICED_P07, WICED_UART_2_CTS        },

...

two

wiced_hal_puart_flow_on();

Please let me know how I can make it.

0 Likes
1 Solution

In my test, CYBT-413034 made compile error wiced_hal_puart_select_uart_pads

I changed my target UART control setting and I could use PUART flow control.

Thanks!

View solution in original post

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

Hi,

Did you select the Tx,Rx, cst,rts pins for the UART hardware using wiced_hal_puart_select_uart_pads() ?

BOOL32 wiced_hal_puart_select_uart_pads(UINT8 rxdPin, UINT8 txdPin, UINT8 ctsPin, UINT8 rtsPin);

How did you implement the flow control in your application? May I know the code flow?

Please attach the PUART code snippet here, if possible.

Thanks,

-Dheeraj

0 Likes

In my test, CYBT-413034 made compile error wiced_hal_puart_select_uart_pads

I changed my target UART control setting and I could use PUART flow control.

Thanks!

0 Likes