MPC5676R ASAC function

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

MPC5676R ASAC function

526 Views
jangpr
Contributor I
I am using the MPC 5676R product. I am trying to use the ASAC function. I want to know how to set which channel to use for ADC. If possible, I would like to know if I should touch this eQADC_cmds_current_measurements inside the int32_t fs_etpu_asac_init(...) function. Taking the above-mentioned explanation as an example, I want to ADC the values coming through the ANA6, ANA7, ANB17, and ANB11 ports using ASAC.
0 Kudos
1 Reply

515 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

As you can see on the attached screenshot, interaction between eTPU and eQADC is provided by eDMA, so you can configure whichever channels you would like.
But there is only one trigger signal (selectable by SIU_ISEL4–7) what limits ADC channels to one eQADC module i.e. either eQADC_A or eQADC_B.

ASAC_eTPU_eDMA_eQADC.png

0 Kudos