Re-initial uart will cause read function cannot work

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

cross mob
lock attach
Attachments are accessible only for community members.
WaLo_3890256
Level 2
Level 2
5 replies posted 10 questions asked 5 questions asked

Hello,

We are using ModusToolbox2.0 to develop CY8CKIT_062_WIFI_BT with Amazon AWS FreeRTOS. We have configured another uart port for AT-command transmit and receive.

When we need to disable uart then enable again, it will cause uart read function cannot work. We used "at_uart_init" and "at_uart_deinit" to implement enable and disable.

Please review my code as attached and give some advice.

Thank you for your help.

BR,

Wayne

0 Likes
1 Reply
LinglingG_46
Moderator
Moderator
Moderator
500 solutions authored 1000 replies posted 10 questions asked

Could you give us a simple project to reproduce the issue?

0 Likes