Hello,
now, we have one data signal line from other MCU to connect MPC5744 pin E13, I want to etimer0 CH5 as input data channel, and use DMA to read and caputure the data, so could you have example how to config the DMA, etimer, PIT...?
Thank you.
Hi,
the example codes you are requiring can be found here:
https://community.nxp.com/docs/DOC-329623
Peter
Hello Peter,
I seem there are more example for using on DMA, but them are not match my design, my opinion we only use the one input data to be read by DMA channel, and maybe we will use DMA interrtupts to check and calculation the data due to the data is not standard fromat(don't like SPI,UART,I2C...).
another, we want to use one IO port to config both input and output, that means the IO port will send some data to other MCU and waiting to receive ACK from other MCU immediately by DMA. I don't know how to setup the IO.
thank you.
Richard
Hello Richard,
Fist of all, your explanation makes no sense to me.
The example how to configure DMA and SIUL2 unit are in example list. Have in mind those are only examples and will never exactly fir the customer target application.
Could you write it in English so I can understand what you are trying to achieve?
Peter