I am trying to use uart21 on nrf54L15-PDK.
And I have try some port 1 pins already, and they works well.
However, we need to use port2 pin 7 & pin 8 for uart21.
But I get framing error when I change TX/RX pins to p2.07 & p2.08.
And I have tried different UART pins setting:
&pinctrl {
21_default: uart21_default {
group1 {
// TX to FTDI Yellow | RX to FTDI Orange
psels = <NRF_PSEL(UART_TX, 1, 4)> , <NRF_PSEL(UART_RX, 1, 5)>; // works!
psels = <NRF_PSEL(UART_TX, 1, 4)> , <NRF_PSEL(UART_RX, 2, 8)>; // only TX work!
psels = <NRF_PSEL(UART_TX, 1, 9)> , <NRF_PSEL(UART_RX, 2, 8)>; // only TX work!
psels = <NRF_PSEL(UART_TX, 2, 8)> , <NRF_PSEL(UART_RX, 2, 7)>; // DOESNOT work!
psels = <NRF_PSEL(UART_TX, 2, 7)> , <NRF_PSEL(UART_RX, 1, 4)>; // DOESNOT work!
psels = <NRF_PSEL(UART_TX, 2, 8)> , <NRF_PSEL(UART_RX, 1, 9)>; // DOESNOT work!
psels = <NRF_PSEL(UART_TX, 2, 7)> , <NRF_PSEL(UART_RX, 2, 8)>; // DOESNOT work!
low-power-enable;
};
};
&uart21 {
status = "okay";
pinctrl-0 = <&uart21_default>;
pinctrl-names = "default";
current-speed = <1000000>;
/delete-property/ hw-flow-control;
};
/{
chosen {
zephyr,console = &uart21;
zephyr,shell-uart = &uart21;
};
};It looks like all port 1 pins are available.
And when I change one of TX/RX pins to port 2:
- "port 2 pin 8" as TX. -> I got framing error.
- "port 2 pin 7" as RX -> uart21 didn't do any response.
Is there anything I need to do on Hardware PDK or Firmware configuration in overlay file.
Thanks.
Thanks.