
5 - 20
emVIEW-7/RPI3
(
Hardware and Software Manual
)
•
Operating System and Drivers
©
Janz Tec AG
Rev. 1.0
To automatically install all configuration entries and drivers to enable the additional features of the
emVIEW-7/RPI3 (RTC, CAN and RS232/RS485), we provide an installation script and installation
instructions available at:
https://github.com/janztec/empc-arpi-linux-drivers
All
source
code
modifications
made
by
Janz
Tec
AG
are
publicly
available
at
https://github.com/janztec/empc-arpi-linux
.
5.2.1
Installation Instructions
The installation requires that the emVIEW-7/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
5.2.2
CPU Frequency
CPU frequency is set to fixed 600MHz in file /boot/config.txt. See 7.1
“Environmental Specifications”
for more information:
root@raspberry ~$
nano /boot/config.txt
arm_freq=600
5.2.3
Bluetooth
Bluetooth is not available after installing this driver package.
The reason is, that the Raspberry PI 3B module has internally two serial ports. Normally the Raspbian
image has the following configuration:
Serial console (uart1)
: this uses the core clock and when the CPU core clock changes, the baud rate
will change also
Bluetooth (uart0)
: this UART has larger FIFOs and a dedicated clock, so the baud rate is not
dependent on the CPU core clock
In favour of the serial console, we have configured that the two serial ports are switched. Serial
console then uses uart0 and Bluetooth uses uart1. This is configured in file /boot/config.txt.
With this configuration setting, serial console works the same as on the Raspberry PI 2B, but
Bluetooth does not work correctly.
root@raspberry ~$
nano /boot/config.txt
dtoverlay=pi3-miniuart-bt
5.2.4
Driver Details
The following drivers are automatically installed by our driver installation script:
5.2.4.1 spi-bcm2835 : SPI driver (optimized for emVIEW-7/RPI3)
CAN and RS232/RS485 controllers are connected by SPI to the Raspberry PI board and we have
optimized the default Raspberry SPI (spi-bcm2835) driver for better performance.
5.2.4.2 mcp2515 : CAN driver (optimized for emVIEW-7/RPI3)