Post Go back to editing

Interrupt Self-Nesting in CCES

According the page 4-35 of SHARCRegistered Processor Programming Reference (Includes ADSP-2136x, ADSP-2137x, and ADSP-214xx SHARC Processors Revision 2.2 March 2011) ADSP-21489 has Interrupt Self-Nesting.

Can I use it in C/C++ CCES?

For http://ez.analog.com/thread/19118 solution I can change super fast interrupt dispacther.

Example

I have the timecore interrupt with using the alternate (secondary) register set and interrupt nesting is disabled.

The timecore interrupt raise the software interrupt with using the main register set and interrupt nesting is enabled.

So I have OS which is free of charge.

Parents
  • JamesH wrote:

    If you use adi_int to install your interrupt handler then you cannot use JUMP (CI) as part of that handler, as it will impact the return sequence of the interrupt dispatcher and the correct operation of the CCES interrupt support.

    It would be nice if ADI develop the interrupt handler which use jump (CI).

    For example.

    The timecore interrupt raise every 20us and it raise the software interrupt 0 with enabling of nesting interrupt.

    The software interrupt 0 has the branched code and be delayed to execute the series of the high priority interrupts. So it make the situation when the one of the software interrupt 0 may be loose because the processor clear the interrupt bit in the register IRPTL. So I need to develop tools for decision of this problem.

Reply
  • JamesH wrote:

    If you use adi_int to install your interrupt handler then you cannot use JUMP (CI) as part of that handler, as it will impact the return sequence of the interrupt dispatcher and the correct operation of the CCES interrupt support.

    It would be nice if ADI develop the interrupt handler which use jump (CI).

    For example.

    The timecore interrupt raise every 20us and it raise the software interrupt 0 with enabling of nesting interrupt.

    The software interrupt 0 has the branched code and be delayed to execute the series of the high priority interrupts. So it make the situation when the one of the software interrupt 0 may be loose because the processor clear the interrupt bit in the register IRPTL. So I need to develop tools for decision of this problem.

Children
No Data