Changes for page Front I/O
Last modified by Kevin Wiki on 2024/07/07 22:48
From version
2.4
edited by Kevin Wiki
on 2024/07/04 21:06
on 2024/07/04 21:06
Change comment:
There is no comment for this version
To version
7.4
edited by Kevin Wiki
on 2024/07/05 10:16
on 2024/07/05 10:16
Change comment:
There is no comment for this version
Summary
Details
- Page properties
-
- Content
-
... ... @@ -6,19 +6,14 @@ 6 6 7 7 There is a single cable that controls four parts, each half side of I/O LED and center column of blue LEDs. 8 8 9 - ==Sub-paragraph==9 +[[image:xserve io main cable and PCB pinout.drawio.png||alt="xserve io main cable pinout.drawio.png"]] 10 10 11 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 11 +(% class="wikigeneratedid" %) 12 +[[attach:xserve io main cable and PCB pinout.drawio.svg||target="_blank"]] 12 12 13 -== Sub-paragraph == 14 +(% class="wikigeneratedid" %) 15 +This cable allows us to communicate with 4 chips using two data lines, audio & service switch, case switch and (yet to be documented) compute LEDs 14 14 15 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 16 - 17 -=== Sub-sub paragraph === 18 - 19 -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. 20 - 21 - 22 22 = How we got here = 23 23 24 24 Measure out the ground and power signals by comparing with other chips on board. E.g. we find [SAA1064T] datasheet, locate the GND (Vee) and 5V (Vcc) and measure connectivity (0 ohm resistance) between chip pins and cable pins. This gives us pins GND 2 & 8 and PWR 16 & 22. ... ... @@ -151,6 +151,28 @@ 151 151 } 152 152 {{/code}} 153 153 149 +== SAA1064T data for driving center IO LED stack == 150 + 151 +Center IO stack is a stack of 24 LED's, 23 blue and 1 green for ethernet activity. These are duplicated next to each other and driven by each their SAA1064T chips. Earlier we found the i2c address and just by playing around figured out that 4 segments of 1 byte binary values are used to set ship register. 152 + 153 +{{code language="C++"}} 154 +void fillColumns() { 155 + Serial.println("filling columns"); 156 + Wire.beginTransmission(saa1064); 157 + Wire.write(1); 158 + Wire.write(0x7F); // 127 - 1111111 159 + Wire.write(0x7F); // 127 - 1111111 160 + Wire.write(0x7F); // 127 - 1111111 161 + Wire.write(0x1F); // 31 - 11111 162 + Wire.endTransmission(); 163 + 164 + colsFilled = 1; 165 +} 166 +{{/code}} 167 + 168 +(% class="wikigeneratedid" %) 169 +~-~- Here the last byte we send only is 5 bits since we only have 5 LEDs instead of 6 to address (total of 24). Also note that we start the transmission with a single bit. ~-~- 170 + 154 154 == Pinouts voltages from MLB == 155 155 156 156 Powered off: ... ... @@ -177,8 +177,35 @@ 177 177 * Power LED P3V3 - 3.30V 178 178 * Power LED - 0.87 V 179 179 197 += Controlling top I/O LED = 180 180 181 - 199 +On the top row we have the following input/output devices in order from left to right; 200 + 201 +Left side: 202 + 203 +* physical lock 204 +* lock LED 205 +* warning/service button 206 +* warning/service LED 207 +* locate button 208 +* power LED (red & green) 209 +* fan LED (red & green) 210 +* temperature LED (red & green) 211 +* compute LED (unknown) 212 + 213 +Right side: 214 + 215 +* power LED (red & green) 216 +* fan LED (red & green) 217 +* temperature LED (red & green) 218 +* compute LED (unknown) 219 + 220 +Each side is driven by each their PCA9554 shift register. The registers represent the following LEDs: (Note that Lock LED is only present for the LEFT side) 221 + 222 +|=(% scope="row" %)Register|1|2|3|4|5|6|7 223 +|=Device|Power LED Green|Power LED Red|Fan LED Green|Fan LED Red|Temperature LED Green|Temperature LED Red|Lock LED 224 + 225 +To control each LED we shift either a 0 to turn off or 1 to turn on. Since each device shares a single red/green LED (power LED green & power LED red) setting both to 1 at the same time will always leave it red. That is when power LED green and power LED red are both enabled, red always takes precedence. 182 182 ))) 183 183 184 184 ... ... @@ -199,5 +199,6 @@ 199 199 200 200 201 201 246 + 202 202 ))) 203 203 )))
- xserve io main cable and PCB pinout.drawio.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.kevin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +88.9 KB - Content
- xserve io main cable and PCB pinout.drawio.svg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.kevin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.3 KB - Content