This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

USB-UART baud rate in nrf51 dongle pca10031

Hey everyone, I am using nrf51 dongle pca 10031. Nordic promised to have 1Mbps data rate. when i was trying to transfer data through UART. data is validated until 401600 (400kbps). when i configured UART to 1 Mbps, data is corrupted. when i was trying to transmit data (0x01-0x0f) on uart, on serial console i am recieving (0x80-0x8f). Can we achieve UART-USB data rate of 1 mbps with proper data validation?

Parents
  • Hi,

    Sorry for the slow response. Master control panel is using 1Mbaud, but was actually able to reproduce the behavior you described using the SDK example. It appears to be a SW issue and not HW. Tried the same with the simple uart module found in SDK 7.0.0, and got a throughput of ~40K characters per second running at 1MBaud with HWFC without any data loss.

    To test this I modified the SDK example do not exit upon receiving the 'Q/q' character, then used Real term and sent a larger text file while having capture enabled. Afterwards I did a 'diff' of the input and output file to verify the data.

    I've reported this as a bug internally.

Reply
  • Hi,

    Sorry for the slow response. Master control panel is using 1Mbaud, but was actually able to reproduce the behavior you described using the SDK example. It appears to be a SW issue and not HW. Tried the same with the simple uart module found in SDK 7.0.0, and got a throughput of ~40K characters per second running at 1MBaud with HWFC without any data loss.

    To test this I modified the SDK example do not exit upon receiving the 'Q/q' character, then used Real term and sent a larger text file while having capture enabled. Afterwards I did a 'diff' of the input and output file to verify the data.

    I've reported this as a bug internally.

Children
No Data
Related