This is an old revision of the document!
CT-Board test
This page shows you how to test your CT-Board.
1) Download
Download CT_Board_Periphery_Test.zip file and unpack it on your machine.
2) Open test project
Open the Folder CT_Board_Periphery_Test and double klick on the CT_Board_Periphery_Test.uvprojx file to open the Keil project.
3) Complie & Flash
Use the first two instructions from the getting started Compile & Debug section to Compile and flash the code on to your CT-Board.
4) Test procedure
4.1) DIP-Switch and LED
4.2) 7 Segment Display
4.3) 7 GPIO Ports 1..4
4.4) GPIO Ports P5/P6
- 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.5) Potentiometer
4.6) HEXSW
Repeat 1. and 2. until all possibilities are checked (0..9, a..f).
4.7) LCD Background Light
The background light of the LCD should cycle through the colors: red, green and blue
- Press the button T0 to T3 and check whether the respective sven-sebment display DS0 to DS4 lights up.
- Switch all Dip-Switches from S0 to S31 up to see if the respective LED LED0 to LED31 lights up.
- Turn the hex-switch P11 and see if the hex value on LCD DISP1 is changing accoringly.
- Turn the Potentiometer POT1 and check if the bar on the LCD is changing.
- Plug a flat ribbon cable from P5 to P6