There was a question when doing the multi-channel test of ANT. The SDK is 17.1, and the example is (ant / ant_ multi_ channels),Encountered the following problems:
1、Example test questions,The following work has been done:
1)、Download TX example:
Guidance document:There are 15 channels
However, data cannot be received for some time, as shown in the figure below:
Sometimes the data received is as shown in the figure below。 Want to make sure that the data I received is correct。(All 4 lights on DK board)
2)、Download RX example:
Can we think that ANTware is sending data:
DK board RTT printing as data:
J-Link RTT Viewer V6.30d: Logging started. LOG: Global terminal added. LOG: Terminal 0 added. LOG: Device "NRF52832_XXAA" selected. LOG: Found SW-DP with ID 0x2BA01477 LOG: Found SW-DP with ID 0x2BA01477 LOG: Scanning AP map to find all available APs LOG: AP[2]: Stopped AP scan as end of AP map has been reached LOG: AP[0]: AHB-AP (IDR: 0x24770011) LOG: AP[1]: JTAG-AP (IDR: 0x02880000) LOG: Iterating through AP map to find AHB-AP to use LOG: AP[0]: Core found LOG: AP[0]: AHB-AP ROM base: 0xE00FF000 LOG: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) LOG: Found Cortex-M4 r0p1, Little endian. LOG: FPUnit: 6 code (BP) slots and 2 literal slots LOG: CoreSight components: LOG: ROMTbl[0] @ E00FF000 LOG: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 LOG: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT LOG: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB LOG: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM LOG: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU LOG: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM LOG: RTT Viewer connected. LOG: Terminal 1 added. LOG: Device "NRF52832_XXAA" selected. LOG: Found SW-DP with ID 0x2BA01477 LOG: Found SW-DP with ID 0x2BA01477 LOG: Scanning AP map to find all available APs LOG: AP[2]: Stopped AP scan as end of AP map has been reached LOG: AP[0]: AHB-AP (IDR: 0x24770011) LOG: AP[1]: JTAG-AP (IDR: 0x02880000) LOG: Iterating through AP map to find AHB-AP to use LOG: AP[0]: Core found LOG: AP[0]: AHB-AP ROM base: 0xE00FF000 LOG: CPUID register: 0x410FC241. Implementer code: 0x41 (ARM) LOG: Found Cortex-M4 r0p1, Little endian. LOG: FPUnit: 6 code (BP) slots and 2 literal slots LOG: CoreSight components: LOG: ROMTbl[0] @ E00FF000 LOG: ROMTbl[0][0]: E000E000, CID: B105E00D, PID: 000BB00C SCS-M7 LOG: ROMTbl[0][1]: E0001000, CID: B105E00D, PID: 003BB002 DWT LOG: ROMTbl[0][2]: E0002000, CID: B105E00D, PID: 002BB003 FPB LOG: ROMTbl[0][3]: E0000000, CID: B105E00D, PID: 003BB001 ITM LOG: ROMTbl[0][4]: E0040000, CID: B105900D, PID: 000BB9A1 TPIU LOG: ROMTbl[0][5]: E0041000, CID: B105900D, PID: 000BB925 ETM LOG: RTT Viewer connected.
DK board light 4 is on, showing that there is only one channel connection。
Whether the above test is the correct routine experiment phenomenon, I think it is wrong. Can you give me a clear explanation, thank you。
2、Power consumption problem:
Referring to relevant information, ant has two working modes, one is 0x00 and 0x10 in the red part, and the other is 0x20 and 0x30 in the green part. Is there any difference in power consumption? Which one has lower power consumption?
3、Shared channel problem
Since I only have one DK board now, but the test in the following figure requires two devices, can I test with only one device? If so, how can I modify the routine?
Looking forward to your reply。