cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Studio Wi-Fi Combo

Anonymous
Not applicable

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 !

0 Likes
Reply
1 Solution
Employee
0 Likes
Reply
11 Replies
Employee

I have created the same issue here as well. Working on it for solution.

Seyhan

Anonymous
Not applicable

Hi Seyhan,

Thank you for your reply.

Can you please indicate an ETA?

BR,

0 Likes
Reply
Employee

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?

0 Likes
Reply
Anonymous
Not applicable

Hello Gangi,

Thank you for your fast reply. I would like to implement it by the end of november.

BR,

0 Likes
Reply
Anonymous
Not applicable

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 !

0 Likes
Reply
Anonymous
Not applicable

Do you have any update or help for UART4 ?

Thank you !

0 Likes
Reply
Valued Contributor

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.

0 Likes
Reply
Employee
0 Likes
Reply
Anonymous
Not applicable

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 ?

0 Likes
Reply
Employee

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

0 Likes
Reply
Anonymous
Not applicable

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 !

0 Likes
Reply