code size limit for ISR ?

Hi, 

 I am working on a project by using AUuC M320, I got some problems when programming in  I2C(slave mode) ISR, 

First , I would like to find out if there is a code size limit for ISR ?

 

 

David Huang

  • Hi David,

    Did you try to use example programs for I2C Master and Slave? By using these example programs for I2C test, it should work.

    Also, there is no code size limitation for the ISR. When the Slave interrupt occurs, the CPU’s program counter will vector to the interrupt vector address + offset value for the I2C slave as defined in the startup.s file. This address then vectors to a function that implements the ISR for the I2C slave. Thanks!

    Regards,

    AJ