Colibri Comm Ethernet
Colibri Comm Ethernet is a Communications module with a 10/100 Mbit Ethernet port. It goes in the Comm slot of a Colibri 8 carrier, and is the network connection for Hakkas, the web interface and the other network services of the Colibri Runtime.
Status: prototype, coming soon. Revision A is the module on the development bench.
Specifications
Revision A.
| Item | Value |
|---|---|
| Ethernet | 10BASE-T / 100BASE-TX, half or full duplex, auto-negotiation (PMODE[2:0] strapped to 111, all capabilities) |
| Controller | WIZnet W5500: MAC and PHY, 32 KB packet buffer, SPI up to 80 MHz |
| Connector | RJ45 with integrated magnetics and two LEDs (Pulse JXD6-0001NL) |
| LEDs | link and activity, in the RJ45 jack, driven by the W5500 |
| Clock | 25 MHz crystal |
| Host interface | the Comm slot's SPI, ~INT and ~RESET |
| EEPROM | M24M01-R, 128 KB, on the slot I2C at 0x50/0x51 (module identity, see Colibri EEPROM Layout) |
| Supply | 3.3 V from the Comm slot (switched by the carrier on Colibri 8 revision B, always on in revision C); about 130 mA at 100 Mbit (W5500 datasheet) |
| Size | 22 x 42 mm, M.2 Key E edge connector (Colibri pinout, not M.2) |
Comm slot signals
| Slot pin | Signal | Use |
|---|---|---|
| 8, 12, 14 | SCLK, MOSI, MISO | W5500 SPI |
| 20, 10, 61 | ~SPICS0, ~SPICS1, ~SPICS2 | W5500 ~SCS = OR(~SPICS0, ~SPICS1, ~SPICS2), through a 74LVC1G332: the W5500 is selected only when all three are low |
| 48 | ~INT | W5500 interrupt |
| 36 | ~RESET | W5500 reset |
| 58, 60 | I2C data, clock | module EEPROM |
| 2 | 3.3 V | supply |
The UART, CTRL, USB, SWD and BOOT0 pins of the Comm slot are not used.
In the Colibri Runtime
The firmware uses Zephyr's W5500 driver with the W5500 in MACRAW mode: the W5500 only sends and receives Ethernet frames, and Zephyr's own network stack does IP, TCP, UDP and TLS. Sockets, TLS and DHCP therefore behave the same way as they will on other network interfaces (such as the planned Colibri Comm WiFi), and the W5500's own TCP/IP sockets are not used.
- MAC address: stable per MCU module: a locally administered address (02:xx:xx:xx:xx:xx) derived from the MCU's unique device ID, so the board keeps its address and DHCP lease across resets. A MAC address stored in the module EEPROM is planned.
- IP address: DHCP, or a fixed address set in the firmware configuration.
- SPI clock: 8 MHz for now (bring-up value).
- In Hakkas: the module appears in the environment as the Communications module, with its IP and MAC address.
Building for the bench (MCU6 on a Colibri 8 revision B):
west build -b colibri_mcu6 --shield "colibri_carrier colibri_carrier_noflash colibri_comm_ethernet" colibri-runtime
Notes
- Colibri 8 revision B: the carrier's 16 MB flash decodes the same three chip-select lines as the W5500, so on revision B the Comm Ethernet module works only with the carrier flash (U5) removed; that is what the
colibri_carrier_noflashshield describes. The firmware holds ~SPICS1 and ~SPICS2 low, and ~SPICS0 alone selects the W5500. Colibri 8 revision C gives the flash its own decode. - The 1.2 V core supply is the W5500's internal regulator; the analog supply (VDDA) is filtered from 3.3 V through a ferrite bead.
- TX and RX are terminated with 49.9 Ω to the centre taps and have 3.3 Ω series resistors, following WIZnet's reference design.
I2C Addresses
| Address | Device |
|---|---|
| 0x50, 0x51 | M24M01-R EEPROM (E1 = E2 = 0) |
Schematics
Revision A.