Hi
I was implementing the SPI functionality with the help of DMA , I found an useful example from daniel
Detailed description says :
Then I modified , it to :
Later I tried to add one more DMA channel to read RDR register value:
Let me know if some more clarification is required from my side
I have attached the project from the reference
解決済! 解決策の投稿を見る。
Hi @KARTHKSARODE,
For the RX channel, there is no need for a periodic trigger.
You can use the normal mode (17.2.3 Modes of operation) and disable the triggerring in DMAMUX_CHCFG.
The minor loop transfer is then triggered by the LPSPI_SR[RDF] flag only.
Which is configurable.by LPSPI_FCR[RXWATER].
Regards,
Daniel
Hi @KARTHKSARODE,
For the RX channel, there is no need for a periodic trigger.
You can use the normal mode (17.2.3 Modes of operation) and disable the triggerring in DMAMUX_CHCFG.
The minor loop transfer is then triggered by the LPSPI_SR[RDF] flag only.
Which is configurable.by LPSPI_FCR[RXWATER].
Regards,
Daniel