CYBT-343026 PUART problem on WICED Studio 6.2

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.
NeDh_4602711
Level 5
Level 5
5 solutions authored First solution authored 50 replies posted

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.

pastedImage_2.png

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

0 Likes
1 Solution

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

View solution in original post

0 Likes
3 Replies
Charles_Lai
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 sign-ins

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

0 Likes

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

0 Likes

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

0 Likes