How to config PUART to support customized baud rate and bit pattern

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

cross mob
kisac_1448651
Level 1
Level 1

wiced_hal_puart_set_baudrate() is the only one api as am aware is available to config the PUART communication interface. Is there a way to configure the PUART to support customized baud rate and also even parity with stop bits.

0 Likes
1 Solution
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi kishan_1448651​,

Currently we only have wiced_hal_puart_set_baudrate() to configure PUART. There is no other way to customize the PUART.

View solution in original post

0 Likes
3 Replies
SheetalJ
Moderator
Moderator
Moderator
First comment on KBA 750 replies posted 500 likes received

Hi kishan_1448651​,

Currently we only have wiced_hal_puart_set_baudrate() to configure PUART. There is no other way to customize the PUART.

0 Likes

Ok, does that also means it only supports standard baud rate or we can pass customized baud rate value.

0 Likes

You can change the baud rate using the API mentioned above but you cannot change other parameters like parity bit.

Please refer this blog post: CYW20719 and CYW20735 Peripheral and HCI UARTs