ISL3893 GPIO experiments: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				No edit summary  | 
				||
| (3 intermediate revisions by the same user not shown) | |||
| Line 7: | Line 7: | ||
  gpio1_ddr 20e2 (ctrl)  |   gpio1_ddr 20e2 (ctrl)  | ||
  0010 0000 1110 0010  |   0010 0000 1110 0010  | ||
 Bit 0 =   | |||
 Bit 1 =   | |||
 Bit 2 =    | |||
 Bit 3 =   | |||
 Bit 4 =   | |||
 Bit 5 =   | |||
 Bit 6 =   | |||
 Bit 7 = (out) TP between C7 and isl  | |||
 Bit 8 =   | |||
 Bit 9 =   | |||
 Bit 10 =   | |||
 Bit 11 =   | |||
 Bit 12 =   | |||
 Bit 13 =   | |||
 Bit 14 =   | |||
 Bit 15 = (IN) Reset button  | |||
  gpio2_dr  0  |   gpio2_dr  0  | ||
| Line 17: | Line 33: | ||
  gpio3_ddr 8f  |   gpio3_ddr 8f  | ||
  0000 0000 1000 1111  |   0000 0000 1000 1111  | ||
  Bit 0 =  |   Bit 0 = (out) WAN LED YELLOW (r106)  | ||
  Bit 1 = WAN LED  |   Bit 1 = (out) WAN LED GREEN (r107)  | ||
  Bit 2 = TP C31    |   Bit 2 = (out) TP between C31 and isl  | ||
  Bit 3 =    |   Bit 3 = (???) TP between C10 ans isl  | ||
  Bit 4 =    |   Bit 4 = (out) TP between C23 and isl  | ||
  Bit 5 =    |   Bit 5 =    | ||
  Bit 6 =    |   Bit 6 =    | ||
Latest revision as of 16:39, 25 May 2006
GPIO experiments
While trying to get the gpio lines controllable from userspace I got realy frustrated. After some module_howtos IO managed to controll the WAN led (*yeah*) all connections found are on a FSC AP600
gpio1_dr 20c2 (wr) gpio1_st f1ce (rd) gpio1_ddr 20e2 (ctrl) 0010 0000 1110 0010 Bit 0 = Bit 1 = Bit 2 = Bit 3 = Bit 4 = Bit 5 = Bit 6 = Bit 7 = (out) TP between C7 and isl Bit 8 = Bit 9 = Bit 10 = Bit 11 = Bit 12 = Bit 13 = Bit 14 = Bit 15 = (IN) Reset button gpio2_dr 0 gpio2_st c0f gpio2_ddr 0 All inputs?
gpio3_dr 80 gpio3_st b0 gpio3_ddr 8f 0000 0000 1000 1111 Bit 0 = (out) WAN LED YELLOW (r106) Bit 1 = (out) WAN LED GREEN (r107) Bit 2 = (out) TP between C31 and isl Bit 3 = (???) TP between C10 ans isl Bit 4 = (out) TP between C23 and isl Bit 5 = Bit 6 = Bit 7 = Bit 8 = Bit 9 = Bit 10 = Bit 11 = Bit 12 = Bit 13 = Bit 14 = Bit 15 =