Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
rnd:projects:aft [2022-12-27 03:25] – [Relevant links] asdf | rnd:projects:aft [2023-05-07 02:54] (current) – asdf | ||
---|---|---|---|
Line 56: | Line 56: | ||
SFP modules expose a great deal of data detailing their internal status, all accessible through I2C at one of two addresses ('' | SFP modules expose a great deal of data detailing their internal status, all accessible through I2C at one of two addresses ('' | ||
- | < | + | < |
// load in the EEPROM address | // load in the EEPROM address | ||
Wire.beginTransmission(0x50); | Wire.beginTransmission(0x50); | ||
Line 69: | Line 69: | ||
After each read, the internal address register is incremented so it points to the next byte. Given the way we're most likely to access this table, this fact is of relatively little use to us. | After each read, the internal address register is incremented so it points to the next byte. Given the way we're most likely to access this table, this fact is of relatively little use to us. | ||
+ | <table |tab_sfpreg_50> | ||
+ | < | ||
+ | |||
+ | < | ||
+ | ^ Value ^ Address (dec) ^ Data length ^ | ||
+ | | Manufacturer name (ASCII) | 20 | 16 | | ||
+ | | Compliance code | 3 | 8 | | ||
+ | | Nominal signalling rate (100s Mbd) | 12 | 1 | | ||
+ | | Supported optional DDM features | 93 | 1 | | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <table |tab_sfpreg_51> | ||
+ | < | ||
+ | |||
+ | < | ||
+ | ^ Value ^ Address (dec) ^ Data length ^ | ||
+ | |||
+ | </ | ||
+ | </ | ||
==== Serial data transmission ==== | ==== Serial data transmission ==== | ||
Line 199: | Line 219: | ||
[(sparkfun_serialcomm> | [(sparkfun_serialcomm> | ||
[(twi_protocol> | [(twi_protocol> | ||
+ | |||
+ | {{tag> |