Hi,
I am working on a project which is using ANT communication and we have chosen the nRF24AP2-8CH chip. At the moment we having some problems and i hope some one on this forum can help us.
Case:
We are using 2 channels, 1 master and 1 slave.
Master channel:
â?¢ Channel 0
o PARAMETER_TX_NOT_RX,
o period time 8hz
o freq 60
Slave channel:
â?¢ Channel 1
o PARAMETER_RX_NOT_TX,
o period time 4hz
o freq 66
o low priority enabled 12,5 sec
o high priority search is disabled 0.
The high priority search is disable (search time 0) because we donâ??t want to interrupt other channels. But for some reason the master channel is affected by the search that is perform on the slave channel.
First I open the master channel 0 then the slave channel 1.
For this case there is no external master for channel 1 and there for the channel will be closed after 12.5 sec and reopend by the microcontroller.
After +/-10.5 sec I start receiving collision(ch0) messages from the ANT chip. In total 9 times.
The last message is compose of the following events:
EVENT_RXSEARCH_TIMEOUT (ch1), EVENT_CHANNEL_COLLISION (ch0) , EVENT_CHANNEL_CLOSED (ch1)
The collisions are visible on the receiving end of channel 0 as EVENT_RX_FAIL.
(PC with ANTware II , USB dongle AP1 chip.)
With a logic analyzer I have checked the communication between microcontroller and ANT chip.
I have confirmed that the commands to disabled the high priority search and set the low priority search time (5 =12,5sec) are acknowledged by the ANT chip.
Question:
â?¢ why do I get the collisions and how can I solve this?