Non-secure peripheral with a secure interrupt handler

Hi,

I was wondering if it was possible to configure a peripheral to be in non-secure mode and have the interrupt handler associated with the peripheral run in secure mode?

Basically by not setting the appropriate bit in NVIC_ITNSn.

Best,

Rajiv

Parents
  • It is technically possible to configure a peripheral as Non-secure and its interrupt as Secure, but in some cases this might be undesirable - e.g. a Non-secure software could trigger lots of Secure interrupt and this might affect the quality of service of other Secure operations. Or in other way round, a Secure software process might be waiting for an interrupt for the peripheral and the Non-secure software disabled the peripheral, which means the Secure software process would be stuck. Whether this is a problem or not depending on the nature of the peripheral.

    regards,

    Joseph

Reply Children