Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

Running ANT examples on PCA10056

Hello everyone,

I would like to run the ANT examples "ant continuous scanning controller" and "ant scan and forward" on my nRF52840DK(PCA10056) boards however it only supports the older PCA10040 board.

How would I go about changing these to support the newer PCA10056?

I have already downloaded softdevice S340 since this is used by the "ant shared channel" example that does support pca10056.

Best regards,

Sam

Parents
  • -- UPDATE --

    I have ported over "ant_scan_and_forward" as well, by using the "ant_message_types" example as a base

     

    So when porting over the scan and forward example I ran into an issue that after sending my on/off command the board's LEDs would turn on very shortly and then instantly off again.

    The default state would always be: LED1 flickers on/off very fast while LED2,3,4 would be off.

     

    This was because old code from my base project "ant_message_types" runs even though it looks to never be called in my main.c

    The file "ant_message_types_master.c" has an NRF_SDH_ANT_OBSERVER present that is initialized on startup and commenting this one out seems to fix the bug. Removing ant_message_types_master.c would cause errors in my file structure, but commenting the entire class works as well.

    Cheers,

    Sam

Reply
  • -- UPDATE --

    I have ported over "ant_scan_and_forward" as well, by using the "ant_message_types" example as a base

     

    So when porting over the scan and forward example I ran into an issue that after sending my on/off command the board's LEDs would turn on very shortly and then instantly off again.

    The default state would always be: LED1 flickers on/off very fast while LED2,3,4 would be off.

     

    This was because old code from my base project "ant_message_types" runs even though it looks to never be called in my main.c

    The file "ant_message_types_master.c" has an NRF_SDH_ANT_OBSERVER present that is initialized on startup and commenting this one out seems to fix the bug. Removing ant_message_types_master.c would cause errors in my file structure, but commenting the entire class works as well.

    Cheers,

    Sam

Children
No Data
Related