sipeed / MaixPy-v1

MicroPython for K210 RISC-V, let's play with edge AI easier
https://wiki.sipeed.com/maixpy
Other
1.68k stars 439 forks source link

UART dont run #459

Open fmaesso opened 2 years ago

fmaesso commented 2 years ago

Hi, I'm using Maix bit and remaped the uart1 to pins15 and 26. When I test my script with IDE everything run fine sendig data to uart1, but when save it in the board and running stand alone the data is not sent to UART1. What I losted ? Can one help me?

fm.register(15, fm.fpioa.UART1_RX, force=True) fm.register(26, fm.fpioa.UART1_TX, force=True)

uart1 = UART(UART.UART1, 115200, 8, None, 1, timeout=1000, read_buf_len=1024)

thanks