Example MPC5777C eMIOS-eQADC Continuous external trigger mode GHS614

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

Example MPC5777C eMIOS-eQADC Continuous external trigger mode GHS614

Example MPC5777C eMIOS-eQADC Continuous external trigger mode GHS614

********************************************************************************

* Detailed Description:

*

* eQADC mode: Continuous scan with external trigger.

* Periodic trigger from eMIOS_0 ch16.

* ANA ch5 is converted and result is sent to RFIFO0.

*

* eMIOS ch0 duty cycle is modified based on result data, so LED is dimming

* if connected to eMIOS ch0 output.

*

* ADC result is also displayed on terminal each second.

*

* ------------------------------------------------------------------------------

* Test HW:         MPC5777C-512DS Rev.A + MPC57xx MOTHER BOARD Rev.C

* MCU:             PPC5777CMM03 2N45H CTZZS1521A

* Fsys:            PLL1 = core_clk = 264MHz, PLL0 = 192MHz

* Debugger:        Lauterbach Trace32

* Target:          internal_FLASH

* Terminal:        19200-8-no parity-1 stop bit-no flow control on eSCI_A

*           use USB connector (J21) on minimodule

*

* EVB connection:  ETPUA30 (PortP P23-15) --> USER_LED_1 (P7-1)

*                  ETPUA31 (PortP P23-14) --> USER_LED_2 (P7-2)

*

*           eMIOS ch0 (PortG P14-16)--> USER_LED_4 (P7-4)

*                  ANA0       (PortQ P24-5) --> RV1 (J53.1)

*

********************************************************************************

Labels (1)
Attachments
No ratings
Version history
Last update:
‎04-20-2016 03:34 AM
Updated by: