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

UART break

Hello together, i have a question to the uart hardware communication. I try to send 6 bytes from the nRF51 DK, S130, SDK12 (p0.09 tx) pin to another hardware rx pin.

My Init: uart_init() in main. Baudrate 115200, Flow Control Disabled.

UART: for each byte app_uart_put() to send bytes over uart.

When i take a logic analyzer, i see there are little breaks between the bytes i send. image description

When i take e.g. HTerm with an usb TTL-232R 3V3 cable there are no breaks between the bytes. image description

My problem is, if i send this 6 bytes to my external hardware, i should get an response message from hardware to the nRF51 DK. Test with cable i will receive it. But not with the nRF51 DK. Potential is the same! i think this breaks make some trouble. how can i fix it?

Thanks!!

Parents
  • The 21 extra microseconds you see when using nRF51 is due to processing (it is the time between the ENDTX interrupt and the STARTTX task where a new byte is being transferred). It should not be a problem however as each byte starts when the line goes low.

    Unless the the time it takes to receive all the bytes matter this should work and I would try to look for other reasons it is not working.

Reply
  • The 21 extra microseconds you see when using nRF51 is due to processing (it is the time between the ENDTX interrupt and the STARTTX task where a new byte is being transferred). It should not be a problem however as each byte starts when the line goes low.

    Unless the the time it takes to receive all the bytes matter this should work and I would try to look for other reasons it is not working.

Children
No Data
Related