IMXRT1024 LPUART SET FIFO SIZE

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

IMXRT1024 LPUART SET FIFO SIZE

Jump to solution
1,745 Views
Lukas_Frank
Senior Contributor I

Hi all,

I'm setting the LPUART FIFO RX and TX sizes and it only seems to be 4 words and cannot be set to any other value.  In the RM it says maximum number of receive or transmit fifo size data word can be up to 256 words. 

How can I set it manually

Thanks and Regards.

0 Kudos
1 Solution
1,664 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @Lukas_Frank ;

 

Justo double checked with hardware team.

The RXFIFO size is 4 data words.  It is a fixed value, a hardware attribute, not configurable.

 

Regards

Daniel

View solution in original post

5 Replies
1,735 Views
danielchen
NXP TechSupport
NXP TechSupport

HI @Lukas_Frank :

 

From the reference manual , if you configure FIFO = 4, means 32 datawords.

danielchen_0-1629791880191.png

From the driver level, 32 datawords are supported.

MIMXRT1024_features.h

danielchen_1-1629791997576.png

 

Regards

Daniel

 

0 Kudos
1,727 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @Lukas_Frank 

Sorry, 

Please refer to LPUART FIFO register

danielchen_0-1629794346656.png

 

From the source code, the default RX FIFO SIZE =4,  32 data words.

You can write to the FIFO register to configure the FIFO SIZE

 

Regards

Daniel

 

0 Kudos
1,683 Views
Lukas_Frank
Senior Contributor I

Hi Dear @danielchen ,

Is it possible to set it FIFO sizes more than 32 Data Word? Is 32 the maximum value of that can be set ?

Thanks and Regards.

0 Kudos
1,665 Views
danielchen
NXP TechSupport
NXP TechSupport

Hi @Lukas_Frank ;

 

Justo double checked with hardware team.

The RXFIFO size is 4 data words.  It is a fixed value, a hardware attribute, not configurable.

 

Regards

Daniel

1,658 Views
Lukas_Frank
Senior Contributor I

Thank you Dear @danielchen ,

Healthy and Happy days all to you.

Best Regards.

0 Kudos