EIM registers cannot be accessed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

EIM registers cannot be accessed

Jump to solution
2,010 Views
Janeting123
Contributor I

When I try to inject faults using EIM, whenever the code accesses the EIM register (read or write), it will enter BusFault. At the same time, when I use the Jtag simulator to observe, I find that EIM is not read, while other registers are OK. Is there any special operation required when accessing the EIM register? I checked RM and I think I meet these conditions. Why can't even the debugger see the register value?

0 Kudos
Reply
1 Solution
1,977 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The reason is simple. You do not have clocks enabled for EIM in your uC.

petervlna_0-1728991544468.png

Please refer to the reference manual: chapter 46.1.5 Peripheral clock gating

petervlna_1-1728991597411.png

Best regards,

Peter

 

View solution in original post

0 Kudos
Reply
1 Reply
1,978 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

The reason is simple. You do not have clocks enabled for EIM in your uC.

petervlna_0-1728991544468.png

Please refer to the reference manual: chapter 46.1.5 Peripheral clock gating

petervlna_1-1728991597411.png

Best regards,

Peter

 

0 Kudos
Reply