This is an old revision of the document!
This page shows you how to test your CT-Board.
Open the CT_Board_Periphery_Test.uvprojx Keil project.
Use the first two instructions from the getting started Compile & Debug section to Compile and flash the code on to your CT-Board.
4.1) LCD Background Light
The background light of the LCD should cycle through the colours: red, green and blue

On each display a “moving” LED should be on.

Push a button to perform the test.

All the LEDs on the corresponding display should be on.
Repeat with all 7 segment displays.
4.3) DIP-Switch & LED
4.4) Potentiometer
Turn the potentiometer to the left.
On the LCD the Bar should be “empty”.
Turn the potentiometer to the right.
On the LCD the bar should be “full”.
4.5) HEX-Switch
Turn the HEX-Switch one step.
On the LCD the value should be displayed.
Repeat 1. and 2. until all possibilities are checked (0..9, a..f).
4.6) GPIO Ports P5/P6
This test require a flat ribbon cable, which you will find in the laboratory.
Skip this test if you do not have access to it.

The status of the port is displayed on the LCD.
Insert a flat ribbon cable from P5 to P6.

The LCD should display the testresult for P56 either with an X or with a ✓.
4.7) 7 GPIO Ports 1..4
THIS TEST IS OPTIONAL! It requires additional hardware.
Skip this test if you do not have access to it.

Please make sure the CT-Board is in the correct mode. Supported modes: 1

The status of the port is displayed on the LCD.

Insert the test plug in one of the port and push the corresponding button.

The LCD should dipslay the testresul either with an X or with a ✓.