Changes for page Front I/O

Last modified by Kevin Wiki on 2024/07/07 22:48

From version 1.3
edited by Kevin Wiki
on 2024/07/04 13:31
Change comment: There is no comment for this version
To version 2.5
edited by Kevin Wiki
on 2024/07/04 22:57
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -94,7 +94,6 @@
94 94  
95 95  We have two sets of chips, one for left and one for right where we have two different i2c chips on each side for controlling lights. Since the chips controlling their respective parts have the same address for each side, we can't distinguish them from each other. To handle this we use a i2c multiplexer to selectively communicate with one half at a time, switching TCA9548 between two different output ports.
96 96  
97 -
98 98  === Code example finding i2c ports ===
99 99  
100 100  To verify wiring, connection, output ports and device addresses run the following script:
... ... @@ -151,6 +151,56 @@
151 151  {
152 152  }
153 153  {{/code}}
153 +
154 +== SAA1064T data for driving center IO ==
155 +
156 +Center IO stack is a stack of 23 LED's, 22 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.
157 +
158 +{{code language="C++"}}
159 +void fillColumns() {
160 + Serial.println("filling columns");
161 + Wire.beginTransmission(saa1064);
162 + Wire.write(1);
163 + Wire.write(0x7F); // 127 - 1111111
164 + Wire.write(0x7F); // 127 - 1111111
165 + Wire.write(0x7F); // 127 - 1111111
166 + Wire.write(0x1F); // 31 - 11111
167 + Wire.endTransmission();
168 +
169 + colsFilled = 1;
170 +}
171 +{{/code}}
172 +
173 +(% class="wikigeneratedid" %)
174 +Here the last byte we send only is 5 bits since we only have 5 LEDs instead of 6 to address (total of 23). Also note that we start the transmission with a single bit.
175 +
176 +== Pinouts voltages from MLB ==
177 +
178 +Powered off:
179 +
180 +* PWR fail LED - 0.00 V
181 +* UID LED - 4.5V
182 +* OH/Fan fail LED - 4.72 V
183 +* NIC1 LED - 0.8 - 2.6 V
184 +* NIC2 LED - 2.95 V
185 +* UID SW - 2.8V
186 +* HDD LED - 0.00 V
187 +* Power LED P3V3 - 0.00V
188 +* Power LED - 0.00 V after unplug grows
189 +
190 +Powered on:
191 +
192 +* PWR tail LED - 3.47 V
193 +* UID LED - 4.85V
194 +* OH/Fan failed LED - 5 V
195 +* NIC 1 LED - 1.2 - 2.9 V
196 +* NIC 2 LED - 3.2 V
197 +* UID SW - 3V
198 +* HDD LED - 3 V
199 +* Power LED P3V3 - 3.30V
200 +* Power LED - 0.87 V
201 +
202 +
154 154  )))
155 155  
156 156  
... ... @@ -165,5 +165,12 @@
165 165  
166 166  [[image:[email protected]]]
167 167  //Figure 2: [[Waves>>https://commons.wikimedia.org/wiki/File:Culebra_-_Playa_de_Flamenco.jpg]]//
217 +
218 +
219 +
220 +
221 +
222 +
223 +
168 168  )))
169 169  )))