nrf54L15的串口及相关配置
根据网页资料(https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/uarte.html#d1754e919),串口并不能随便定义IO,而是由有一定的限制,具体如下:
Configuration
| Instance | Domain | Configuration |
|---|---|---|
| UARTE00 : S UARTE00 : NS | GLOBAL | Use dedicated pins on GPIO port P2The core frequency scales with the CPU frequency, see PLL.FREQ (Retained)Supports up to 4 MbpsTimeout interrupt is included.Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.Peripheral clock frequency is 128 MHz. |
| UARTE20 : S UARTE20 : NS | GLOBAL | Use GPIO port P1, or dedicated pins on P2Timeout interrupt is included.Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.Peripheral clock frequency is 16 MHz. |
| UARTE21 : S UARTE21 : NS | GLOBAL | Use GPIO port P1, or dedicated pins on P2Timeout interrupt is included.Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.Peripheral clock frequency is 16 MHz. |
| UARTE22 : S UARTE22 : NS | GLOBAL | Use GPIO port P1Timeout interrupt is included.Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.Peripheral clock frequency is 16 MHz. |
| UARTE30 : S UARTE30 : NS | GLOBAL | Use GPIO port P0Timeout interrupt is included.Supports data frame sizes 4, 5, 6, 7, 8, and 9 bits.Peripheral clock frequency is 16 MHz. |
关于nrf54l15这类芯片的引脚定义,nordic官方员工出的网页调整方案,可以图形化配置IO,具体网址:https://pinplanner.app/