- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have created the same issue here as well. Working on it for solution.
Seyhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Seyhan,
Thank you for your reply.
Can you please indicate an ETA?
BR,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
We need to scope the amount of work and the resources. We will get back to you shortly.
Do you have a timeline you need this by?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Gangi,
Thank you for your fast reply. I would like to implement it by the end of november.
BR,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Gangi,
Do you plan to implement UART4 in the next SDK release? Can you please indicate an ETA or add me as a beta tester for this release ?
Thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Do you have any update or help for UART4 ?
Thank you !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any solution to this problem?
Edit: From the reference manual it is listed that the UART4 has RX DMA on DMA1, Channel 4, Stream 2 and TX DMA on DMA1, Channel 4, Stream 4. This seems to be working for me.
- 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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Seyhan,
Thank you so much for your help.
These configuration files will be implemented in the next WICED SDK release ? If yes, can you please indicate an ETA ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
The WICED SDK currently supports setting up the needed MCU peripherals for each specific application. Since the MCU peripheral usage and setup is application specific, UART4 related setup and usage will not at the next release of SDK.
Seyhan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Seyhan,
Thank you for your quick reply.
Can you please indicate the ETA of this SDK ? We are waiting for several libraries like Websocket and MQTT.
Thank you for your help !