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

Need to select nRF52832 Peripheral example code

Hello,

 

I am new to Nordic and started using nRF52832. We started a new project. It requires

 

  1. Act as Peripheral (Single role) only.
  2. Only Advertisement for 3 minutes (Limited Discovery) when button is pressed.
  3. Sleep and wakeup based on configuration (It can be between 1 min to 30 min).
  4. After wakeup, write data into Flash.
  5. SPI, I2C interface.
  6. Establish BLE connection to read data from Flash.
  7. Image up-gradation over BLE.

 

I saw couple of BLE Peripheral example codes.

My queries are:

  1. Whether can I use “ble_app_template”. Already it occupies 246.2 KB.
    1. Since only Peripheral, whether can I optimize by disabling some macros. 246.2KB Flash for Peripheral is bit huge.
    2. To my understanding I cannot cross 256KB as remaining 256KB is use for Image up-gradation.
  2. For time being I am planning to use “System ON” low power mode. Whether can I use RTC timer for this. Any reference for using RTC as “System ON” mode ?
  3. For I2C & SPI interface do I need to add files from Peripheral example code. My worry is difference between SoftDevice Enabled/Disable example code. Whether can I add those files directly into 'ble_app_template' project.
  4. Other than “ble_app_template”, is there any other better application to meet my above requirements or this should be fine ?

Please let me know your thoughts.

Thanks & Regards

Vishnu Beema

Related