You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UART 2 Disable port edit by convert sg2002_licheervnano_sd.dtb to sg2002_licheervnano_sd.dts
sg2002_licheervnano_sd.dts change disable to okay
complier to dtb file and replace original dtb file and reboot
LicheeRVNano can't user ttyS1 ttyS2 ttyS3 ttyS4
test on ttyS0 serial terminal work
test python3 code send data on ttyS1 ttyS2 ttyS3 ttyS4 not work
how to config pin as serial port ?
import serial
import time
try :
print_ser = serial.Serial('/dev/ttyS1', 115200, timeout=1)
while True :
print_ser.write(b'test send')
time.sleep(1)
except :
print("Fail open port")
print_ser.close()
https://raw.githubusercontent.com/sophgo/sophgo-hardware/refs/heads/master/SG200X/03_SG2000/04_SG2000_PINOUT.xlsx
The text was updated successfully, but these errors were encountered: