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:35] – [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 and LED === | + | === 4.1) LCD Background Light === |
- | < | + | <WRAP box round 1000px left> |
- | <WRAP 400px column> | + | The background light of the LCD should |
- | {{: | + | |
- | {{: | + | |
- | Switch all dip-switches to the active position. | + | |
- | All LED should | + | |
- | </ | + | |
- | <WRAP 400px column> | + | |
- | {{:getting_started: | + | |
- | {{: | + | |
- | Switch all dip-switches to the inactive position. | + | |
- | All LEDs should be off, " | + | |
- | </ | + | |
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.2) 7 Segment Display === | + | === 4.2) Button & 7 Segment Display === |
<WRAP col1 box round 1000px lef> | <WRAP col1 box round 1000px lef> | ||
<WRAP 410px left> | <WRAP 410px left> | ||
- | {{: | + | - {{: |
- | On each display a " | + | |
- | {{: | + | |
- | Push a button to perform the test. | + | |
- | {{: | + | |
- | All the LEDs on the corresponding display should be on. | + | |
- | Repeat with all 7 segment displays. | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.3) 7 GPIO Ports 1..4 === | + | === 4.3) DIP-Switch & LED === |
- | <WRAP col1 box round 1000px left> | + | < |
- | {{ : | + | |
- | <WRAP 400px column left> | + | |
- | {{: | + | |
- | The status of the port is displayed on the LCD. | + | |
- | </ | + | |
- | <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 dipslay the testresul either with an X or with a ✓. | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP clear></ | + | |
- | + | ||
- | === 4.4) GPIO Ports P5/P6 === | + | |
- | < | + | |
<WRAP 400px column> | <WRAP 400px column> | ||
- | {{: | + | {{: |
- | The status of the port is displayed | + | {{: |
+ | Switch all dip-switches to the active position.\\ | ||
+ | All LED should be on, " | ||
</ | </ | ||
<WRAP 400px column> | <WRAP 400px column> | ||
- | Insert a flat ribbon cable from P5 to P6. | + | {{: |
- | </ | + | {{: |
- | <WRAP 400px column> | + | Switch all dip-switches to the inactive position.\\ |
- | The LCD should | + | All LEDs should |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.5) Potentiometer === | + | === 4.4) Potentiometer === |
<WRAP col2 box round 1000px left> | <WRAP col2 box round 1000px left> | ||
<WRAP 400px column> | <WRAP 400px column> | ||
+ | {{: | ||
{{: | {{: | ||
- | Turn the potetiometer | + | - Turn the potentiometer |
- | {{: | + | |
- | On the LCD the Bar should be " | + | |
</ | </ | ||
<WRAP 400px column> | <WRAP 400px column> | ||
+ | {{: | ||
{{: | {{: | ||
- | Turn the potentiometer to the right. | + | - Turn the potentiometer to the right. |
- | {{: | + | |
- | On the LCD the bar should be " | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.6) HEXSW === | + | === 4.5) HEX-Switch |
<WRAP column box round 1000px left> | <WRAP column box round 1000px left> | ||
<WRAP 400px left> | <WRAP 400px left> | ||
+ | {{: | ||
{{: | {{: | ||
- Turn the HEX-Switch one step. | - Turn the HEX-Switch one step. | ||
- On the LCD the value should be displayed. | - On the LCD the value should be displayed. | ||
- | {{: | + | - Repeat 1. and 2. until all possibilities are checked (0..9, a..f). |
- | Repeat 1. and 2. until all possibilities are checked (0..9, a..f). | + | |
</ | </ | ||
</ | </ | ||
<WRAP clear></ | <WRAP clear></ | ||
- | === 4.7) LCD Background Light === | + | === 4.6) GPIO Ports P5/P6 === |
- | The background light of the LCD should | + | <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> | ||
+ | - {{: | ||
+ | - Insert a flat ribbon cable from P5 to P6.\\ | ||
+ | - {{: | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear></ | ||
+ | |||
+ | === 4.7) 7 GPIO Ports 1..4 === | ||
+ | <WRAP col1 box round 1000px left> | ||
+ | <color # | ||
+ | Skip this test if you do not have access to it. | ||
+ | <WRAP 400px left> | ||
+ | - {{: | ||
+ | - {{: | ||
+ | - {{: | ||
+ | - {{: | ||
+ | </ | ||
+ | </ | ||
+ | <WRAP clear></ | ||
+ | |||