2 Replies Latest reply on Jul 19, 2016 2:45 AM by sapac_1819731

    UART does not work in SDK3.7.0 in BCM94390WCD2

      While porting our software  to SDK 3.7 for SSL/TLS with MQTT


      Device : BCM94390WCD with SPIL module


        UART is not working in SDK3.7.0

        From the module view,   UART TX is working, UART RX is not working.

        Same code, different target to BCM943362, it is working


        We tested with #ifndef BCM4390X_UART_SLOW_POLL_MODE definition for  "platform_uart_receive_bytes"

        It also does not work.


      For simple duplication,

            snip.uart-BCM943362WCD4-FreeRTOS-LwIP download run  <== this works

            snip.uart-BCM94390WCD2-FreeRTOS-LwIP download run   <== this does not work.




      Snip code from WICED


      void application_start( )


          char c;     uint32_t expected_data_size = 1;

          /* Initialise ring buffer */

          ring_buffer_init(&rx_buffer, rx_data, RX_BUFFER_SIZE );

          /* Initialise UART. A ring buffer is used to hold received characters */

          wiced_uart_init( STDIO_UART, &uart_config, &rx_buffer );


          /* Send a test string to the terminal */

          wiced_uart_transmit_bytes( STDIO_UART, TEST_STR, sizeof( TEST_STR ) - 1 );


          /* Wait for user input. If received, echo it back to the terminal */

         while ( wiced_uart_receive_bytes( STDIO_UART, &c, &expected_data_size, WICED_NEVER_TIMEOUT ) == WICED_SUCCESS )



              wiced_uart_transmit_bytes( STDIO_UART, &c, 1 );

              expected_data_size = 1;