Welcome Guest,Register Now
Log In

ANT Forum

Welcome guest, please Login or Register

   

Simultaneous BLE peripheral and ANT+ connection

Rank

Total Posts: 15

Joined 2014-03-26

PM

Hi-

We have an application running on the Nordic nRF52382 with the S332 v2.00 stack. We've noticed when we have a BLE peripheral and ANT connection active concurrently, that we observe a significant increase in RX FAILures on the ANT channel. The ANT channel period is 17msec and the BLE connection period is 24 msec. If the BLE connection is dropped, the RX FAILures decrease significantly.

Can the radio/Softdevice run at these connection intervals concurrently?

Thanks!      
Rank

Total Posts: 15

Joined 2014-03-26

PM

Just a little more info. We are sending ANT broadcast packets from the device running the S332 stack and using ANTware to sniff the air. ANTware is reporting RX FAILures when broadcast messages should be sent. The RX FAILures occur frequently while the BLE connection is active. When the BLE connection is disconnected, ANTware displays the expected ANT broadcast messages.      
Rank

Total Posts: 15

Joined 2014-03-26

PM

...and a little more info..

We are using the nRF52832 with S332 v2.0 of the stack. We have recently been testing concurrent operation of a BLE peripheral connection and an ANT bidirectional master. The specifics are listed below:

BLE
Connection Interval (min): 24msec
Connection Interval (max): 24msec
Notification period: 250msec
# of notifications enabled: 12

ANT
RF Frequency: 2.477 MHz
Message rate: 59.04Hz
Burst transmission of 4 payload packet

Using ANTWare II and an ANT USB dongle we monitored the ANT master transmissions first with no BLE peripheral connection to get a baseline. Then we added the BLE peripheral connection concurrent with ANT (allowing our control processor to continue to update data for the radio to transmit via the UART interface). Finally, we halted the control processor from sending data to the radio once both protocols were operating.

Case 1: ANT bidirectional master only with transmit data updates from control processor

Sniffer produced near-error free (e.g., almost no receive errors) reception of master data

Case 2: ANT bidirectional master and BLE peripheral with transmit data updates from control processor

Sniffer produced enough errors that very few 4 packet bursts were received

Case 3: ANT bidirectional master and BLE peripheral with NO transmit data updates from control processor

No discernable difference from performance seen in case 2.

Could you advise on the following:

1. Have concurrency improvements been made in S332 since v2.0?
2. Are there any guidelines that must be followed in order to minimize the impact of concurrent operation?
     
Rank

Total Posts: 15

Joined 2014-03-26

PM

One more data point....Restricting the BLE peripheral connection interval to 100msec significantly reduced the number of EVENT_RX_FAIL events being observed on the ANT sniffer.      
Rank

Total Posts: 7

Joined 2023-04-04

PM

It is possible to run both a BLE peripheral and ANT connection concurrently on the Nordic nRF52382 with the S332 v2.00 stack. However, there are a few things to keep in mind:

The radio resources are shared between the BLE and ANT protocols, so it's important to ensure that both protocols are configured correctly to avoid interference. In particular, make sure that the frequency channels and transmission power levels are optimized for both protocols.

The BLE and ANT connection intervals should be carefully selected to avoid overlap and ensure that there is enough time for each protocol to complete its tasks. In your case, it looks like the BLE connection interval of 24 msec is longer than the ANT channel period of 17 msec, which could be causing some interference.

The antenna design and placement can also have a significant impact on the performance of both protocols. Make sure that the antenna is properly tuned and positioned to maximize signal strength and minimize interference.
foundation repair
In general, it's a good idea to perform thorough testing and optimization of both the BLE and ANT protocols to ensure that they can run concurrently without issues. You may also want to consult the Nordic Semiconductor documentation and support forums for further guidance on optimizing your setup      
Rank

Total Posts: 2

Joined 2023-03-30

PM

Hello! Thank you for reaching out. It sounds like you are experiencing some interference between your BLE and ANT channels. While it is possible to run both channels concurrently, interference can occur when the connection intervals are not properly managed.

One possible solution to reduce interference is to adjust the connection intervals so that they are not overlapping as much. For example, you could try increasing the BLE connection interval to 30 or 40 msec to reduce the overlap with the ANT channel period.

Another possible solution is to adjust the radio power levels for each channel to reduce the risk of interference. Lowering the power level for one channel can reduce its impact on the other channel.

I hope these suggestions help. Let me know if you have any other questions or if there is anything else I can assist you with.
     
Rank

Total Posts: 7

Joined 2023-04-04

PM

Then we added the BLE peripheral connection concurrent with ANT (allowing our control processor to continue to update data for the radio to transmit via the UART interface). Finally, we halted the control processor from sending data to the radio once both protocols were operating.
professional drywall repair contractors
     
Rank

Total Posts: 4

Joined 2023-12-14

PM

The info about ANT broadcast packets is really helpful. thank you
papa's games