
DEMO9S12PFAME User's Manual
5 Operating Modes
5.1 Overview
The Demonstration Board can work in two modes: “standalone” mode and “host” mode.
5.2 Standalone Mode
In standalone mode, no PC connection is required. The microcontroller is factory programmed
with a sample application.
To run the built-in example:
1.
Ensure that the light sensor “ENA” jumper is inserted.
2.
Ensure that all of the “LED ENA” jumpers are inserted.
3.
Ensure that the two push-button “ENA” jumpers are inserted.
4.
Ensure that the “RS-232/LIN SEL” jumper selects the “RS-232” position.
5.
Ensure that the “POWER SEL” jumper selects the “UNREG” position.
6.
Power on the Demonstration Board through the 12 V DC plug-in power supply.
7.
The green “POWER” LED on the board should turn on.
8.
Press the “PP0” push-button. Rotate the potentiometer. Its value will be shown on the
LEDs.
9.
Press the "PP1" push-button. The output of the light sensor will be displayed on the
LEDs.
10. The value of the potentiometer or the light sensor is also sent to the RS-232 port (baud
rate = 9600, data bits = 8, parity = N, stop bits = 1).
5.3 Host Mode
In host mode the program execution is controlled by the host PC through the “USB” connector.
You can use the PC to debug the application by, for example, executing the program step by
step and watching how the microcontroller registers vary, using the provided CodeWarrior
Development Studio.
Page 15