UART 2 transmit problem

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

cross mob
Anonymous
Not applicable

Hello,

In the example given in snip.uart I use the UART1 and UART2 simultaneously, the first one is used for debugging while the second one is used for communication with a device. I correctly receive the data sent by UART 1 to UART, however, I am unable to send data using UART2.

The platform used is the BCM943362 with the SDK 2.4.1.

Thank you in advance for your help

0 Likes
1 Solution
Anonymous
Not applicable

What is your platform? Is it BCM943362WCD4?

About BCM943362WCD4,

only PA2/PA3 (as WICED_GPIO_3/WICED_GPIO_4) can be used for WICED_UART_2 as USART2.

PA0/PA1 may be configurable as UART4.

View solution in original post

6 Replies
Anonymous
Not applicable

I have use SDK2.4.1 UART example too, it works fine.

Which EVB you're using?

How to connect to uart?

Please double check pin define in datasheet.

0 Likes
Anonymous
Not applicable

Hello,

Thank you for your reply.

The EVB used is the BCM9WCD1, I have checked the datasheet, the Tx/Rx are attached to the pins 2/3. However, I didn't connect the CTS RTS pins. Any idea ?

Regards

0 Likes
Anonymous
Not applicable

If you use SDK 2.4.1 , please check

~/include/platforms/YOUR_BOARD_TYPE/platform.h

~/Wiced/Platform/YOUR_BOARD_TYPE/platform.c

find out WICED_UART_1 / WICED_UART_2 : .pin_tx / .pin_rx , and which pin mapping in platform.h.

Each pin have mux-function, so make sure you plug-in right pin.

If still not work, it should be platform pin definition issue,

contact you EVB manufacturer to get the right platform file patch.

I use SPIL EVB, and you? USI? inventek?

0 Likes
Anonymous
Not applicable

Hello,

The eval board used is BCM9WCD1, this board has only one UART. I tried to use the WICED_GPIO_8 and WICED_GPIO_7 into UART2 but still have the same problem ...

0 Likes
Anonymous
Not applicable

What is your platform? Is it BCM943362WCD4?

About BCM943362WCD4,

only PA2/PA3 (as WICED_GPIO_3/WICED_GPIO_4) can be used for WICED_UART_2 as USART2.

PA0/PA1 may be configurable as UART4.

Anonymous
Not applicable

Hello dmiya,

The platform used is the BCM943362WCD4.

I use now PA2/PA3 for UART2 and it is working perfectly. Thank you so much for help

Regards,

0 Likes