Update I2C and CAN authored by Pressl, Štěpán's avatar Pressl, Štěpán
...@@ -121,10 +121,11 @@ Pins: ...@@ -121,10 +121,11 @@ Pins:
- CS3: (PD27) - CS3: (PD27)
### I2C ### I2C
Two-Wire interface (TWIHS) with pins TWCK and TWD (equivalent to SCL, SDA respectively) will be used. The microcontroller incorporates three TWIHS peripherals. Two-Wire interface (TWIHS) with pins TWCK and TWD (equivalent to SCL, SDA respectively) will be used. The microcontroller incorporates three TWIHS peripherals. Chosen peripheral is TWIHS0.
Pinouts: Pinouts:
TWCK0 (PA4), TWD0 (PA3), TWCK1 (PB5), TWD1 (PB4), TWCK2 (PD28), TWD2 (PD27) - TWCK0 (PA4)
- TWD0 (PA3)
Connector Connector [NS25-W4P](https://www.tme.eu/cz/details/ns25-w4p/signalove-konektory-raster-2-54mm/ninigi/) Connector Connector [NS25-W4P](https://www.tme.eu/cz/details/ns25-w4p/signalove-konektory-raster-2-54mm/ninigi/)
...@@ -145,9 +146,9 @@ Connector Connector [15EDGVC-3.5-03P](https://www.tme.eu/cz/details/15edgvc-3.5- ...@@ -145,9 +146,9 @@ Connector Connector [15EDGVC-3.5-03P](https://www.tme.eu/cz/details/15edgvc-3.5-
| 2 | CANH | | 2 | CANH |
| 3 | GND | | 3 | GND |
Suitable pin groups for PWM function Chosen peripheral is MCAN1, pins:
- CAN0: CANTX0 (PB2), CANRX0 (PB3) - CANRX1 (PC12)
- CAN1: CANTX1 (PC14,PD12), CANRX1 (PC12) - CANTX1 (PC14)
### USB ### USB
Will be handled by USBHS peripheral, pins HSDM/DM (data-) and HSDP/DP (data+) should be used. Will be handled by USBHS peripheral, pins HSDM/DM (data-) and HSDP/DP (data+) should be used.
... ...
......