- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a problem with UART4 and the BCM9WCD1EVAL1. The wiced_uart_transmit_bytes hang on when I use the UART4. I have declared the UART4 in platforme.c as follows:
[WICED_UART_4] =
{
.port = UART4,
.tx_pin = &platform_gpio_pins[WICED_GPIO_1],
.rx_pin = &platform_gpio_pins[WICED_GPIO_2],
.cts_pin = NULL,
.rts_pin = NULL,
.tx_dma_config =
{
.controller = DMA2,
.stream = DMA2_Stream4,
.channel = DMA_Channel_4,
.irq_vector = DMA2_Stream4_IRQn,
.complete_flags = DMA_HISR_TCIF4,
.error_flags = ( DMA_HISR_TEIF4 | DMA_HISR_FEIF4 ),
},
.rx_dma_config =
{
.controller = DMA2,
.stream = DMA2_Stream2,
.channel = DMA_Channel_4,
.irq_vector = DMA2_Stream2_IRQn,
.complete_flags = DMA_LISR_TCIF2,
.error_flags = ( DMA_LISR_TEIF2 | DMA_LISR_FEIF2 | DMA_LISR_DMEIF2 ),
},
},
The WICED_GPIO_1/WICED_GPIO_2 was used for UART2 CTS/RTS. You will find attached the platform.c and .h.
Can you please help me to debug this problem?
Thank you in advance !
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Here is how to setup UART4 on WICED SDK-3.x, Enable UART4 on BCM943362WCD4 and BCM943341WDC1 as Terminal Output
Seyhan