3.11.4 Potentiometer
A potentiometer is provided on board, to simulate a general-purpose analog signal feed to the microcontroller. As highlighted
in the ADC routing options shown in
, it can be mapped to either PAD4 (channel 4 of module ADC0)
or PAD7 (channel 2 of module ADC1).
The Potentiometer is enabled by placing a jumper on header J30, providing 5 V from the analog supply, VDDA, to one end
of the potentiometer while the other end is grounded. To map the potentiometer to PAD4, a jumper must be placed on J47,
from pin 2 to pin 3. To map it to PAD7, a jumper must be placed from J51 pin 2 to J42, instead.
Figure 27. Potentiometer configuration options
4 Motor Control Kit Board Set-Up
The S12ZVML12EVBLIN is also available as part of a motor control kit that includes a 3-phase BLDC motor, along with the
application code to run the BLDC motor with sensorless control using Back-EMF zero-crossing detection. The Motor
Control Kit based on the S12ZVML128 MCU can be ordered at
http://www.freescale.com/AutoMCDevKits
.
Motor Control Kit Board Set-Up
S12ZVM12EVB Evaluation Board User Guide, Rev. 2, 03/2016
Freescale Semiconductor, Inc.
29