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

Porting BLE Serialization to STM32

Hi,

I would like to integrate BLE serialization with a nrf52832 and S132 soft device in a STM32 project.

I tried to identify which parts of the heart rate sensor example project are necessary for the application part and which are device specific, but I failed.

Is there any documentation about this I have overlooked or some kind of template project?

Thank you

Parents
  • I too am attempting to port a serialization example into an STM32F4 project with little success. Files in the IAR project nRF_Serialization group call into fds.c and fstorage.c which don't appear to be serialized, they reference on-chip SOC resources for flash storage.

  • fds.c and fstorage.c are the 2 files to which I refer. The peer_manager subsystem depends on fds and fstorage for keeping peer information non-volatile. fstorage in particular uses nRF registers to save to the flash rather than serializing and sending the information to the connectivity chip. The call chain in peer_manger_init() -> pm_init()->fds_init() -> fs_init() -> FS_PAGE_END_ADDR (macro) ->fs_flash_page_end_addr() -> NRF_UICR->NRFFW(0)....

Reply
  • fds.c and fstorage.c are the 2 files to which I refer. The peer_manager subsystem depends on fds and fstorage for keeping peer information non-volatile. fstorage in particular uses nRF registers to save to the flash rather than serializing and sending the information to the connectivity chip. The call chain in peer_manger_init() -> pm_init()->fds_init() -> fs_init() -> FS_PAGE_END_ADDR (macro) ->fs_flash_page_end_addr() -> NRF_UICR->NRFFW(0)....

Children
No Data
Related