Hi PetrS,
Thanks for your Answer.
As you advised, I tried to understand the example "adc_swtrigger_mpc5748g"
As a small modification, I tried to display with the UART the value of the result on the Terminal. but I can't do it. I've been trying to figure out how to do this.
Here is the part of the code that I modified:
I just added the "LINFLEXD_UART_DRV_SendData" But it doesn't show me anything on the Terminal
if (result > ADC_THRESHOLD)
{
PINS_DRV_ClearPins(LED_PORT, (1 << LED));
LINFLEXD_UART_DRV_SendData(INST_LINFLEXD_UART1, result, 1u);
}
else
{
PINS_DRV_SetPins(LED_PORT, (1 << LED));
LINFLEXD_UART_DRV_SendData(INST_LINFLEXD_UART1, result, 1u);
}
Thanks