K66 : How to recognize a Flexbus bus error ?

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

K66 : How to recognize a Flexbus bus error ?

1,009 Views
koichisakagami
Contributor II

Dear community,

I am checking a Flexbus specification with the Reference Manual .


It is described in the External Bus Interface (FlexBus) chapter
that some types of accesses cause a transfer to terminate with a bus error.

I hope to detect (recognize) the bus errors on Flexbus bus.


[Question]
        I think that I can detect the bus error,as the bus error cause the Bus Fault interrupt.
        Is my understanding currect ?

       Best Regards,
       Koichi Sakagami

Labels (1)
0 Kudos
3 Replies

791 Views
koichisakagami
Contributor II

Dear XiangJun ,

Thank you for reply.

I checked the FlexBus Bus error.

And I confirmed that the FlexBus Bus error generates the hardware fault interrupt .

Thank you for your information.

And

I hope to get the register information  to determine the Flexbus Bus errors occurrence in hardware fault interrupt handler.
What kind of status register bit does indicate the Flexbus Bus errors occurrence ?
Or is it impossible to determine the Flexbus Bus errors occurrence by register status ?

Best Regards,

Koichi Sakagami

0 Kudos

791 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Koichi,

I do not think theer is error status for the FlexBus error, so it is impossible to determine the Flexbus error occurrence by register status.

BR

Xiangjun Rong

791 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,  Koichi,

The FlexBus module is a peripheral module, if a FlexBus error heppens, I think the hardware fault interrupt (index 3) will be triggered. As a test, you can generate FlexBus error, in the case, if you do not define the ISR, the Kinetis will execute the line:

  b    DefaultISR

You can check the Low 8 bits of xPSR in debugger, which is ISR_NUMBER

Hope it can help you

BR

XiangJun Rong

0 Kudos