This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

nRF51422 Simultaneous UART + BLE + ANT

Hello,

I am currently working on a project that is using the nRF51422 chipset (Rev 2 silicon) and the S310 SoftDevice Version 1.0.0 and I am having some problems with the UART interface while I am advertising over BLE and ANT+. In my setup I am communicating from the nRF51422 to a slave micro controller over UART to obtain data and then advertising that data over BLE and ANT. I am successfully able to communicate over UART to the slave micro controller so I know I can do that, I am also able to advertise data over BLE and ANT so I know I am doing that correctly. However, when I combine the two operations I can no longer successfully read data over the UART.

Is there something I'm missing regarding simultaneous UART and BLE and ANT? Do I have to enable this through an API call of some kind or is there some "Magic Byte" I have to enable/set?

Any help you can provide would be greatly appreciated.

Thanks and Kind Regards,

Rinzler

  • Hello @Rinzler. Are you enabling HW flow control on the UART? If not, the UART can become unreliable when the soft device is enabled. The soft device can block service of the UART interrupts long enough for the receive FIFO to fill and drop characters. There are several threads on this forum about this.

    If you are using HW flow control what is the nature of the failure you are seeing?

Related