SPC570s ADC initializing
Main target is to send an ADC-value to the CAN-BUS.
I took the SPC570xx_RLA CAN Test Application for Discovery
Modified Pin Settings:

in main.c I tried to initialize and use the ADC:

Without ADC-code CAN example works fine.
But if I try to get Access to the ADC-regs, System crashes:

The system always stays at the _IVOR1 after SAR_ADC_12BIT_B0.xxxxx = x command.
My hardware is the SPC570S-DISP-Board.
What do I wrong?
#adc #spc570s #spc570s-adc