I see source code "MTRCKTSPS5744P_SW"
but, i don't know what variable ADC result data is saved.
When i was watching ADC Example(served from S32 Design Studio),
ADc result data was saved at "ADC_1.CDR[6].B.CDATA"(See below Picture)
please answer me.
Thank you.
Hi,
This is quite complex for understanding without deeper knowledge.
Data in this PMSM system are measured by ADC which is operating in CTU mode.
Measured data from ADC result register are stored in CTU FIFO buffer automatically by HW on conversion done valid flag.
From CTU FIFO data are processed to MCLib (yellow blocks).
So in short, you can find you data in CTU FIFO.
regards,
Peter
Thank you for your answer.
But, I still have question.
Although I was searching "CTU FIFO Buffer(FIFO Right Aligned Data Register)" as your talk, I can't find it in a source code.
I have plan to erase All code except Register initiation. Because I will rewrite a code in my style.
So, I have to know how i read and use ADC result from CTU FIFO.