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.

TMS320F28234: Make XINTF interruptible

Part Number: TMS320F28234

Hi

I have a fast timer-interrupt. Unfortunately, I have a jitter on this, because the idle loop has an access to a slow external device via XINTF (only a word is readden). It seems the read access is blocking the cpu for any interrupts. For write operations I could solved my problem by enabling the writebuffer from the XINTF. For read operations, the problem is still present.

Is there a good way to make the access via XINTF interruptible?
Perhaps when the access is made via DMA and the CPU polls only a flag and wait for finished? If this is a possibility, is there a code example?

  • Hi Peter,

    You are right. During READ operations CPU is non interruptible. Also there is not a busy flag to know if XINTF is busy. Only way to do this is by checking the DMA channel status which is doing the transfer via XINTF and if the transfer is done then only access the XINF from CPU. It could be long wait though depending on number of transfers DMA is programmed for.

    Regards,

    Vivek Singh