Programming a nRF52810 (BL651 module) using nRF Connect for Vscode and nRF52-dk

Hi,

I'm using the nRF52-DK to program a BL651 Module (nRF52810). To confirm things work as intended I'm starting with the blinky sample. I've set up an emulated project by selecting "nrf52dk_nrf52810" as a board. The blinky sample works exactly as expected on the nRF52-DK's built in nRF52832 chip.

I then hooked up the BL651 module to P20 on the DK board and was able to successfully flash the blinky sample onto the BL651 (The BL651 was hooked up to external LED for testing). The problem is, the LED is flashing almost exactly 32 times slower than expected - Instead of toggling once every second, it toggles once every 32 seconds). 

After some more digging, I found on the info center under "Developing for nRF52810" that I need to do a few things to transfer this emulated project to run on an nRF52810. The page states: 

"In your IDE, remove the DEVELOP_IN_NRF52832 and NRFX_COREDEP_DELAY_US_LOOP_CYCLES defines from the compile flags." I assume this is the cause of my much slower LED blinking.

I'm new to nRF development and am having a very difficult time finding where I can find these defines. I would really appreciate any help that can point me in the right direction.

To recap:

1. Is the cause of my slower LED blinking the fact I haven't removed said compile flags?
2. How can I remove these compile flags in nRF connect for vscode?

Parents Reply Children
No Data
Related