This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Questions related to nrf52811 porting

Dear nordic,

I have an application that developed using development kit pca10056. I want to change it to supporting nRF52811.  I want to test the long-range feature of nrf 52811.

I have modified "ble_app_beacon_c" examples to support CODED_PHY (i.e. long-range) communication coding

nrf5281I have a little bit of confusion about the following points. https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.3.0%2Fnrf52811_user_guide.htmll

I am using SDK 16.0.0 and s140.

1. Add the DEVELOP_IN_NRF52840 define to the compile flags. Adding this define will add extra code in SystemInit needed for nRF52840.

=> In which file I have inserted  DEVELOP_IN_NRF52840 define to the compile flags?

2. Add the NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3 define to ensure correct timing when using nrf_delay_us function

=> In which file I have inserted NRFX_COREDEP_DELAY_US_LOOP_CYCLES=3 define?

3. What will be RAM and ROM configuration settings for nrf 52811 using Keil IDE?

4. I have a custom board using nrf 52832. According to the manual, both socs have the same pin map, and as far as I understood, both socs should work fine in the same board if two have the same pin map.  I want to know that if I replace nrf52832 on our custom board with nrf52811 does it work fine?

  • Hi

    1. This would be in your preprocessor definitions. Keep in mind that this should only be added to emulated projects, so you need to remove it once you are going to flash the application onto an actual nRF52811.

    2. I think you're looking at the "creating your own emulated project" section of this chapter. The DEVELOP_IN_NRF52840 and NRFX_COREDEEP_DELAY_US_LOOP_CYCLES=3 should not be included in your nRF52811 project. Please look at the steps below Transferring the project to nRF52811 hardware.

    3. This is stated in the transfer to nRF52811 steps. ROM END should be 0x2FFFF and RAM END should be 0x20005FFF. You can also check out our RAM and Flash memory guide on what the RAM and ROM start/size addresses should be for various SoftDevice versions.

    4. Yes, the nRF52832 is pin-compatible with the QFN48 package of the nRF52811, so they should work on the same board. Keep in mind that BLE 5.1 features like direction-finding using AoA and AoD will require additional HW however.

    Best regards,

    Simon

Related