i.MX RT1060 UART FIFO does not work

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

i.MX RT1060 UART FIFO does not work

Jump to solution
5,214 Views
Mark16
Contributor II

I want to send 120 bytes via UART1 with an i.MX RT1060 (MIMXRT1061CVJ5B) using the FIFO. I've set the TX FIFO to 256 bytes, but it's not working. Is this a processor bug?

0 Kudos
Reply
1 Solution
5,064 Views
Mark16
Contributor II

Hello,
As I said, I can't do anything with these bloated examples,
because I need complete control over the module,
and many important functions aren't included in the API.

But I was able to solve it after all:
an important control bit "DREQ" wasn't set:

Mark16_0-1745993157494.pngMark16_0-1745993157494.png

Now it's running like crazy
It's a great machine, but the API is completely inadequate...
Thanks for your effort.
Regards, Mark

 

View solution in original post

9 Replies
5,132 Views
Mark16
Contributor II

That's a bit disappointing.

Now they've built this mega-machine,
with amazing features,
and then they're skimping on the UART FIFO.

Why is that?

Even my old LPC2478 had a larger UART FIFO of 16 bytes.

I want my money back

Then I guess I'll have to pump the data via eDMA...

 

0 Kudos
Reply
5,105 Views
mayliu1
NXP Employee
NXP Employee

Hi @Mark16 ,

Thanks for your reply.

The LPUART FIFO size of the RT1060 processor is also 16 bytes. Could you share with me the application requirements for a larger FIFO size?  and could you tell me your point of confusion? I can forward your requirements to the NXP internal team.

You mentioned that "using LPUART + DMA " is also an effective transmission method. The NXP SDK demos have  a lot of examples for you to use.

Best Regards

MayLiu

0 Kudos
Reply
5,092 Views
Mark16
Contributor II

Hello,
I'm not confused.
I just want to send 120 bytes over UART1 every 100ms,
with minimal overhead, i.e., without interrupts, etc.
With a 256-byte FIFO, this would be super easy.
With a 4-byte FIFO, it won't work without interrupts or polling.

I've been trying to solve it with the famous eDMA for 5 days now,
but I've completely failed.
I've read the relevant chapters in the manual several times,
but a lot remains unclear.

The example programs in the SDK and the drivers in "fsl_lpuart_edma,"
"fsl_edma," etc., are incredibly bloated, deeply nested,
and can only be used in a specific way.
They're useless for simple, straightforward applications.

I have 25 years of professional experience as an embedded programmer,
with a wide variety of processors,
but I've never experienced anything like this.

Please explain to me how to set the registers for UART1 and eDMA to easily send 120 bytes over UART1.
Please use "bare metal" style, e.g.:

LPUART1->CTRL = ?
etc...
DMA0->SERQ = ?
etc...
DMA0->TCD[0].SADDR = ?
etc...

0 Kudos
Reply
5,072 Views
mayliu1
NXP Employee
NXP Employee

Hi @Mark16 ,

 

Thanks for your reply.

The SDK demo provides  API functions that you can call directly, which is more convenient and quicker  than you set set the registers.
 
I did a test for you, I think you can refer to it. I have send detail information to you Email(
 
Due to NXP the latest policy, I can not send your code directly, but I can send you picture).
 

Wish it helps you.
If you still have question about it, please kindly let me know.

Wish you a nice day!

Best Regards
MayLiu

0 Kudos
Reply
5,065 Views
Mark16
Contributor II

Hello,
As I said, I can't do anything with these bloated examples,
because I need complete control over the module,
and many important functions aren't included in the API.

But I was able to solve it after all:
an important control bit "DREQ" wasn't set:

Mark16_0-1745993157494.pngMark16_0-1745993157494.png

Now it's running like crazy
It's a great machine, but the API is completely inadequate...
Thanks for your effort.
Regards, Mark

 

5,176 Views
Mark16
Contributor II

Where can i set the value?

In the Config Tool?

0 Kudos
Reply
5,188 Views
mayliu1
NXP Employee
NXP Employee

Hi @Mark16 ,

Thank you so much for your interest in our products and for using our community.

Question: I want to send 120 bytes via UART1 with an i.MX RT1060 (MIMXRT1061CVJ5B) using the FIFO. I've set the TX FIFO to 256 bytes, but it's not working. Is this a processor bug?

Answer:

This is not a processor bug.

In IMXRT1060RM,   The maximum number of transmit/receive datawords that can be stored in the TXFIFOSIZE/RXFIFOSIZE.

https://www.nxp.com/webapp/Download?colCode=IMXRT1060RM&location=null

