Interface


System

Pin Description
+3.3V Input the power supply of 3.3V DC to this pin. Make sure the DC voltage is in the range of 3.15V ~ 3.45V. It is recommended to use a power supply capable of supplying more than 500mA current while stable output of DC 3.3V for the stable operation of the module.
GND Connect the ground of your main system to this pin. It is recommended that the ground is as wide as possible to shorten the path of return signal.
RESET# This pin is used to restart the system. If you enter a LOW pulse of 1 millisecond (1ms) or more to this pin, the system will restart. Since this pin is LOW Active, normally it should keep it high state(It is internally pulled up with a 10K ohm resistor.)
ISP# ISP# is the pin used to put the product into ISP mode. ISP mode is a necessary mode for system maintenance such as Escaping infinite reset state. Since this pin is LOW Active, normally it should keep it high state(It is internally pulled up with a 10K ohm resistor.)
VBAT Connect the battery to VBAT so that the built-in RTC time information and back up SRAM contents are not erased when power is not applied. Connect this pin to +3.3V if you do not use any battery. The allowable voltage is DC 1.65V to DC 3.6V.

Ethernet

Pin# Name I/O Description
P1.3 TPTX+ In/Out Ethernet Transmit +
P1.4 TPTX- In/Out Ethernet Transmit -
P1.5 TPRX+ In/Out Ethernet Receive +
P1.6 TPRX- In/Out Ethernet Receive -

P4M-440G provides 10/100Base-TX Ethernet Interface. Note that RJ45 connector is required to use Ethernet. Refer to a circuit diagram of the Application Circuit Diagram for the connection.

USB Device

Pin# Name I/O Description
P1.7 VBUS In USB Device VBUS
P1.8 USB_D_D- In/Out USB Device Data -
P1.9 USB_D_D+ In/Out USB Device Data +

This port must be interfaced for product development and configuration. After connecting this port and connecting the product with PC via a USB cable, you can access the product using the development tool (PHPoC Debugger). Either type B USB connector, mini USB or micro USB connector can be used for this port.

※ Note: The VBUS pin cannot be used for supplying power to P4M-440G.

Digital I/O

Pin# Name I/O Description
P2.2 NSS(0.0) In/Out UIO 0.0 / SPI NSS
P2.3 SCK(0.1) In/Out UIO 0.1 / SPI SCK
P2.4 MISO(0.2) In/Out UIO 0.2 / SPI MISO
P2.5 MOSI(0.3) In/Out UIO 0.3 / SPI MOSI
P2.6 U0TX(0.4) In/Out UIO 0.4 / UART0 TX
P2.7 U0RX(0.5) In/Out UIO 0.5 / UART0 RX
P2.8 SCL(0.6) In/Out UIO 0.6 / I2C SCL
P2.9 SDA(0.7) In/Out UIO 0.7 / I2C SDA
P2.10 U1TX(0.10) In/Out UIO 0.10 / UART1 TX
P2.11 U1RX(0.11) In/Out UIO 0.11 / UART1 RX

UART, SPI and I2C ports can be set or used to digital I/O pins. These ports are mapped to UIO 0. Digital I/O ports can also be operated as output ports of ST(Software Timer).

Parameter Description Min.[V] Max.[V] Current[mA]
VIH HIGH level input 2.31 - -
VIL LOW level input - 0.99 -
VOL LOW level output - 0.2 +8
VOH HIGH level output 3.1 - +8

※ Note: Each UIO port is 3.6V(5.5V) tolerant in input mode and the maximum driving current is 25mA in output mode.

UART

Pin# Name I/O Description
P2.6 U0TX(0.4) In/Out UIO 0.4 / UART0 TX
P2.7 U0RX(0.5) In/Out UIO 0.5 / UART0 RX
P2.10 U1TX(0.10) In/Out UIO 0.10 / UART1 TX
P2.11 U1RX(0.11) In/Out UIO 0.11 / UART1 RX

There are two UART ports and each of them has RX and TX.

SPI

Pin# Name I/O Description
P3.1 NSS(0.0) In/Out UIO 0.0 / SPI NSS
P3.2 SCK(0.1) In/Out UIO 0.1 / SPI SCK
P3.3 MISO(0.2) In/Out UIO 0.2 / SPI MISO
P3.4 MOSI(0.3) In/Out UIO 0.3 / SPI MOSI

There is SPI port which has NSS, SCK, MISO and MOSI.

I2C

Pin# Name I/O Description
P3.7 SCL(0.6) In/Out UIO 0.6 / I2C SCL
P3.8 SDA(0.7) In/Out UIO 0.7 / I2C SDA

There is I2C port which has SCL and SDA.