This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

C6713 Interrupts & writes to internal RAM

All:

A question was raised in a meeting regarding interrupts and whether a 32-bit write to IRAM would complete prior to interrupt being kicked off...

That brings up a larger question - suppose I have a lower level interrupt executing, and it is interrupted by a higher level interrupt. If that lower level interrupt was writing a value to RAM, what is the probability of that RAM value being corrupted by the action of a higher level interrupt.

The product that I have been involved with has all data mapped to internal RAM, so the question would be whether a write to internal RAM could be adversely affected by an interrupt.

  • HI Todd,

    Thanks for your post.

    Usually, the processor won't allow an interrupt service routines to be interrupted by any other interrupt before it completes, but at some times, if any high priority NMI interrupts, it needs to be serviced immediately. So, it allows nested interrupts under software control but there are some initial action needs to be undertaken in addition to its normal interrupt fucntionality.

    Please refer Nested interrupts (Section 5.6.2) in the C67x+ CPU instruction set reference guide as shown below:

    http://www.ti.com/lit/ug/spru733a/spru733a.pdf

    Thanks & regards,

    Sivaraj K

    ------------------------------------------------------------------------------------------------------- 
    Please click the Verify Answer button on this post if it answers your question.
    -------------------------------------------------------------------------------------------------------