Connect cross power-domain to UART00 on P2 of nRF54L15 DK

Hi there!

May I know how to have UART00 on P2 like what is shown below as I wanted to have higher speed.

Is it the same as other UART assignments on P0 and P1?

Thanks!

Parents Reply Children
  • Thank you for uploading!

    Hmm... Yes, I see that it uses 921600 baudrate. 

    I also noticed that it says in the top row from here:

    https://docs.nordicsemi.com/bundle/ps_nrf54L15/page/uarte.html#d1900e814

    That the core frequency scales with the CPU frequency, which happens to be 8 times faster than the frequency of the other UART instance. So there is probably the reason. This however, in my opinion, should be compensated for when setting the baud rate in DeviceTree (your DTS file). 

    I will ask our developers if this is the intended behavior. 

    By the way, I see that you modified the .dts file directly. While it works, it is not the intended way to change something in devicetree. The intended way is to copy whatever you want to change from the .dts or .dtsi files, create your own file called <board_name>.overlay, and place it in your application folder. (in this case, that would be nrf54l15dk_nrf54l15_cpuapp.overlay), and paste whatever you want to modify into that file. Then, in the overlay file, you can change whatever you want to. I'll attach your modified project, including the .overlay file, for reference. 

    8270.UART_TEST.zip

    Best regards,

    Edvin

  • Hi there!

    Thanks for the hint regarding overlay file.

    On the other hand, are you able to use P2.06 as Rx? If yes, could you share what you have made with me so I could follow? Thanks!

  • Sorry. I missed that part.

    You can't use P2.06 for UARTE00. You can look in the pin Assignment (Table 3) on this site what pins you can use for UARTE00. On P2, you can use:

    P2.00
    P2.02
    P2.04
    P2.05
    P2.07
    P2.08
    P2.09
    P2.10

    I tested just now, and it worked only replacing this line:

    psels = <NRF_PSEL(UART_TX, 2, 8)>, <NRF_PSEL(UART_RX, 2, 6)>;

    with e.g.

    psels = <NRF_PSEL(UART_TX, 2, 8)>, <NRF_PSEL(UART_RX, 2, 7)>;

    Best regards,

    Edvin

  • Hi there! 

    Thanks for the reply.

    Is there any chance to use P2.06 on UARTE00? I understand this pin is not dedicated pin on P2 but P1.04 and P1.05 are also not dedicated ones on P1 which they can still be used as UARTE20 in UART sample code. My point is all mentioned  pins are not dedicated ones based on the pin assignment table but why there is freedom on P1 but P2? 

    Regarding the baud rate problem, please kindly update to me when there is feedback from the developer

    Thanks a lot!

  • Archiet said:
    Is there any chance to use P2.06 on UARTE00?

    That doesn't seem to work.

    I will update you when I know more about the baudrate issue.

    BR,

    Edvin

Related