i.MX Forums i.MX RT1170: Max Size of Ring Buffer in UART

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

i.MX Forums i.MX RT1170: Max Size of Ring Buffer in UART

Jump to solution
286 Views
MN19000
Contributor III

I am trying to use UART Ring Buffer. But I can not find it in documentations.

What is the Max size of Ring Buffer I can use for UART communication?

 

Thanks

 

Labels (1)
Tags (1)
0 Kudos
1 Solution
271 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @MN19000 ,

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

  The Ring buffer size is determined by your requirement, so, the max size is determined by your definition.

In the SDK, size_t ringBufferSize

typedef unsigned int size_t;

I think the unsigned init size is enough to you.

Wish it helps  you!

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

Best Regards,

kerry

View solution in original post

0 Kudos
3 Replies
209 Views
MN19000
Contributor III

Thank you kerry. 

This solved my problem, please close this case. 

0 Kudos
190 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @MN19000 ,

  Thanks so much, please help to mark the correct answer to close this case, thanks.

Any new issues, welcome to create the new question post.

Best Regards,

Kerry

0 Kudos
272 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @MN19000 ,

  Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.

  The Ring buffer size is determined by your requirement, so, the max size is determined by your definition.

In the SDK, size_t ringBufferSize

typedef unsigned int size_t;

I think the unsigned init size is enough to you.

Wish it helps  you!

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

Best Regards,

kerry

0 Kudos