Example MPC5748G eMIOS BCTU ADC trigger S32DS2.1

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

Example MPC5748G eMIOS BCTU ADC trigger S32DS2.1

Example MPC5748G eMIOS BCTU ADC trigger S32DS2.1

********************************************************************************
* 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

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

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1100463%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20eMIOS%20BCTU%20ADC%20trigger%20S32DS2.1%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1100463%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3CBR%20%2F%3E*%20Detailed%20Description%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20Example%20shows%20how%20to%20trigger%20ADC%20conversion%20on%20falling%20edge%20of%20PWM%20signal.%3CBR%20%2F%3E*%20eMIOS%20ch1%20is%20set%20to%20SAIC%20mode%20and%20a%20flag%20generated%20on%20selected%20edge%20detection%3CBR%20%2F%3E*%20triggers%20BCTU%20channel%20which%20starts%20conversion%20of%20ADC1%20ch9.%20On%20this%20channel%3CBR%20%2F%3E*%20the%20board's%20trimmer%20is%20connected.%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20EVB%20connection%3A%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20J3.1%20..%20PA%5B1%5D%20-%20connect%20external%20PWM%20signal%3CBR%20%2F%3E*%20J3.3%20..%20PA%5B2%5D%20-%20toggled%20in%20BCTU%20interrupt%20after%20ADC%20measurement%3CBR%20%2F%3E*%3CBR%20%2F%3E*%20------------------------------------------------------------------------------%3CBR%20%2F%3E*%20Test%20HW%3A%20DEVKIT-MPC5748G%3CBR%20%2F%3E*%20Maskset%3A%200N78S%3CBR%20%2F%3E*%20Target%20%3A%20FLASH%3CBR%20%2F%3E*%20Fsys%3A%20160%20MHz%20PLL%3CBR%20%2F%3E*%20Debugger%3A%20Lauterbach%3CBR%20%2F%3E*%3CBR%20%2F%3E********************************************************************************%3CBR%20%2F%3ERevision%20History%3A%3CBR%20%2F%3E1.0%20Nov-5-2019%20Petr%20Stancik%20Initial%20Version%3C%2FP%3E%3CSPAN%3E%20%3C%2FSPAN%3E%3CP%3E*******************************************************************************%2F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1100463%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎11-05-2019 04:23 AM
Updated by: