kendryte / k230_sdk

Kendryte K230 SDK
BSD 2-Clause "Simplified" License
170 stars 38 forks source link

[help]: How to use the uart in k230? #64

Open June-Joon opened 4 months ago

June-Joon commented 4 months ago

Help

If you look at the k230 datasheet, it says "Support 5 UART interface". I think it's probably used on the GPIO pins on the k230 board, but I'm curious how UART can be used for each pin. Is it correct to use UART using GPIO? How to configure each GPIO? Currently, /dev/uart is the only one confirmed in big core.

wangjianxin-canaan commented 2 months ago

gpio configuration plese reference https://github.com/kendryte/k230_docs/blob/main/zh/00_hardware/K230_PINOUT_V1.1_20230321.xlsx

uart please reference https://github.com/kendryte/k230_docs/blob/main/en/01_software/board/osdrv/K230_Big_Core_Low_Speed_Driver_API_Reference.md