Hi,
I'm currently woking on transmitting image data by UART connection with the NanoPi M4,
but I couldn't send data from '/dev/ttyS4', which is offered as for UART connection.
I used pyserial in python to use UART but no change has been detected the pin #19 by the oscilloscope.
Do I have to enable the UART somehow?
If I can use UART with NanoPi M4, I would say this machine is so fantastic.
Main DT is the file located in /boot/dtb/rockchip/rk3399-nanopi4-rev01.dtb.
You need to decompile it into DTS as rk3399-nanopi4-rev01.dts, edit it to change ' status="okay"; ' into ' status="disabled"; ' for the UART.
Then, for the SPI, you need to turn it ON with ' status="okay"; ', but also need to add SPIDEV into this node :
spi@ff1c0000 {
[ ... more stuff here ... ]
status = "okay";
spidev {
compatible = "spidev";
status