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

FX2 external interrupt 5

Hello

I'm developing an application on the Cypress CY7C68013 USB controller. How can I enable and manage the INT5 interrupt? In all my tries, when the interrupt occurs (falling edge on the pin), the firmware freezes.
Which function does the code call when the interrupt occurs?

Thanks

Parents
  • I know that is the 8051 hardware that cause the execution to jump to the vector location, but this in the .c template code is an abstraction represented by a group of ISR functions (i.e. ISR_Ep0in, ISR_Ep0out, ecc.) that are automatically called when an interrupt occurs. Obviously, once compiled the corresponding opcode is mapped at the right addresses in program memory.
    The problem is that the INT5 is not present in the standard 8051, nor in the template code, and every example I found are just about USB interrupts of the Cypress chip.

Reply
  • I know that is the 8051 hardware that cause the execution to jump to the vector location, but this in the .c template code is an abstraction represented by a group of ISR functions (i.e. ISR_Ep0in, ISR_Ep0out, ecc.) that are automatically called when an interrupt occurs. Obviously, once compiled the corresponding opcode is mapped at the right addresses in program memory.
    The problem is that the INT5 is not present in the standard 8051, nor in the template code, and every example I found are just about USB interrupts of the Cypress chip.

Children