I am trying to configure the ADC on S32K144 that came with MCSPTE1AK144 motor control development kit to read the back EMF signal, along with the DC voltage and DC current signals. My approach is to control the ADC1 via PDB1 pre-trigger, configured as shown below. However I am getting zero readings for the back EMF signal.
I am able to read signals Voltage_DC_count and Current_DC_count, but the signal Back_EMF_A_count is always reading zero. This is incorrect, because the phase A back EMF signal on my scope looks as expected.
I use these versions of software:
MATLAB R2020a Update 7
NXP_MBDToolbox_S32K1xx 4.2.0
I appreciate any help on this issue. Thank you.