DHCOR STM32MP1 Linux: Difference between revisions

From Wiki-DB
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
Testpage under construction
'''PAGE IS UNDER CONSTRUCTION!'''
 
== Linux Userspace Commands ==
 
:'''Unsing the internal RTC'''
The internal RTC of the STM32MP1 is reachable via the following commands:
:{| class="wikitable" style="width: 400px"
||Read||# hwclock -w
|}
 
 
 
 
 





Revision as of 07:33, 22 July 2020

PAGE IS UNDER CONSTRUCTION!

Linux Userspace Commands

Unsing the internal RTC

The internal RTC of the STM32MP1 is reachable via the following commands:

Read # hwclock -w




RS-485 on picoITX

RS-485 device
DHCOM UART 2 /dev/ttySTM2
Compilation on target
gcc tty_rs485_test.c -o tty_rs485_test
Set tty device to raw mode
stty -F /dev/ttySTM2 115200 cs8 raw -echo
Send data with demo program
./tty_rs485_test /dev/ttySTM2
Receive data with demo program
./tty_rs485_test /dev/ttySTM2
Download example source code