Janz Tec emPC-A/RPI3 Hardware And Software Manual

Embedded pc
Table of Contents

Advertisement

Quick Links

PROPRIETARY NOTICE
All rights reserved by Janz Tec AG.
No parts of this technical manual may be modified, copied or reproduced
in any form or by any means for commercial use without the prior written
permission of Janz Tec AG, Germany.
All instructions, information and specification contained in this manual
are for reference only and remain subject to change without
announcement.
emPC-A/RPI3
embedded PC
(Hardware and Software Manual)
Version 1.3
refers to product revision no.
1.1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the emPC-A/RPI3 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Janz Tec emPC-A/RPI3

  • Page 1 PROPRIETARY NOTICE All rights reserved by Janz Tec AG. No parts of this technical manual may be modified, copied or reproduced in any form or by any means for commercial use without the prior written permission of Janz Tec AG, Germany.
  • Page 2 Title: emPC-A/RPI embedded PC File: j:\as\entwicklung\projekte\hw\empc\empc-arpi\doc\manual\manual_empc-arpi3.doc Pattern: \\ntserv5\janzgrp\as\entwicklung\formulare\entwicklung (ew)\ew_manual.dot Created: Stefan Althöfer, 06.03.2015 Last Update: Stefan Althöfer, 21.09.2018 © Janz Tec AG 2015 Im Dörener Feld 8 D-33100 Paderborn, Germany Tel.: +49-5251-1550-0 FAX: +49-5251-1550-190 email: support@janztec.com Internet: www.janztec.com...
  • Page 3: Table Of Contents

    CPU Frequency ......................19 5.2.3 Bluetooth ........................19 5.2.4 Driver Details ........................19 5.2.4.1 spi-bcm2835 : SPI driver (optimized for emPC-A/RPI3) .........20 5.2.4.2 mcp2515 : CAN driver (optimized for emPC-A/RPI3) ..........20 5.2.4.3 sc16is7xx : RS232/RS485 driver (optimized for emPC-A/RPI3) ......20 5.2.4.4 rtc-ds1307 : RTC .....................21 Janz Tec AG Linux Image for emPC-A/RPI3 ..............22...
  • Page 4 (Hardware and Software Manual) • Contents Appendices Technical Data ........................27 References .........................30 Dimensions ........................31 Raspberry GPIO Header ....................32 EMC Cable Installation ......................33 Product History........................34 Manual History ........................34 © Janz Tec AG Rev. 1.3...
  • Page 5 (Hardware and Software Manual) • Contents List of Figures figure 1: emPC-A/RPI3 block diagram ..................... 6 figure 2: emPC-A/RPI3 mounting options: Desk-top, Wall and DIN Rail ..........9 figure 3: Multi connector for IO (Power Supply Pins highlighted) ............10 figure 4: RS485 signaling ........................12 figure 5: digital IO detailed schematic ....................13...
  • Page 6 (Hardware and Software Manual) • Contents About this Manual This is the hardware manual for the emPC-A/RPI3 embedded PC. Conventions If numbers are specified in this manual, they will be either decimal or hexadecimal. We use C-notation to identify hexadecimal numbers (the 0x prefix).
  • Page 7: Introduction

    (Hardware and Software Manual) • Introduction 1 - 5 Introduction Features • Raspberry PI 3 Model B powered BCM2837 processor, up to 1200MHz quad-core ARM 64bit ARMv8 CPU 1GB LPDDR2 SDRAM HDMI graphics output 10/100 Mbit/s Ethernet 4 x USB 2.0...
  • Page 8: Functional Overview

    1 - 6 Functional Overview The processing core of the emPC-A/RPI3 is an unmodified Raspberry PI 3 B board. A Janz Tec specific add-on board implements the specific features. Refer to figure 1 for the block diagram. 26pin IO header...
  • Page 9: Safety Instructions

    (Hardware and Software Manual) • Safety Instructions 2 - 7 Safety Instructions Refer to page iv for explanation of the warning notice system. The product described in this documentation may be operated only by personnel qualified for the specific task in accordance with the relevant documentation for the specific task, in particular its warning notices and safety instructions.
  • Page 10: Ambient And Environmental Conditions

    NOTICE: System overheating The cooling concept of the emPC-A/RPI3 is not sufficient to allow full loading of the Raspberry PI 3 Module processor without system overheating which leads to clock reduction. Refer to the technical data for details.
  • Page 11: Installation

    The product can be operated with DC power supply from 9 to 32 V. Mounting The emPC-A/RPI3 is intended for wall and 35mm DIN-rail mount, but can as well be used on the desk- top. Refer to figure 2 for the recommended mounting orientation.
  • Page 12: Connectors And Operators

    (Hardware and Software Manual) • Installation 3 - 10 Connectors and Operators The 24 pin multi connector provides interface to many of the emPC-A/RPI3 interfaces that are described later. screw locking lock-and- release locking figure 3: Multi connector for IO (Power Supply Pins highlighted) A suitable mating connector with lock-and-release levers is Phoenix Contact order number 1790580.
  • Page 13: Ethernet Interface

    (Hardware and Software Manual) • Installation 3 - 11 3.2.3 Ethernet Interface Ethernet interfaces of the Raspberry PI. The Ethernet physics is 10/100BaseT, available through the shielded modular jack. Twisted pair cable can be used to connect to this port.
  • Page 14: Console (Rs232)

    (Hardware and Software Manual) • Installation 3 - 12 3.2.5 Console (RS232) The RS232 (Console) serial interface is provided by Raspberry PI board. The connector is a standard 9 pin D-SUB plug, but the interface is connected with two wires only, table 4 shows the pin out.
  • Page 15: Digital Io

    (Hardware and Software Manual) • Installation 3 - 13 11 CAN-H 12 CAN-L 13 GND-CAN 14 n.c. table 6: CAN connector pins An internal 120 Ohm CAN termination resistor is enabled by shorted jumper J400. To disable the termination, the case has to be opened to remove this jumper.
  • Page 16: Audio Video

    VIO voltage. Refer to the VN330SP datasheet for more information. If in doubt, add external clamping circuits. 3.2.9 Audio Video The combined audio and analogue video connector is not accessible on the emPC-A/RPI3. © Janz Tec AG Rev. 1.3...
  • Page 17: Maintenance

    (Hardware and Software Manual) • Maintenance 4 - 15 Maintenance NOTICE Always follow common ESD practice when you service the product! To open the housing, follow these steps (Refer to figure 6): • Disconnect all connectors • Remove both bolts on the front RS232 DSUB connector •...
  • Page 18: Micro Sdcard Replacement

    (Hardware and Software Manual) • Maintenance 4 - 16 Micro SDcard Replacement NOTICE Power must be turned off before removing or inserting the micro SDcard Refer to figure 6 to identify the location of the Micro SDcard. Remove the DIN rail clip and/or the wall mount bracket if necessary.
  • Page 19 (Hardware and Software Manual) • Maintenance 4 - 17 Rev. 1.3 © Janz Tec AG...
  • Page 20: Operating System And Drivers

    For more information, refer to 5.2. Of course, you can order the emPC-A/RPI3 without software, so you can choose a Raspberry PI 3 B compatible operating system of your choice and install it manually on a µSD card. (Raspbian recommended) Refer to 5.1.1 on how to install an image from the official Raspberry Pi website.
  • Page 21: Installation Instructions

    5.2.1 Installation Instructions The installation requires that the emPC-A/RPI3 has booted successfully from the Raspbian image on the µSD-card prepared in chapter 5.1.1 and that you have created a backup copy of the µSD-card. For more installation instructions visit: https://github.com/janztec/empc-arpi-linux-drivers/blob/master/README.md...
  • Page 22: Spi-Bcm2835 : Spi Driver (Optimized For Empc-A/Rpi3)

    5.2.4.3 sc16is7xx : RS232/RS485 driver (optimized for emPC-A/RPI3) By default the emPC-A/RPI3 is configured to RS232 mode (Jumper J301 is set). If you want to use RS485 mode, open the case as described in chapter 4 and remove the jumper J301 and check the following configuration: pi@raspberry ~$ sudo nano /boot/cmdline.txt...
  • Page 23: 5.2.4.4 Rtc-Ds1307 : Rtc

    5.2.4.4 rtc-ds1307 : RTC MCP7940N RTC is compatible with the rtc-ds1307 Linux driver (supported from kernel 3.19). The emPC-A/RPI3 installation installs the RTC service, so that the RTC automatically sets the system time on every boot. Reading the RTC time:...
  • Page 24: Janz Tec Ag Linux Image For Empc-A/Rpi3

    Even with the standard Raspbian operating system without any modifications, the CODESYS Control for Raspberry Pi SL can control all digital IOs on the emPC-A/RPI3 by using the GPIO device already included in the CODESYS device repository. (Red and green LED also controllable by this GPIO device).
  • Page 25: 5.5.1.1 Information

    (Hardware and Software Manual) • Operating System and Drivers 5 - 23 CODESYS Features Standard Raspbian Raspbian emPC-A/RPI3 driver package CAN/CANopen *1 not supported supported (using SocketCan) Modbus RTU Master *2 console (RS232, 2wire) console (RS232, 2wire) serial port RS232 (4wire)
  • Page 26: Programming Information

    This chapter gives technical information on how to program, or adapt existing Linux drivers to the emPC-A/RPI3 hardware and is intended for users familiar with creating own Linux kernels and drivers. For standard Linux users, optionally our emPC-A/RPI3 driver package (chapter 5.2) is available and this already includes all required drivers, therefore no driver programming is needed to use the emPC- A/RPI3 hardware and it’s interfaces.
  • Page 27: Can

    (Hardware and Software Manual) • Programming Information 6 - 25 The CAN controller is clocked by a 16 MHz crystal. Serial Port (RS232/RS485) The UART is clocked by a 1.8432 MHz oscillator. When in RS485 mode, the transmitter is controlled by the UART’s RTS# signal. A low enables the transmitter.
  • Page 28: Overclocking

    (Hardware and Software Manual) • Programming Information 6 - 26 Overclocking The thermal design of the emPC-A/RPI3 does not support CPU overclocking. Changing the CPU parameters (CPU MHz, Voltage) is not recommended as it will permanently set a fuse in your SoC and void your warranty.
  • Page 29: Appendices

    (Hardware and Software Manual) • Appendices 7 - 27 Appendices Technical Data Only Raspberry features usable on emPC-A/RPI3 are listed. Processing Core BCM2837, up to 1200MHz quad-core 64bit ARMv8 Cortex A53 CPU Memory Main Memory 1GB LPDDR2 SDRAM Storage...
  • Page 30 -25 .. 60 C° but the Raspberry Pi board is the limiting factor. The emPC-A/RPI3 uses a passive heat sink on the BCM2837 chip and therefore is it not possible to use all of the computation performance the BCM2837 provides. The CPU power consumption ranges from 1.5 W (average when idle) to 6.7 W (maximum...
  • Page 31 (Hardware and Software Manual) • Appendices 7 - 29 Protection Class IP20 Physical Dimensions Size (WxHxD) 99.8 x 30.0 x 96.7 mm Weight 200g Rev. 1.3 © Janz Tec AG...
  • Page 32: References

    (Hardware and Software Manual) • Appendices 7 - 30 References These references direct you to manuals and specifications that you might need to know when you attempt to program the product. Most of the documents can be downloaded from the Internet. Look for the WWW servers of the component/chip manufacturers.
  • Page 33: Dimensions

    91,70 mm 4,00 mm Rail Clip 2,60 mm 11,00 mm figure 9: housing dimensions The emPC-A/RPI3 is delivered with the following mounting options: • DIN rail clip (not assembled) • Wall mount bracket (not assembled • Self-adhesive rubber bumpers (not assembled) Note, that you will not normally use both the DIN rail clip and the wall mount bracket at the same time.
  • Page 34: Raspberry Gpio Header

    (Hardware and Software Manual) • Appendices 7 - 32 Raspberry GPIO Header Pin Number Raspberry emPC-A/RPI3 Direction +3.3V GPIO2 I2C-SDA Bidir GPIO3 I2C-SCL Bidir GPIO4 EEP_WP GPIO14 Console TxD GPIO15 Console RxD GPIO17 INT_UART# GPIO18 GPIO27 GPIO22 GPIO23 +3.3V...
  • Page 35: Emc Cable Installation

    (Hardware and Software Manual) • Appendices 7 - 33 EMC Cable Installation In figure 10 we show the EMC shield (PE) connection that we utilized during EMC compatibility tests to pass industrial level immunity. • Connect PE from the multi connector to the EMC shield (DIN rail) •...
  • Page 36: Product History

    (Hardware and Software Manual) • Appendices 7 - 34 Product History Version Release Name Changes Date • 2016-10-13 • No functional change: The Multi IO connector now has a descriptive label. Manual History Version Release Name Changes Date • Initial release 2015-10-05 •...

Table of Contents