Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:start:ct_board_test [2023/09/05 09:09] – frtt | software:start:ct_board_test [2023/09/08 07:38] (current) – frtt | ||
---|---|---|---|
Line 5: | Line 5: | ||
===== 2) Open test project ===== | ===== 2) Open test project ===== | ||
- | Open the Folder CT_Board_Periphery_Test and double klick on the CT_Board_Periphery_Test.uvprojx | + | Open the CT_Board_Periphery_Test.uvprojx Keil project. |
===== 3) Complie & Flash ===== | ===== 3) Complie & Flash ===== | ||
Line 11: | Line 11: | ||
===== 4) Test procedure ===== | ===== 4) Test procedure ===== | ||
- | {{: | + | {{: |
- | === 4.1) DIP-Switch | + | === 4.1) LCD Background Light === |
+ | <WRAP box round 1000px left> | ||
+ | The background light of the LCD should cycle through the colours: red, green and blue | ||
+ | </ | ||
+ | <WRAP clear></ | ||
+ | |||
+ | === 4.2) Button & 7 Segment Display === | ||
+ | <WRAP col1 box round 1000px lef> | ||
+ | <WRAP 410px left> | ||
+ | - {{: | ||
+ | - {{: | ||
+ | - {{: | ||
+ | - Repeat with all 7 segment displays. | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear></ | ||
+ | |||
+ | === 4.3) DIP-Switch | ||
<WRAP col2 box round 1000px left> | <WRAP col2 box round 1000px left> | ||
<WRAP 400px column> | <WRAP 400px column> | ||
{{: | {{: | ||
{{: | {{: | ||
- | Switch all dip-switches to the active position. | + | Switch all dip-switches to the active position.\\ |
- | All LED should be on, 4 " | + | All LED should be on, " |
</ | </ | ||
<WRAP 400px column> | <WRAP 400px column> | ||
{{: | {{: | ||
{{: | {{: | ||
- | Switch all dip-switches to the inactive position. | + | Switch all dip-switches to the inactive position.\\ |
- | All LEDs should be off, 4 " | + | All LEDs should be off, " |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.2) 7 Segment Display | + | === 4.4) Potentiometer |
- | < | + | < |
<WRAP 400px column> | <WRAP 400px column> | ||
- | {{: | + | {{: |
- | On each display a " | + | {{: |
+ | - Turn the potentiometer to the left. | ||
+ | - On the LCD the Bar should be " | ||
</ | </ | ||
<WRAP 400px column> | <WRAP 400px column> | ||
- | {{: | + | {{: |
- | Push a button | + | {{: |
+ | - Turn the potentiometer | ||
+ | - On the LCD the bar should be " | ||
</ | </ | ||
- | <WRAP 400px column> | ||
- | {{: | ||
- | All the LEDs on the corresponding display should be on. | ||
</ | </ | ||
- | < | + | < |
- | Repeat | + | |
+ | === 4.5) HEX-Switch === | ||
+ | < | ||
+ | <WRAP 400px left> | ||
+ | {{: | ||
+ | {{: | ||
+ | - Turn the HEX-Switch one step. | ||
+ | - On the LCD the value should be displayed. | ||
+ | - Repeat | ||
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.3) 7 GPIO Ports 1..4 === | + | === 4.6) GPIO Ports P5/P6 === |
<WRAP col1 box round 1000px left> | <WRAP col1 box round 1000px left> | ||
- | {{ : | + | <color # |
- | <WRAP 400px column | + | which you will find in the laboratory. Skip this test if you do not have access to it. |
- | {{: | + | <WRAP 400px column> |
- | The status of the port is displayed on the LCD. | + | |
- | </ | + | - Insert a flat ribbon cable from P5 to P6.\\ |
- | <WRAP 400px column left> | + | |
- | {{: | + | |
- | Insert the test plug in one of the port and push the corresponding button. | + | |
- | </ | + | |
- | <WRAP 400px column left> | + | |
- | The LCD should | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.4) GPIO Ports P5/P6 === | + | === 4.7) 7 GPIO Ports 1..4 === |
<WRAP col1 box round 1000px left> | <WRAP col1 box round 1000px left> | ||
- | <WRAP 400px column> | + | <color # |
- | {{: | + | Skip this test if you do not have access to it. |
- | The status of the port is displayed on the LCD. | + | <WRAP 400px left> |
- | </ | + | - {{: |
- | <WRAP 400px column> | + | - {{: |
- | Insert | + | - {{: |
- | </ | + | - {{: |
- | <WRAP 400px column> | + | |
- | The LCD should | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.5) Potentiometer === | ||
- | - Turn the potetiometer to the left. {{: | ||
- | - On the LCD the Bar should be " | ||
- | - Turn the potentiometer to the right. {{: | ||
- | - On the LCD the bar should be " | ||
- | |||
- | === 4.6) HEXSW === | ||
- | - Ordered List Item Unordered List ItemTurn the HEX-Switch one step. {{: | ||
- | - 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 | ||
- | - 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 |