mayliu1_1-1745719711189.pngmayliu1_1-1745719711189.png

mayliu1_2-1745719917366.pngmayliu1_2-1745719917366.png

I run a  SDK demo on MIMXRT1060-EVK board for you to better understand.

The LPUART RXFIFOSIZE / TXFIFOSIZE  value are 4 datawords.  The value in RXWATER and TXWATER must be set to be less than the receive FIFO/buffer and transmit buffer/FIFO size

mayliu1_0-1745719605924.pngmayliu1_0-1745719605924.png

The value you set the TX FIFO to 256 bytes are not correct value, Please set the value based on the MIMXRT1060RM.

 

Wish it helps you.
If you still have question about it, please kindly let me know.

Wish you a nice day!

Best Regards
MayLiu

0 Kudos
Reply
5,176 Views
Mark16
Contributor II
Where can i set the value?
In the Config Tool?
0 Kudos
Reply
5,170 Views
mayliu1
NXP Employee
NXP Employee

Hi @Mark16 ,

Thanks for your updated information.

LPUART TXFIFOSIZE/RXFIFOSIZE size is fixed, you can not modify it.

The value in RXWATER and TXWATER must be set to be less than the receive FIFO/buffer and transmit buffer/FIFO size, it means the value in RXWATER and TXWATER must be set to be less than 4  datawords.

