This is an old revision of the document!


CT-Board test

This page shows you how to test your CT-Board.

Download CT_Board_Periphery_Test.zip file and unpack it on your machine.

Open the Folder CT_Board_Periphery_Test and double klick on the CT_Board_Periphery_Test.uvprojx file to open the 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) DIP-Switch and LED

Switch all dip-switches to the active position. All LED should be on, 4 “moving” LEDs should be off.

Switch all dip-switches to the inactive position. All LEDs should be off, 4 “moving” LEDs should be on.

4.2) 7 Segment Display

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) 7 GPIO Ports 1..4

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 ✓.

4.4) GPIO Ports P5/P6

  1. The status of the port is displayed on the LCD.
  2. Insert a flat ribbon cable from P5 to P6.
  3. The LCD should display the testresult for P56 either with an X or with a ✓.

4.5) Potentiometer

  1. Turn the potetiometer to the left.
  2. On the LCD the Bar should be “empty”.
  3. Turn the potentiometer to the right.
  4. On the LCD the bar should be “full”.

4.6) HEXSW

  1. Ordered List Item Unordered List ItemTurn the HEX-Switch one step.
  2. Ordered List ItemOn the LCD the value should be displayed.

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

  1. Press the button T0 to T3 and check whether the respective sven-sebment display DS0 to DS4 lights up.
  2. Switch all Dip-Switches from S0 to S31 up to see if the respective LED LED0 to LED31 lights up.
  3. Turn the hex-switch P11 and see if the hex value on LCD DISP1 is changing accoringly.
  4. Turn the Potentiometer POT1 and check if the bar on the LCD is changing.
  5. Plug a flat ribbon cable from P5 to P6
  • software/start/ct_board_test.1693903853.txt.gz
  • Last modified: 2023/09/05 08:50
  • by frtt