| Ligne 198 : |
Ligne 198 : |
| | I2C devices/sensors can be daisy chained on the same bus since each device having an unique I2C address (7 bits address, value from 1 to 127). | | I2C devices/sensors can be daisy chained on the same bus since each device having an unique I2C address (7 bits address, value from 1 to 127). |
| | | | |
| − | Such way, the microcontroler can get in touch with the sensor over the I2C bus to send configuration data and query measurement results. | + | Such way, the microcontroler can get in touch with a given sensor over the I2C bus to send configuration data and query measurement results. |
| | | | |
| | {{asm-begin}} | | {{asm-begin}} |
| | | | |
| − | {{asm-row|img=ENG-CANSAT-V2-SPI.jpg}} | + | {{asm-row|img=ENG-CANSAT-V2-I2C.jpg}} |
| − | {{asm-text}} Some of the GPIOs are attached to radio module. | + | {{asm-text}} Two GPIOs are attached to the board I2C module. |
| | | | |
| − | As a consequence they are not available for use on the GPIO breakout.
| + | The I2C is accessible via any (or all) of: |
| | + | * The breakout lines (labelled sda and scl). |
| | + | * The '''Grove I2C''' connector. |
| | + | * The '''Qwiic/StemmaQt''' connector |
| | | | |
| | {| class="wikitable" border="1" | | {| class="wikitable" border="1" |
| | |- | | |- |
| | | align="center" | '''GPIO''' | | | align="center" | '''GPIO''' |
| − | | align="center" | '''Radio Signal''' | + | | align="center" | '''I2C Signal''' |
| | | align="center" | '''Description''' | | | align="center" | '''Description''' |
| | |- style="font-size: 90%" | | |- style="font-size: 90%" |
| − | | align="left" | gp3 | + | | align="left" | gp8 |
| − | | align="left" | rst | + | | align="left" | I2C(0).sda |
| − | | align="left" | active high | + | | align="left" | Data Line |
| | |- style="font-size: 90%" | | |- style="font-size: 90%" |
| − | | align="left" | gp4 | + | | align="left" | gp9 |
| − | | align="left" | miso | + | | align="left" | I2C(0).scl |
| − | | align="left" | SPI(0)
| + | | align="left" | Clock line |
| − | |- style="font-size: 90%"
| |
| − | | align="left" | gp5
| |
| − | | align="left" | nss | |
| − | | align="left" | active low
| |
| − | |- style="font-size: 90%"
| |
| − | | align="left" | gp6
| |
| − | | align="left" | sck
| |
| − | | align="left" | SPI(0) clock
| |
| − | |- style="font-size: 90%"
| |
| − | | align="left" | gp7
| |
| − | | align="left" | mosi
| |
| − | | align="left" | SPI(0)
| |
| | |} | | |} |
| | | | |