eDMA delay

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

eDMA delay

779 Views
jej31000
Contributor I

Hello,

 

I'm trying to develop an application with the eDMA of the MPC5554.

I have to do a delay between the request send by the eDMA but I don't know how to do.

My application is an ADC (external of the MPC5554) commanded with a DSPI of the MPC5554.

Is it possible to do a delay between 2 commands?

 

Thank you for your help

 

jérémy

Labels (1)
0 Kudos
2 Replies

321 Views
Hawkeye
Contributor III

Maybe you could add the delay in the dspi module.  In the ColdFires you can have the spi insert delays between chip select assertion and clock and between transfers.

0 Kudos

321 Views
jej31000
Contributor I

Thank you for the answer.

 

Do you talk about the parameters ASC and CSSCK of the DSPI_CTAR register?

I'm going to try this possibility.

 

I have an other question with the DMA. To have the DMA running all the time ( to do the conversions all the time in my application), what does we have to do?

In my idea, there is field "slast" to start again at the beginning adress and the field "d_req" not to disable the TCD when done to configure correctly. Is there other fileds to change?

 

kind regards

 

jérémy

0 Kudos