Aligned Memory Access Question


Does unaligned memory access result in an error on the BSOMs? I have tried running the following example and it seems to run fine, but want to make sure.

I believe that should cause a hard fault for an unaligned access on the B SoM, or any nRF52840, or ARM processor for that matter.

Doesn’t seem to trigger even after hundreds of loops thru the example.

I think I will update my code to be 4 byte aligned just in case.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.