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:16] – [4) Test procedure] 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 to perform the test. | + | {{: |
- | </ | + | - Turn the potentiometer to the right. |
- | <WRAP 400px column> | + | - On the LCD the bar should be " |
- | {{: | + | |
- | All the LEDs on the corresponding display | + | |
- | </ | + | |
- | <WRAP 400px column> | + | |
- | Repeat with all 7 segment displays. | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.3) 7 GPIO Ports 1..4 === | + | === 4.5) HEX-Switch |
- | < | + | < |
- | {{ : | + | <WRAP 400px left> |
- | <WRAP 400px column | + | {{: |
- | {{: | + | {{: |
- | The status of the port is displayed on the LCD. | + | - Turn the HEX-Switch |
- | </ | + | - On the LCD the value should be displayed. |
- | <WRAP 400px column left> | + | - Repeat 1. and 2. until all possibilities are checked (0..9, |
- | {{: | + | |
- | Insert | + | |
- | </ | + | |
- | <WRAP 400px column left> | + | |
- | The LCD should dipslay the testresul either with an X or with a ✓. | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.4) GPIO Ports P5/P6 === | + | === 4.6) GPIO Ports P5/P6 === |
<WRAP col1 box round 1000px left> | <WRAP col1 box round 1000px left> | ||
+ | <color # | ||
+ | which you will find in the laboratory. Skip this test if you do not have access to it. | ||
<WRAP 400px column> | <WRAP 400px column> | ||
- | {{: | + | - {{: |
- | The status of the port is displayed on the LCD. | + | |
- | </ | + | - {{: |
- | <WRAP 400px column> | + | |
- | Insert a flat ribbon cable from P5 to P6. | + | |
- | </ | + | |
- | <WRAP 400px column> | + | |
- | The LCD should display the testresult for P56 either with an X or with a ✓. | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.5) Potentiometer | + | === 4.7) 7 GPIO Ports 1..4 === |
<WRAP col1 box round 1000px left> | <WRAP col1 box round 1000px left> | ||
- | <WRAP 400px column> | + | <color # |
- | {{:getting_started:potentiometer_left.png?100|}} | + | Skip this test if you do not have access to it. |
- | Turn the potetiometer to the left. | + | <WRAP 400px left> |
- | </ | + | |
- | <WRAP 400px column> | + | |
- | {{: | + | |
- | On the LCD the Bar should be " | + | |
- | </ | + | |
- | <WRAP 400px column> | + | |
- | {{: | + | |
- | Turn the potentiometer to the right. | + | |
- | </ | + | |
- | <WRAP 400px column> | + | |
- | {{: | + | |
- | On the LCD the bar should be " | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.6) HEXSW === | ||
- | <WRAP col1 box round 1000px left> | ||
- | <WRAP 400px column> | ||
- | {{: | ||
- | Ordered List Item Unordered List ItemTurn the HEX-Switch one step. | ||
- | </ | ||
- | <WRAP 400px column> | ||
- | {{: | ||
- | Ordered List ItemOn the LCD the value should be displayed. | ||
- | </ | ||
- | <WRAP 400px column> | ||
- | Repeat 1. and 2. until all possibilities are checked (0..9, a..f). | ||
- | </ | ||
- | </ | ||
- | <WRAP clear></ | ||
- | === 4.7) LCD Background Light === | ||
- | The background light of the LCD should cycle through the colors: red, green and blue | ||