An issue with ARM interrupts revisits.

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Nov 24 08:00:10 UTC 2017


On 23/11/17 18:25, Mr. Andrei Chichak wrote:
> One question though, where can I tap into the OS to figure out what priorities my ISRs are actually using?
>
> If there is something odd with the encoding that ST uses for priorities, I could actually be fighting an issue with CubeMX for F7 that is causing my ISRs to be interpreted as NMIs again.

You can use _ARMV7M_Get_exception_priority() to get the exception 
priority. Vector is from 0 to ARMV7M_VECTOR_IRQ(NVIC max IRQ number).

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the users mailing list