Best Regards
MayLiu

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2087539%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2087539%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20want%20to%20send%20120%20bytes%20via%20UART1%20with%20an%20i.MX%20RT1060%20(MIMXRT1061CVJ5B)%20using%20the%20FIFO.%20I've%20set%20the%20TX%20FIFO%20to%20256%20bytes%2C%20but%20it's%20not%20working.%20Is%20this%20a%20processor%20bug%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2089858%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2089858%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EAs%20I%20said%2C%20I%20can't%20do%20anything%20with%20these%20bloated%20examples%2C%3CBR%20%2F%3Ebecause%20I%20need%20complete%20control%20over%20the%20module%2C%3CBR%20%2F%3Eand%20many%20important%20functions%20aren't%20included%20in%20the%20API.%3C%2FP%3E%3CP%3EBut%20I%20was%20able%20to%20solve%20it%20after%20all%3A%3CBR%20%2F%3Ean%20important%20control%20bit%20%22DREQ%22%20wasn't%20set%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Mark16_0-1745993157494.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22Mark16_0-1745993157494.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F335720iAADC6C5F7F5526ED%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22Mark16_0-1745993157494.png%22%20alt%3D%22Mark16_0-1745993157494.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3EMark16_0-1745993157494.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3ENow%20it's%20running%20like%20crazy%20%3CLI-EMOJI%20id%3D%22lia_winking-face%22%20title%3D%22%3Awinking_face%3A%22%3E%3C%2FLI-EMOJI%3E%3CBR%20%2F%3EIt's%20a%20great%20machine%2C%20but%20the%20API%20is%20completely%20inadequate...%3CBR%20%2F%3EThanks%20for%20your%20effort.%3CBR%20%2F%3ERegards%2C%20Mark%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2089802%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2089802%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F249842%22%20target%3D%22_blank%22%3E%40Mark16%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EThanks%20for%20your%20reply.%3C%2FP%3E%0A%3CDIV%3EThe%20SDK%20demo%20provides%26nbsp%3B%20API%20functions%20that%20you%20can%20call%20directly%2C%20which%20is%20more%20convenient%20and%20quicker%26nbsp%3B%20than%20you%20set%20set%20the%20registers.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EI%20did%20a%20test%20for%20you%2C%20I%20think%20you%20can%20refer%20to%20it.%20I%20have%20send%20detail%20information%20to%20you%20Email(%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EDue%20to%20NXP%20the%20latest%20policy%2C%20I%20can%20not%20send%20your%20code%20directly%2C%20but%20I%20can%20send%20you%20picture).%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3E%0A%3CP%3EWish%20it%20helps%20you.%3CBR%20%2F%3EIf%20you%20still%20have%20question%20about%20it%2C%20please%20kindly%20let%20me%20know.%3C%2FP%3E%0A%3CP%3EWish%20you%20a%20nice%20day!%3C%2FP%3E%0A%3CP%3EBest%20Regards%3CBR%20%2F%3EMayLiu%3C%2FP%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2088979%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2088979%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3EI'm%20not%20confused.%3CBR%20%2F%3EI%20just%20want%20to%20send%20120%20bytes%20over%20UART1%20every%20100ms%2C%3CBR%20%2F%3Ewith%20minimal%20overhead%2C%20i.e.%2C%20without%20interrupts%2C%20etc.%3CBR%20%2F%3EWith%20a%20256-byte%20FIFO%2C%20this%20would%20be%20super%20easy.%3CBR%20%2F%3EWith%20a%204-byte%20FIFO%2C%20it%20won't%20work%20without%20interrupts%20or%20polling.%3C%2FP%3E%3CP%3EI've%20been%20trying%20to%20solve%20it%20with%20the%20famous%20eDMA%20for%205%20days%20now%2C%3CBR%20%2F%3Ebut%20I've%20completely%20failed.%3CBR%20%2F%3EI've%20read%20the%20relevant%20chapters%20in%20the%20manual%20several%20times%2C%3CBR%20%2F%3Ebut%20a%20lot%20remains%20unclear.%3C%2FP%3E%3CP%3EThe%20example%20programs%20in%20the%20SDK%20and%20the%20drivers%20in%20%22fsl_lpuart_edma%2C%22%3CBR%20%2F%3E%22fsl_edma%2C%22%20etc.%2C%20are%20incredibly%20bloated%2C%20deeply%20nested%2C%3CBR%20%2F%3Eand%20can%20only%20be%20used%20in%20a%20specific%20way.%3CBR%20%2F%3EThey're%20useless%20for%20simple%2C%20straightforward%20applications.%3C%2FP%3E%3CP%3EI%20have%2025%20years%20of%20professional%20experience%20as%20an%20embedded%20programmer%2C%3CBR%20%2F%3Ewith%20a%20wide%20variety%20of%20processors%2C%3CBR%20%2F%3Ebut%20I've%20never%20experienced%20anything%20like%20this.%3C%2FP%3E%3CP%3EPlease%20explain%20to%20me%20how%20to%20set%20the%20registers%20for%20UART1%20and%20eDMA%20to%20easily%20send%20120%20bytes%20over%20UART1.%3CBR%20%2F%3EPlease%20use%20%22bare%20metal%22%20style%2C%20e.g.%3A%3C%2FP%3E%3CP%3ELPUART1-%26gt%3BCTRL%20%3D%20%3F%3CBR%20%2F%3Eetc...%3CBR%20%2F%3EDMA0-%26gt%3BSERQ%20%3D%20%3F%3CBR%20%2F%3Eetc...%3CBR%20%2F%3EDMA0-%26gt%3BTCD%5B0%5D.SADDR%20%3D%20%3F%3CBR%20%2F%3Eetc...%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2088790%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2088790%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F249842%22%20target%3D%22_blank%22%3E%40Mark16%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThanks%20for%20your%20reply%3C%2FSPAN%3E%3CSPAN%3E.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20LPUART%20FIFO%20size%20of%20the%20RT1060%20processor%20is%20also%2016%20bytes.%20Could%20you%20share%20with%20me%20the%20application%20requirements%20for%20a%20larger%20FIFO%20size%3F%26nbsp%3B%20and%20could%20you%20tell%20me%20your%20point%20of%20confusion%3F%20I%20can%20forward%20your%20requirements%20to%20the%20NXP%20internal%20team.%20%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EYou%20mentioned%20that%20%22using%20LPUART%20%2B%20DMA%20%22%20is%20also%20an%20effective%20transmission%20method.%20The%20NXP%20SDK%20demos%20have%26nbsp%3B%20a%20lot%20of%20examples%20for%20you%20to%20use.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EMayLiu%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2088044%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2088044%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EThat's%20a%20bit%20disappointing.%3C%2FP%3E%3CP%3ENow%20they've%20built%20this%20mega-machine%2C%3CBR%20%2F%3Ewith%20amazing%20features%2C%3CBR%20%2F%3Eand%20then%20they're%20skimping%20on%20the%20UART%20FIFO.%3C%2FP%3E%3CP%3EWhy%20is%20that%3F%3C%2FP%3E%3CP%3EEven%20my%20old%20LPC2478%20had%20a%20larger%20UART%20FIFO%20of%2016%20bytes.%3C%2FP%3E%3CP%3EI%20want%20my%20money%20back%20%3CLI-EMOJI%20id%3D%22lia_winking-face%22%20title%3D%22%3Awinking_face%3A%22%3E%3C%2FLI-EMOJI%3E%3C%2FP%3E%3CP%3EThen%20I%20guess%20I'll%20have%20to%20pump%20the%20data%20via%20eDMA...%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2087759%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2087759%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F249842%22%20target%3D%22_blank%22%3E%40Mark16%3C%2FA%3E%26nbsp%3B%EF%BC%8C%3C%2FP%3E%0A%3CP%3EThanks%20for%20your%20updated%20information.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ELPUART%20TXFIFOSIZE%2FRXFIFOSIZE%20size%20is%20fixed%2C%20you%20can%20not%20modify%20it.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20value%20in%20RXWATER%20and%20TXWATER%20must%20be%20set%20to%26nbsp%3Bbe%20less%20than%20the%20receive%20FIFO%2Fbuffer%20and%20transmit%20buffer%2FFIFO%20size%2C%20it%20means%20the%20value%20in%20RXWATER%20and%20TXWATER%20must%20be%20set%20to%26nbsp%3Bbe%20less%20than%204%26nbsp%3B%20datawords.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EBest%20Regards%3CBR%20%2F%3EMayLiu%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2087699%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2087699%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhere%20can%20i%20set%20the%20value%3F%3C%2FP%3E%3CP%3EIn%20the%20Config%20Tool%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2087698%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2087698%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EWhere%20can%20i%20set%20the%20value%3F%3CBR%20%2F%3EIn%20the%20Config%20Tool%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2087637%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20i.MX%20RT1060%20UART%20FIFO%20does%20not%20work%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2087637%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F249842%22%20target%3D%22_blank%22%3E%40Mark16%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20so%20much%20for%20your%20interest%20in%20our%20products%20and%20for%20using%20our%20community.%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EQuestion%3A%20I%20want%20to%20send%20120%20bytes%20via%20UART1%20with%20an%20i.MX%20RT1060%20(MIMXRT1061CVJ5B)%20using%20the%20FIFO.%20I've%20set%20the%20TX%20FIFO%20to%20256%20bytes%2C%20but%20it's%20not%20working.%20Is%20this%20a%20processor%20bug%3F%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EAnswer%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThis%20is%20not%20a%20processor%20bug.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EIn%20IMXRT1060RM%2C%20%26nbsp%3B%26nbsp%3BThe%20maximum%20number%20of%20transmit%2Freceive%20datawords%20that%20can%20be%20stored%20in%20the%20TXFIFOSIZE%2FRXFIFOSIZE.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DIMXRT1060RM%26amp%3Blocation%3Dnull%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwww.nxp.com%2Fwebapp%2FDownload%3FcolCode%3DIMXRT1060RM%26amp%3Blocation%3Dnull%3C%2FA%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_1-1745719711189.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_1-1745719711189.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F335011i41E3F86723E22104%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_1-1745719711189.png%22%20alt%3D%22mayliu1_1-1745719711189.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Emayliu1_1-1745719711189.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_2-1745719917366.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_2-1745719917366.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F335012i5B70882614F0BA9A%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_2-1745719917366.png%22%20alt%3D%22mayliu1_2-1745719917366.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Emayliu1_2-1745719917366.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3EI%20run%20a%26nbsp%3B%20SDK%20demo%20on%26nbsp%3BMIMXRT1060-EVK%20board%20for%20you%20to%20better%20understand.%3C%2FP%3E%0A%3CP%3EThe%20LPUART%20RXFIFOSIZE%20%2F%20TXFIFOSIZE%26nbsp%3B%20value%20are%204%20datawords.%26nbsp%3B%26nbsp%3BThe%20value%20in%20RXWATER%20and%20TXWATER%20must%20be%20set%20to%26nbsp%3Bbe%20less%20than%20the%20receive%20FIFO%2Fbuffer%20and%20transmit%20buffer%2FFIFO%20size%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_0-1745719605924.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1745719605924.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F335010i39CD4E558A853210%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1745719605924.png%22%20alt%3D%22mayliu1_0-1745719605924.png%22%20%2F%3E%3Cspan%20class%3D%22lia-inline-image-caption%22%20onclick%3D%22event.preventDefault()%3B%22%3Emayliu1_0-1745719605924.png%3C%2Fspan%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3EThe%20value%20you%20set%20the%20TX%20FIFO%20to%20256%20bytes%20are%20not%20correct%20value%2C%20Please%20set%20the%20value%20based%20on%20the%20MIMXRT1060RM.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EWish%20it%20helps%20you.%3CBR%20%2F%3EIf%20you%20still%20have%20question%20about%20it%2C%20please%20kindly%20let%20me%20know.%3C%2FP%3E%0A%3CP%3EWish%20you%20a%20nice%20day!%3C%2FP%3E%0A%3CP%3EBest%20Regards%3CBR%20%2F%3EMayLiu%3C%2FP%3E%3C%2FLINGO-BODY%3E