Hello,
I am new to Nordic and started using nRF52832. We started a new project. It requires
- Act as Peripheral (Single role) only.
- Only Advertisement for 3 minutes (Limited Discovery) when button is pressed.
- Sleep and wakeup based on configuration (It can be between 1 min to 30 min).
- After wakeup, write data into Flash.
- SPI, I2C interface.
- Establish BLE connection to read data from Flash.
- Image up-gradation over BLE.
I saw couple of BLE Peripheral example codes.
My queries are:
- Whether can I use “ble_app_template”. Already it occupies 246.2 KB.
- Since only Peripheral, whether can I optimize by disabling some macros. 246.2KB Flash for Peripheral is bit huge.
- To my understanding I cannot cross 256KB as remaining 256KB is use for Image up-gradation.
- 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 ?
- 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.
- 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