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.

RM48 DMA IT on timeout

Hi,

We are working on RM48 dma. We don't find a mode where is possible to receive a DMA IT on  timeout.

Our problem, we want to set a dma for a sci reception. But we use a serial protocol with variable lenght.

We need to have a DMA interrupt if the DMA has some data pending after a timeout.

Actually we have the feeling that the DMA interrupt receive is raised only when the channel is full and transferred or transferring (conf choose).  

Can you confirm  ?

  • Zanzibar,

    I am not sure if what you are looking for is supported. I am forwarding your request to a DMA expert so that this can be confirmed.

    - Forum support

  • Hi Zanzebar,

    The DMA does not have the time out feature built in, but our PCR (peripheral Central Resource Controller) has the timeout feature built-in.  A bus master accessing the PCR to peripheral like SCI will receive a time out error if the SCI peripheral is hung.  It will return bus error to the bus master in this case can be a DMA.

  • Hi Zanzebar,

    Reading your message the second time, i feel a bit confused and hence would like to clarify with you.

    The SCI will send interrupt as long as it receives a new data.  Another word, the SCI will interrupt on individual data even your serial message is in variable length.  

    Thus, your concern is the DMA channel not responding to the SCI dma interrupt and want a time out? or your concern is that the DMA does not receive interrupt from SCI and want a time out?

    Please correct my understanding if i am wrong.  

  • Zanzebar,

    Is your issue resolved?

    - Forum support