Hello.
I got some question for MPC5777c and eTPU resolver.
1. SDADC
I want to get Resolver's SIN and COS signal through this process : SDADC -> eDMA -> eTPU.
There are SDADC_0, SDADC_1, SDADC_2, SDADC_3 eDMA_B channel request allocation on MPC5777c Reference Manual .
hanryang_3-1729728631181.png
There are SDADC_1, SDADC_2, SDADC_3, SDADC_4 trigger inputs on MPC5777c Reference Manual .
hanryang_1-1729728617744.png
hanryang_5-1729729787536.png
Source Code doesn't have SDADC_0.
Q1.
Why are the numbers of SDADC modules different when used as "SDADC trigger inputs" and when used in "eDMA_B channel request allocation"?
Q2.
In this case, SDADC -> eDMA -> eTPU Which SDADC_x, SDADC_y should I use to get the SIN and COS signals of the resolver through this process?
2.eTPU resolver ATO Channel Setting
I'm trying to apply eTPU Resolver for my SW.
The code in the figure below is included in etpuRDCCUG.pdf.
hanryang_4-1729728804693.png
ETPU_RESOLVER_ATO_CHAN /* chan_num_dma - etpuA1 generate dma request on channel DMA_A 28 */
Q3.
Does this code mean that I need to use dma to access etpu to use ATO?
Thanks for always helping me.
Have a great day.