LPUART1 not functioning in LS1021A-IOT Board Rev1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPUART1 not functioning in LS1021A-IOT Board Rev1

Jump to solution
1,214 Views
pranavmadhu
Contributor IV

Hi,

I'm new to yocto projects. I'm having an LS1021A-IOT Board rev1, and yocto sdk v1.8. The UART1 in the board is working properly while using the default RCW.

00000000: 0608000a 00000000 00000000 00000000
00000010: 20000000 08407900 60025a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 20024800 881b1340 00000000 00000000

I've edited the RCW to enable LPUART1 as

00000000: 0608000a 00000000 00000000 00000000
00000010: 20000000 08407900 60025a00 21046000
00000020: 00000000 00000000 00000000 10038000
00000030: 20024800 881b1340 00000000 00000000

While using the modified RCW in our board, we are not getting u-boot as well as filesystem console in UART1, but kernel prints are getting. I've also probed the 1st and 2nd (LPUART1 SIN & SOUT) pin in J17 connector, but I didn't notice any deflection. Can you please help me to solve this problem?

LPUART1 support is enabled in the device tree source

in ls1021a.dtsi,

    lpuart0: serial@2950000 {
   compatible = "fsl,ls1021a-lpuart";
   reg = <0x2950000 0x1000>;
   interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
   clocks = <&sysclk>;
   clock-names = "ipg";
   status = "disabled";
  

};

and in ls1021a-iot.dts file as

     &lpuart0 {

         status = "okay";

     };

1 Solution
945 Views
prabinca4u
Contributor III

I just Found this is an erratum of SOC Rev 1. ie uart1 is enabled along with LPUART or UART2 make uart is malfunction......!

This is solved in rev 2 SOC.

View solution in original post

5 Replies
946 Views
prabinca4u
Contributor III

I just Found this is an erratum of SOC Rev 1. ie uart1 is enabled along with LPUART or UART2 make uart is malfunction......!

This is solved in rev 2 SOC.

945 Views
pranavmadhu
Contributor IV

Thanks Prabin... I think this issue may be resolved in rev2. Thanks for your effort...

945 Views
prabinca4u
Contributor III

You are welcome :smileyhappy:

0 Kudos
945 Views
nikhilprakash
Contributor IV

I am also having the same issue!

0 Kudos
945 Views
prabinca4u
Contributor III

I Have the same issue on my ls1021a-iot board rev1....Thanks for posting this forum.....!

0 Kudos