ant_bpwr_rx : Calibration fails on SRM Cranks (ANT_BPWR_CALIB_ID_CTF - Not supported?)

Hi,

I am using the ant_plus/ant_bpwr/bpwr_rx code as a reference to capture power data from an SRM power meter. I am at the point where I get the following messages, which indicate that I can detect the power meter fine, correct versions, manufacturer etc...

<info> ant_common_page_80: hw revision: 20
<info> ant_common_page_80: manufacturer id: 6
<info> ant_common_page_80: model number: 7


<info> app: Page 80 was updated
<info> app: Page 81 was updated
<info> ant_common_page_81: sw revision: 3.13
<info> ant_common_page_81: serial number: 1540


<info> app: Page 81 was updated
<info> ant_bpwr_page_1: ANT_BPWR_CALIB_ID_CTF :ant_bpwr_page_1_decode : Not supported
<info> ant_bpwr_page_1: Calibration id: 16
<info> ant_bpwr_page_1: ANT_BPWR_CALIB_ID_CTF Not supported

However, all I get as a continual feed is from page_1 and calibration events.  I have added some more debug and narrowed it down to the the ANT_BWPR_CALIB_ID_CTF event, and I am not sure what it means by  Not supported. I can see in the ant_bpwr_page_1.c -> ant_bwpr_page_1_decode function there is a reference to, 

case ANT_BPWR_CALIB_ID_CTF:
    NRF_LOG_INFO("Not supported");
    break;

Does this mean the board doesnt support it, or I need to set the calibration_ID manually or ?


As per the documentation:

If you are testing the Bicycle Power Receiver, observe that pressing Button 1 initializes a calibration transaction. The calibration log on the Receiver console should look like this:

I have tried pressing button 1, which sends a message out, but I dont get much further than that before it continues to have the above mentioned not supported message.


Just curious if anyone has got this working with an SRM power meter.

NOTE: I have it working fine with a quarq power meter, so I know the board is ok.

I am using the 17.0.2 SDK as a reference.

regards
-brett

Parents
  • Hi,

    Looking at ANT+_Device_Profile_-_Bicycle_Power_Rev_5.1 I can find there are different sequence diagram for executing the calibration request (0xAA) depending on whether the power sensor is a standard PWR sensor or a CTF sensor.

    Figure 14-2. Calibration Process Sequence Diagram (standard PWR sensors).
    Figure 14-10. Torque Frequency Calibration Process Sequence Diagram (CTF sensor).

    I can also find in the ANT+ device profile it says: "If a display only supports PWR, it shall handle CTF sensors gracefully." So bascially ignore the CTF messages as it is currently doing from I can find.

    For more details response I suggest to reach out to www.thisisant.com 

    Best regards,
    Kenneth

  • Hi Kenneth.

    The issue was more my miss understanding of PWR vs CTF - thanks for the help.

    regards
    -brett

Reply Children
No Data
Related