background image

P4S-341 User Manual > Peripherals(JP1)

2019-03-14

Sollae Systems

page 9 of 17

※ Note: Each UIO port is 5V tolerant in input mode and the maximum driving current is ±8mA in
output mode.

Pin Assignment of Digital I/O

Serial: UART

P4S-341 provides 2 UART ports.
Specification of UART is as follows:

Division

Value

Number of Port

2

Interfaced Pin Label

UART0: Required(U0TX/4, U0RX/5, GND), Optional(U0RTS/8, U0CTS/9)
UART1: Required(U1TX/10, U1RX/11, GND), Optional(U1RTS/12,
U1CTS/13)

Signal Level

3.3V

Baud Rate

1,200 ~ 230,400 [bps]

Parity

NONE / EVEN / ODD / MARK / SPACE

Data bit

8 / 7(Parity is required to use 7 data bit mode)

Stop bit

1 / 2

Flow Control

NONE, RTS/CTS

TxDE Pin

UART0 - UIO0.8(UART0 RTS), UART1 - UIO0.12(UART1 RTS)

Serial: SPI

P4S-341 provides a SPI interface.
Specification of SPI is as follows:

Parameter

Value

Number of Port

1

Signal Level

3.3V

Interfaced Pin Label

NSS/0, SCLK/1, MOSI/2, MISO/3

SPI mode

mode 0 ~ 3

Bit Order

LSB > MSB or MSB > LSB

Transmission Unit

8bit or 16bit

Basic Clock Speed

42㎒

Frequency

2 / 4 / 8 / 16 / 32 / 64 / 128 / 256

Содержание P4S-341

Страница 1: ...uch as sensors and actuators We provide a self development programming language which is called PHPoC for programing P4S 341 This language is easy to use and compatible with PHP which is widely used s...

Страница 2: ...ovides 10 100Mbit Ethernet Provides 22 digital i o and 6 analog input ports Provides 2 UART ports Provides 4 hardware timer Provides I2C and SPI interfaces Provides self developed TCP IP stacks Provid...

Страница 3: ...5mm x 63 8mm x 13mm Weight about 30g Interface UART 2 X UART Ports UART0 1 Baudrate 1 200 bps 230 400 bps Network 10 100Mbps Ethernet USB USB Device for PC Digital I O UIO0 pin 0 21 30 LED 31 LED Anal...

Страница 4: ...P4S 341 User Manual Dimension 2019 03 14 Sollae Systems page 4 of 17 Dimension Dimensions unit mm may vary according to a method of measurement...

Страница 5: ...at On and Off in every second not running PHP briefly blinks 1 time at a time UIO30 on board LED connected with 30th pin of UIO0 UIO31 on board LED connected with 31th pin of UIO0 PWR STS UIO30 and UI...

Страница 6: ...put This port is the main input port for supplying power Specification is as follows USB Device port Micro USB This port can be a sub input port for supplying power 6 Reset Button RESET This button is...

Страница 7: ...0 RX UIO0 5 17 UIO0 17 SCL 6 I2C SCL UIO0 6 18 UIO0 18 SDA 7 I2C SDA UIO0 7 19 UIO0 19 8 UART 0 RTS UART 0 TxDE UIO0 8 20 DM UIO0 20 9 UART 0 CTS UIO0 9 21 DP UIO0 21 U1TX 10 UART 1 TX UIO0 10 STX SPC...

Страница 8: ...hannels Interfaced Pin Label AREF AD0 5 Hardware Timer HT P4S 341 provides 4 hardware timers called HT Specification of HT is as follows Parameter Value Mode Output mode toggle pulse PWM Capture mode...

Страница 9: ...RT1 Required U1TX 10 U1RX 11 GND Optional U1RTS 12 U1CTS 13 Signal Level 3 3V Baud Rate 1 200 230 400 bps Parity NONE EVEN ODD MARK SPACE Data bit 8 7 Parity is required to use 7 data bit mode Stop bi...

Страница 10: ...Pin Label SCL SDA Data Rate Standard mode 100Kbps or Fast mode 400Kbps Address Type 7bits Smart expansion Procedure Call SPC P4S 341 provides an SPC interface for communication with smart expansion bo...

Страница 11: ...oducts You need to install this program on your PC for using PHPoC PHPoC Debugger Download Page PHPoC Debugger Manual Functions and Features of PHPoC Debugger Upload files from local PC to PHPoC Downl...

Страница 12: ...your PC via a USB cable 1 Run PHPoC Debugger 2 Select connected COM PORT and press connect button 3 If USB is successfully connected connect button will be inactivated and disconnect button 4 will be...

Страница 13: ...aring initialization Blink very rapidly 3 Check if the STS LED is turned OFF Initialization ready Off 4 Release the function button right after the STS is OFF If you don t release the button within 2...

Страница 14: ...b interface To use the web interface index php file should be in the file system of P4S 341 Connect to this page by entering device IP address after connecting it to network If the name of file is not...

Страница 15: ...Paswords 2019 03 14 Sollae Systems page 15 of 17 Setting Passwords If you set a password for the product you must enter the password when connecting the product via USB or network Please refer to the...

Страница 16: ...llowing Entering ISP mode 1 Make P4S 341 to enter ISP mode by supplying power while pressing FUNC button In the ISP mode you can access to PHPoC by PHPoC Debugger without running a script Connect to P...

Страница 17: ...rt0 1 NET 1 mmap net0 TCP 5 mmap tcp0 4 UDP 5 mmap udp0 4 Digital I O 1 mmap uio0 pin 0 21 30 31 ADC 2 mmap adc0 1 ST 8 mmap st0 7 HT 4 mmap ht0 3 SPI 1 mmap spi0 I2C 1 mmap i2c0 RTC 1 mmap rtc0 UM 4...

Отзывы: