Skip to content

Commit

Permalink
update the logi-edu-test to working state for edu R1.1 and lpi R1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
valentfx committed Mar 13, 2015
1 parent e8a1485 commit e5b2272
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion logi-edu-test/sw/common/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
#define GPIO0DIR 0x0001
#define SSEG_0 0x0004 //SSEGX4 WB ADDRESS

//NOTES FOR THE GPIO TEST:
//NOTES FOR THE GPIO TEST R1.0 and R1.1
/*--SHORTS - PASS THROUGH CONNECTIONS ON PMOD PORT4
pwm2 <-> pwm1 = p4_0 <-> p4_6 //
nesclk <-> nes_data2 = p4_1 <-> p4_3
neslat <-> nes_data1 = p4_2 <-> p4_7
ps2c_1 <-> ps2d_1 = p4_4 <-> p4_5 */ //


//R1.0 and R1.1
#define GPIO_TEST1_DIR 0x0056 //IO tristate direction 1 = output, P4_1, P4_2, P4_4, P4_6 as outputs
#define GPIO_TEST1_1 0x00012 //values assigned to output pins, testing P4_4, P4_1
#define GPIO_TEST1_1_EXPECTED 0xFF28 //pattern received at the input pins P4_3, P4_5 should be high
Expand All @@ -35,6 +36,10 @@ ps2c_1 <-> ps2d_1 = p4_4 <-> p4_5 */ //
#define GPIO_TEST2_2_EXPECTED 0xFF50 // P4_4, P4_6 high






#endif


Expand Down

0 comments on commit e5b2272

Please sign in to comment.