Example MPC5748G eMIOS BCTU ADC trigger S32DS2.1

Document created by Petr Stancik Employee on Nov 5, 2019
Version 1Show Document
  • View in full screen mode

********************************************************************************
* Detailed Description:
*
* Example shows how to trigger ADC conversion on falling edge of PWM signal.
* eMIOS ch1 is set to SAIC mode and a flag generated on selected edge detection
* triggers BCTU channel which starts conversion of ADC1 ch9. On this channel
* the board's trimmer is connected.
*
* EVB connection:
*
* J3.1 .. PA[1] - connect external PWM signal
* J3.3 .. PA[2] - toggled in BCTU interrupt after ADC measurement
*
* ------------------------------------------------------------------------------
* Test HW: DEVKIT-MPC5748G
* Maskset: 0N78S
* Target : FLASH
* Fsys: 160 MHz PLL
* Debugger: Lauterbach
*
********************************************************************************
Revision History:
1.0 Nov-5-2019 Petr Stancik Initial Version

*******************************************************************************/

Outcomes