safe task on ble device

I was thinking to use mpu to make a "safe task"  that use nrf52840 for the ble NUS comunication and I use  the "safe task" to verify the timeout   and the CRC of the message .

Where i can find some examples that show how to make a protected FLASH and  RAM Ragion  for the "safe task".

Best Regards

Novello G.

Parents Reply
  • Hi Giampiero, 

    You can add CRC to the NUS payload if you want.

    I just want to remind you that the BLE automatically add CRC check to the payload at Link layer already. So it could be redundant on what you are trying to do here. 

    Also note that on nRF52 series we don't have secure and non-secure separation. You can protect an area of Flash from being written. But we don't have an option to make isolated Flash & RAM area for non-secure function. 
    For that you may need to switch to nRF53 and nRF54. 

Children
Related