How to set up PUART flow control?

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

cross mob
JaHu_1711326
Level 1
Level 1
First like received First like given Welcome!

I used the below to set up PUART flow control,

     puart_selectUartPads(((bleprofile_puart_p_cxfg->rxpin / 16) << 5) | (bleprofile_puart_p_cfg->rxpin % 16),

               ((bleprofile_puart_p_cxfg->rxpin / 16) << 5) | (bleprofile_puart_p_cfg->rxpin % 16),

               3, 1);

     puart_init();

     puart_flowOn();

and the WP pin of my test platform is set to P32.

There are only 16 bytes of data received and some data lost when transferring over 16 bytes of data.

The RTS pin of the PUART seems not work.

Thanks!

Jack Huang

0 Likes
1 Solution
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

There is a discussion here that explains why RTS doesn't work...

Need clarification on PUART RTS/CTS flow control support

View solution in original post

1 Reply
BoonT_56
Employee
Employee
500 likes received 250 likes received 100 likes received

There is a discussion here that explains why RTS doesn't work...

Need clarification on PUART RTS/CTS flow control support