0 Replies Latest reply on Dec 16, 2016 4:04 AM by jvecchio

    Problem with wiced_uart_receive_bytes in STM32F4



      I'm trying to use wiced_uart_receive_bytes(...) to receive modbus message and it crash after 3-4 message in the following line in platform_uart_receive_bytes(...) (STM32F4xx)


      memcpy( data_in, available_data, bytes_available );


      It seems to be that bytes_available = 0. I don't know how it is posible...


      I'm using a ring_buffer of 256 and in this case message are of 25 bytes



      Juan Pablo