Using Iono Pi Max; Real Time Clock; Rs-232 Serial Port; Rs-485 Serial Port - Sferalabs Iono Pi Max v2 3+ Lite User Manual

Hide thumbs Also See for Iono Pi Max v2 3+ Lite:
Table of Contents

Advertisement

Using Iono Pi Max

Most of the features discussed in this chapter are based on features implemented on our
firmware code running on the SAME54 microcontroller.
The microcontroller can be programmed with user developed custom firmware, that could
replace the factory installed version. The "Firmware upload and MCU programming"
chapter below shows how to install and configure the programming tools on Raspberry Pi
OS or other similar Linux distributions.
WARNING
The microcontroller firmware implements critical logic and checks to ensure safe and
reliable operations of Iono Pi Max including, but not limited to, fan control for heat
dissipation, the battery charger logic, the VSO regulator control, watchdog, µSD switch
matrix control, power distribution voltages, currents and interna temperature monitoring.
In order to develop a safe and reliable custom firmware, you should be fully aware of the
internal hardware architecture of Iono Pi Max, and of all safety and control requirements
needed for your application and installation constraints.

Real Time Clock

Iono Pi Max has a hardware real time clock with a dedicated long-life non-rechargeable
back-up battery.
Once the RTC driver is properly installed, you will simply use the date and time commands
to control the hardware clock.
Note that, while by default the RTC chip is connected to the Pi's I2C bus, it could be re-
routed, using custom firmware, to the SAME54 I2C bus (DMZ_I2C).

RS-232 serial port

Iono Pi Max uses the Raspberry Pi standard UART TX/RX pins on the GPIO connector to
implement a standard RS-232 port, without hardware flow control. This port is not
galvanically isolated. The Pi main UART is accessed as /dev/ttyAMA0 in Raspberry Pi OS.
The RS-232 port can be alternatively routed to the microcontroller and used locally by
custom firmware, or made available to the Raspberry Pi as a USB serial device (/dev/
ttyACM0), instead of the RS-485, using the serial/rs232_rs485_inv sysfs kernel module file
(I2C control register 26).

RS-485 serial port

Iono Pi Max implements a standard RS-485 port, routed to the microcontroller and made
available to the Raspberry Pi as a USB serial device (/dev/ttyACM0).
25
Iono Pi Max User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Iono Pi Max v2 3+ Lite and is the answer not in the manual?

Questions and answers

Table of Contents