2.6Audio Port .................................................................................................................................................. 10
2.5LCD Brightness Control ............................................................................................................................ 10
2.12Status LEDs and Reset ............................................................................................................................. 12
2.13CAN Port ................................................................................................................................................... 12
3.2Embedded Linux ....................................................................................................................................... 13
3.2.1Linux with Xenomai Real Time Extensions........................................................................................ 13
4.2USB Host connector Port A & B (HDR6) .................................................................................................. 15
4.3USB Port C OTG (JK2) ............................................................................................................................. 15
4.4Power Jack (JK1) ...................................................................................................................................... 15
EMAC Inc. does not assume any liability arising out of the application or use of any of its products or designs.
Products designed or distributed by EMAC Inc. are not intended for, or authorized to be used in, applications such
as life support systems or for any other use in which the failure of the product could potentially result in personal
injury, death or property damage.
If EMAC Inc. products are used in any of the aforementioned unintended or unauthorized applications, Purchaser
shall indemnify and hold EMAC Inc. and its employees and officers harmless against all claims, costs, damages,
expenses, and attorney fees that may directly or indirectly arise out of any claim of personal injury, death or
property damage associated with such unintended or unauthorized use, even if it is alleged that EMAC Inc. was
negligent in the design or manufacture of the product.
EMAC Inc. reserves the right to make changes to any products with the intent to improve overall quality, without
further notification.
CPU: Texas Instruments AM3354 ARM Cortex-A8 processor running at 1 GHz.
Module: SOM-3354M
Carrier board: SOM-212ES
Flash: 4 GB of eMMC Flash & 16 MB SPI Flash.
RAM: 512MB of DDR3L SDRAM.
Touchscreen: 12-Bit, 4-wire analog resistive touchscreen interface.
Flash Disk: 4 GB eMMC Resident Flash
System Reset: Processor Internal Reset Management with External Reset Button provision.
RTC: Real-Time Clock Internal with battery-backed provision
Timers: 2 Timer/Counter/PWMs.
Watchdog Timer: Processor based Watchdog Timer.
Analog I/O: 8 channels total, 4 of which is shared by the resistive touchscreen.
Digital I/O: Many general purpose I/Os multiplexed with peripheral interfaces.
Power: Power Management Controller allows selectively shutting down on processor I/O functionality and
running from a slow clock.
LCD
Display Type: 4.3" TFT Color LCD
Resolution: 480 x 272 WQVGA @ 256K Colors
Dot pitch: 0.198mm x 0.198mm
Luminance: 330 (cd/m²)
Viewing Direction: 6 o'clock
Brightness: Software controlled
Backlight: White LED (10 LEDS)
Touchscreen
Type: 4 Wire Analog Resistive
Resolution: Continuous
Controller: Built-In
Driver: Linux
Transparency: 80%
Durability: Over one million touches
Dimensions: 4.8 " L x 3.0" W x 1.2" H
Weight: 5.7 oz.
Power Supply Voltage: +5V DC or 8 to 35V DC.
Power Consumption: typical <~1.0A. @ 5V DC.
Operating Temperature: 0 ~ 60° C (32 ~ 140° F)
PPC-E4-3354 Assembly with 4.3” Touchscreen
Molded plastic LCD mounting bracket and standoffs
SoM-3354M System on Module
Resident on-board flash disk loaded with Linux Operating System
Four Serial Port cables
The PPC-E4-3354 comes factory configured. In the event that jumpers need to be verified or modified this section
provides the information required, including instructions on setting jumpers and connecting peripherals, switches
and indicators. Be sure to read all the safety precautions before you begin any configuration procedure. See
Appendix A for connector pinouts and Appendix B for Jumper Settings.
The PPC-E4-3354 provides two power connectors. CN1 is a standard four-pin type, PC floppy disk power
connector that mates with standard floppy disk drive power connectors. Using this power input provides for a
more rugged/industrial polarized locking connection. JK1 is a standard 5.5mm barrel jack with an inner diameter
of 2.1mm with a center V+ connection. This jack allows for easy connection to a 5V DC wall mount power supply
(EMAC part number PER-PWR-00032). The PPC-E4-3354’s power input uses a switching regulator and allows a
voltage input of +5V DC to 36V DC only if you are using the CN1 power connector. NOTE: If using JK1 a 5V DC
supply must be used.
To power the PPC-E4-3354 from 5V DC use either the JK1 or Pin #1 on CN1.
To power the PPC-E4-3354 from 8V to 36V DC use Pin #4 on CN1.
Alternatively the PPC-E4-3354 can be power from a Power Over Ethernet (POE) Switch
provided the SoM-212 POE option is installed.
The pinout for the CN1 power connector is as follows:
Pin Signal
1 +5V DC
2 Chassis GND
3 Chassis GND
4 +Vin DC (+8 to +36V)
Note: Do not drive both the +5V and the +Vin power inputs. Drive one or the other.
2.3 Ethernet
The PPC-E4-3354 provides 10/100 Base-T full duplex Ethernet and uses a standard RJ-45 connector. It can be
connected straight to a hub, or another computer via a crossover Ethernet cable. The Ethernet MAC is integrated
into the AM3354 ARM Cortex-A8 processor and the Micrel KSZ8041NL performs the PHY responsibilities. Activity
and Link LEDs are integrated into the RJ45 connector.
2.4 Serial Ports
The PPC-E4-3354 is equipped with three dedicated RS232 ports, all of which terminate to 10-pin header
connectors (see Table 4, 5, & 7 below) and a RS232/422/485 port (Table 6). Four 10-pin header-to-male DB9
connector cables are provided, giving easy access to these ports. Baud rate, stop bits, etc. are all programmable
for each port via software.
COM A is an RS232 compatible port with a full complement of handshaking lines allowing it to communicate with
modems and other devices requiring hardware flow control.
COM B is an RS232 port (Console Port). This port offers the RTS and CTS handshake lines.
COM C can be configured to RS232, RS422, and RS485 via four software controlled port pins (see table 3
below). To select RS232 set SoM pin 109 & 120 Low and pin 118 & 119 High (this is the default). For RS422 set
SoM pin 109 & 120 High and pin 118 & 119 Low. To select RS485, selectively set SoM pin 109 & 119 as required
while keeping pin 118 Low. The processor provides for Auto 485 by having the transmitter automatically turned on
when required, eliminating the need to manually control this line via RTS (see processor manual).
When using COM C in the RS422/485 mode, a terminating resistor (~120 Ohm) is recommended on the two far
ends of the network. JP7 moved to the TRM position will terminate the receiver with 124 ohms. For more
information on serial ports and software configuration go to:
The PPC-E4-3354 provides two USB 2.0, high speed host ports (PortA) and (PortB) and one USB 2.0, high speed
OTG port (PortC). USB PortA and PortB can be accessed from HDR6. PortC can be accessed from the on-board
USB connector JK2.
All of the USB ports are equipped with 500mA re-settable Polyfuses. If a USB Device tries to draw more than
500mA from the port, the fuse will open until the device is unplugged or its current requirement is reduced. There
is no software provision for shutting down power to the Ports or detecting when a port is drawing too much
current.
Note: When sizing a power supply, make sure to allow for USB Device consumption. A device can potentially
draw 500mA, therefore these devices could use a total of up to 1 amp of power.
2.6 Audio Port
The PPC-E4-3354 provides optional Audio Line Out and Line In capability through a two 4-pin 1.25mm headers
(CN4 & CN5). A special cable (included with the Audio Option) converts the signals present on the header to two
standard miniature audio jacks. The processor interfaces to the Audio CODEC through its I2S interface.
Command control of the CODEC is done using the processor’s SPI interface. The CODEC is the Cirrus CS4271,
which is a high performance 24-bit Stereo CODEC offering superior sound quality.
Both the input and output are line level. You will probably not be able to drive an unamplified speaker although
standard headphones will work. Likewise, an un-amplified microphone probably will not work as an input although
the line out of a CD player will work.
2.5 LCD Brightness Control
The PPC-E4-3354 offers LCD brightness control that can change the brightness of the LCD via software. The
LCD utilizes LED backlighting. The board provides the backlight with a constant current source of 20mA which
results in a voltage of approximately 30 volts. The processor provides a PWM (SoM Pin #85) that is used to drive
the LCD backlight. Changing the duty-cycle of the PWM directly affects the brightness of the LCD. In addition, the
backlight can be turned off by setting SoM Pin #114 low. This allows screensaver software to automatically turn
off the backlight when the unit is not being used and to automatically turn it back on when the touchscreen is
touched.
The PPC-E4-3354 provides a high capacity MicroSD socket. This socket is hot-swappable and can accept a wide
variety of Flash Cards. A green activity light (LED LD2) is located towards the left side of the socket. When the
processor is accessing the Flash card, this LED will be lit and the card should not be removed at this time. A card
that is written to by the PPC-E4-3354, can be read by another computer, using a MicroSD card reader. The
MicroSD interface is compatible with Standard and High Capacity MicroSD cards.
2.7 Keyboard/Mouse
The PPC-E4-3354 does not provide a PS/2 type keyboard/mouse interface. However, a USB keyboard and
mouse can be used if required.
2.8 Analog Inputs
The analog inputs are available on HDR1 (see table below) and are labeled as analg_04, analg_05, analg_06 and
analog_07. Voltages applied to the inputs must be in the range of 0V to 3.3V with reference to ground. Different
operating systems may provide access to the analog inputs differently or even not at all. See the operating
system documentation for details. Note: In some cases using the Analog Inputs can have adverse effect on the
touchscreen sensitivity.
2.9 I/O Expansion
The Processor used by the PPC-E4-3354 provides a number of unused I/O lines. The PPC-E4-3354 provides
access to these lines on connector HDR1. This 20-pin dual row header contains GPIO lines, SPI bus, I2C bus,
A/D lines, interrupts and power pins. Signal names listed in the table below are the SoM names as defined in the
SoM 200 pin specification.
Table 8
2.10 Real-Time Clock
The PPC-E4-3354 emulates a real time clock using the internal real time clock on the AM3354 processor. Battery
backup is provided from the carrier board using the VSTBY pin. The real-time clock is a precise timer which can
generate interrupts on intervals specified by the user.
In addition to the eMMC Resident Flash is 16MB of SPI based bootable serial flash. To select this device the
Boot1 jumper JB2 must be in the A position, Boot0 must be in the A position, and SPI0_CS0 must be active. JB3
can be used to Write Protect the serial flash when in the FWP position. The serial flash can be used to Boot from
or can be a handy place to store non-volatile configuration data. See the software drivers for details on accessing
this. Note: Use of the SPI externally can affect the booting of the system if proper interfacing is not followed.
The Module is capable of booting out of Serial, Ethernet, SPI Flash, or USB. Booting from eMMC is only possible
with a custom populated version. Contact EMAC for more details. Minimum purchase quantities apply.
2.12 Status LEDs and Reset
The PPC-E4-3354 provides a status LED on the SoM-3354M module, LD1 (Green) which is connected to
processor port pin GPIO3_4. Additionally, a Green power LED (LD1) and a SD Activity status LED (LD2) are
provided on the Carrier.
Also provided is a Reset Button (PB1). Pressing this button will cause the system to reset.
2.13 CAN Port
The PPC-E4-3354 is constructed from the SoM-3354M module and the SoM-212 carrier. The SoM-212 carrier
provides for an un-isolated CAN port (CN2). The AM3354 provides a High-End Controller (HECC) internally. The
CAN interface lines are directed to the dedicated CAN pads on the SoM connector as shown in the table below.
There is no provision for CAN network termination on the PPC-E4-3354. CAN termination should be done
externally at the two far ends of the network.
The PPC-E4-3354 offers a wide variety of software support from both open source and proprietary sources. The
Module hardware core utilizes the TI AM3354 processor, which is supported by Linux.
For more information on Linux Software Support, please visit the EMAC Wiki Software Section at:
http://wiki.emacinc.com/wiki/product_wiki
3.1 U-Boot
EMAC utilizes Das U-Boot for its ARM based products. U-Boot is an open source/cross-architecture platform
independent bootloader. It supports reading and writing to the flash, auto-booting, environmental variables,
and TFTP. Das U-boot can be used to upload and run and/or reflash the OS or to run stand-alone programs
without an OS. Products are shipped with a valid MAC address installed in flash in the protected U-boot
environmental variable “ethaddr”. At boot time U-Boot automatically stores this address in a register within the
MAC, which effectively provides it to any OS loaded after that point.
3.2 Embedded Linux
EMAC Open Embedded Linux is an open source Linux distribution for use in embedded systems. The EMAC
OE Linux Build is based on the Open Embedded (www.openembedded.org) Linux build system. Open
Embedded is a superior Linux distribution for embedded systems. Custom Linux builds are also available on
request.
The distribution contains everything a user could expect from a standard Linux kernel: powerful networking
features, advanced file system support, security, debugging utilities, and countless other features.
The basic root file system includes:
Busybox
Hotplugging support
APM utilities for power management
Openssh SSH server
lighttpd HTTP server
JJFS2 or EXT4 file system with utilities
3.2.1 Linux with Xenomai Real Time Extensions
Xenomai provides real time extensions to the kernel and can be used to schedule tasks with hard deadlines
and s latencies. The Xenomai build is an additional module that can be added to the standard Linux kernel
and is available for a one-time inexpensive support/installation fee.
http://www.xenomai.org/
3.2.2 Linux Packages
EMAC provides support for many Linux Packages such as: PHP, SQLite, Perl, SNMP, DHCP Server, etc. As
with the Xenomai Package, other Packages can be added to the standard Linux file system and are available
for a one-time inexpensive support/installation fee.
3.2.3 Linux Patches
In addition to standard Embedded Linux support, EMAC has released a number of patches and device drivers
from the open source community and from internal EMAC engineering into its standard distribution. Along
with kernel patches, EMAC provides the binaries for the kernel and root file system.
Qt Creator is a cross-platform IDE (Integrated Development Environment) tailored to the needs of Qt
developers but works well for Headless applications as well. EMAC provides sample code as projects that
can be imported into Qt Creator. Qt Creator supports remote deployment and source debugging.
The popular open source gcc compiler has a stable build for the ARM family. EMAC uses the 4.9.1 version of
the ARM EABI compiler. The Embedded Linux kernel and EMAC Qt Creator projects use this compiler for
building ARM stand alone, and OS specific binaries. The EMAC Qt Creator provides source level debugging
over Ethernet or serial using gdbserver. The Linux binaries for the ARM EABI cross compiler are available
online along with the SDK. See the EMAC wiki for further information.