Equipment:
- PCA10028, latest Segger FW flashed.
- Keil uVision MDK-Lite Version 5.17.
- Toolchain V5.06 update 1 (build 61), all ARM (Armcc, Armasm..)
- NRF DK Version 10, Zip file version, no Keil packs used.
- Demo code from \examples\ant\ant_plus\ant_bpwr\bpwr_tx\wheel_torque\button\pca10028\arm5_no_packs
- All code compiles, links and uploads fine without any errors or warnings.
Issue:
I can see the RPM, power, torque values in the data pages 16 and 17 on the serial debug console. BUT any connected bike computer shows just RPM, but power is always shown as zero. The example from SDK version 9 did work, but that was so different structured that I was not yet able to oversee the SDK version 10 example code. All configurations are as they are in the example except that I did:
#define SENSOR_TYPE (TORQUE_WHEEL) // WEB: we build a powermeter hub, thus TORQUE_WHEEL
which seems to be not necessary as it is also defined in the project options.
I used ANTwareII to see what is transmitted and get something like this:
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-1E-7C-00-06-03-2C-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-1F-7D-00-06-03-36-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-20-7E-00-06-03-40-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-21-7E-00-06-03-4A-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-10-E5-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-22-7F-00-06-03-54-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-23-80-00-06-03-5E-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-24-80-00-06-03-68-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-25-81-00-06-03-72-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-10-E6-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-26-81-00-06-03-7C-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-27-82-00-06-03-86-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-28-83-00-06-03-90-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-29-83-00-06-03-9A-AF
Received BROADCAST_DATA_0x4E
:: 4e, 00-10-E7-00-00-00-00-00-00
Received BROADCAST_DATA_0x4E
:: 4e, 00-11-2A-84-00-06-03-A4-AF
Is there any tool to "translate" this into something more readable ?
Any help in getting this resolved is very appreciated..