- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I was previously using Modustoolbox Version: 2.1.0 and PUART were working well but due to a deep sleep problem, I shifted my code to WICED Studio 6.2 version. CYBT-343026 Low power mode.
But now I am getting a problem with PUART again. I am getting junk characters on UART.
When I am trying to program it from Modustoolbox IDE UART works well.
Please let me know What I am doing wrong.
Please find the attached code file.
Thanks and regards,
Neeraj
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The problem was I had not installed the files required for CYBT-343026-EVAL board.
Platform Files for CYBT-343026-EVAL – KBA221025
Thanks for your support.
Regards,
@NeerajDhekale
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Have you tried to turn off Power Save feature and try again?
This step can determine if the Power Save feature are interrupting PUART here.
Best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ChunleiL_51
Thanks for your reply.
I have tried by commenting on all code related to deep sleep, but I am getting the same issue.
I have already attached code you may try by comment all deep sleep-related function.
But it is surprising that the same code works on Modustoolbox IDE Version: 2.1.0.
Also, I found about this function
wiced_hal_puart_select_uart_pads( WICED_PUART_RXD, WICED_PUART_TXD, 0, 0);
For WICED_PUART_RXD in Modustoolbox, there is a default value WICED_P04 but in WICED Studio 6.2 (CYW920706) same defined as WICED_P33. Why so? there should same GPIO to be used. Correct?
Also, I tried using the below function.
wiced_hal_puart_select_uart_pads( WICED_P04, WICED_PUART_TXD, 0, 0); but no success.Anyway our problem was with Tx not with Rx.
Also, I have tried on WICED Studio 6.4 but having the same problem there.
Please let me know where I am wrong.
Thanks and regards,
Neeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
The problem was I had not installed the files required for CYBT-343026-EVAL board.
Platform Files for CYBT-343026-EVAL – KBA221025
Thanks for your support.
Regards,
@NeerajDhekale