Majenko SDZL board
Serge Vakulenko edited this page Jan 27, 2018
·
19 revisions
Pages 26
Clone this wiki locally
Majenko SDZL is a Fubarino SD lookalike board equipped with Microchip PIC32MZ microcontroller.
Features:
- PIC32MZ microcontroller 200 MHz (MIPS architecture, DSP)
- 44 available i/o pins, 5V tolerant
- 15 analog inputs, 0V to 3.3V voltage range
- Micro SD card connector at SPI2
- On-board oscillator 24 MHz
- USB 2.0 OTG controller with mini-USB connector
- One user LED
- One user button
- Reset button
- ICSP port
- 3.3V operating voltage
Memory:
- 2 Mbytes of program Flash memory
- 160 kbytes of additional boot Flash memory
- 512 kbytes of RAM
A rich set of peripheral functions is available: UART, SPI, I2C, I2S, ADC, timers. Two internal oscillators available: 8 MHz and 32 kHz.
Signals
Connectors
Function | PIC32 | Signal | Signal | PIC32 | Function |
---|---|---|---|---|---|
. | 5V | Vin | Power source 6.2V-12V | ||
. | GND | GND | . | ||
. | 3V3P | 3V3 | . | ||
SDA5 | RF4 | 0 | CLK | 24MHz | |
SCL5 | RF5 | 1 | 28 | RC15 | CLKO |
SDA1 | RD9 | 2 | A0 | RB15 | EMDC |
SCK4, SCL1 | RD10 | 3 | A1 | RB14 | SCK3 |
SDI4 | RD11 | 4 | A2 | RB13 | TDI |
SDO4 | RD0 | 5 | A3 | RB12 | TCK |
SOSCI | RC13 | 6 | A4 | RB11 | TDO |
SOSCO | RC14 | 7 | A5 | RB10 | TMS |
SCK1, EMDIO | RD1 | 8 | A6 | RB9 | SDI3 |
SDA3 | RD2 | 9 | A7 | RB8 | . |
SCL3 | RD3 | 10 | A8 | RB6 | PGEC2 |
. | RD4 | 11 | A9 | RB7 | PGED2 |
. | RD5 | 12 | GND | . | |
PROG button | RB5 | 13 | 3V3 | . | |
SDO1 | RF0 | 14 | RST | Reset button | |
SDI1 | RF1 | 15 | A10 | RB0 | PGED1 |
ERXD1 | RE0 | 16 | A11 | RB1 | PGEC1 |
ERXD0 | RE1 | 17 | A12 | RB2 | . |
ERXDV | RE2 | 18 | A13 | RB3 | SDO3 |
EREFCLK | RE3 | 19 | A14 | RB4 | . |
ERXERR | RE4 | 20 | 27-SS | RG9 | SS2 |
ETXEN | RE5 | 21 | 26-SDO | RG8 | SDO2, SCL4 |
ETXD0 | RE6 | 22 | 25-SDI | RG7 | SDI2, SDA4 |
LED, ETXD1 | RE7 | 23 | 24-SCK | RG6 | SCK2 |
. | GND | GND | . |
UART module
Any 3.3V-compliant USB-to-TTL module can be used to connect to serial UART port.
UART module | SDZL | PIC32 | Description |
---|---|---|---|
RXD | A8 | RB6 | U2TX |
TXD | A9 | RB7 | U2RX |
GND | GND | --- | Ground |
5V | 5V | --- | Power Supply |
Ethernet module
The Waveshare LAN8720 module (schematic) adds Ethernet functionality to the SDZL board.
Connection:
LAN8720 | Name | SDZL | PIC32 | Description |
---|---|---|---|---|
1, 2 | VCC | 3V3 | --- | +3.3V |
3, 4 | GND | GND | --- | Ground |
5 | MDC | A0 | RB15 | EMDC |
6 | MDIO | 8 | RD1 | EMDIO |
7 | CRS | 18 | RE2 | ERXDV |
8 | RETCLK | 19 | RE3 | EREFCLK |
9 | RX1 | 16 | RE0 | ERXD1 |
10 | RX0 | 17 | RE1 | ERXD0 |
11 | TX0 | 22 | RE6 | ETXD0 |
12 | TX_EN | 21 | RE5 | ETXEN |
13 | n/c | --- | --- | Not connected |
14 | TX1 | 23 | RE7 | ETXD1 |
SPI Ethernet controller
The Digilent PmodNIC100 module (manual, schematics) can add Ethernet functionality to SDZL board. It features the Microchip ENC424J600 Stand-Alone Ethernet Controller (data sheet).
Proposed connection:
PmodNIC100 | Name | SDZL | PIC32 | Description |
---|---|---|---|---|
1 | SS1 | 11 | RD4 | Slave Select |
2 | SDO1 | 14 | RF0 | Master out/Slave in Data |
3 | SDI1 | 15 | RF1 | Master in/Slave out Data |
4 | SCK1 | 8 | RD1 | Serial Clock |
5, 11 | GND | GND | --- | Ground |
6, 12 | 3V3 | 3V3 | --- | Power Supply |
7 | /INT | 12 | RD5 | Interrupt Signal |