This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can we use same peripheral in secure and non secure world simultaneoulsy ?

Hi,

Can we use a particular device in secure and non secure mode simultaneously without switching between modes?

Can it be done by by configuring/partitioning the address space of device ?

Thanks,

Sahil Malhotra

Parents
  • Yes. of course.

    Usually when the memory regions are setup you would assign a certain address of the peripheral to secure and a different address to non secure access

    There is no "switching" involved. The processor executes and does the access based on the address at hand which is what makes TrustZone for ARMv8-M suited for embedded applications 

    it is highly recommended to use this separate address for secure and non secure access to a peripheral to simplify the design from a sw perspective 

Reply
  • Yes. of course.

    Usually when the memory regions are setup you would assign a certain address of the peripheral to secure and a different address to non secure access

    There is no "switching" involved. The processor executes and does the access based on the address at hand which is what makes TrustZone for ARMv8-M suited for embedded applications 

    it is highly recommended to use this separate address for secure and non secure access to a peripheral to simplify the design from a sw perspective 

Children