Value of UCC receive buffer length

cancel
Showing results for 
Search instead for 
Did you mean: 

Value of UCC receive buffer length

Jump to solution
206 Views
yunyuaner
Contributor I

I'm porting ucc_uart driver from linux to a VxWorks like OS, the driver model of serial module requires a callback function to fetch 1 byte data each rx time, since ucc_uart uses buffer descriptor for tx and rx, I wonder if I can set the max receive buffer length to 1 in parameter ram MRBLR, in order to only fetch 1 byte each time?

Thanks

Jia

0 Kudos
1 Solution
166 Views
Pavel
NXP TechSupport
NXP TechSupport

Yes, your setting is correct.

Set MRBLR to 1 for fetching 1 byte each time.


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
167 Views
Pavel
NXP TechSupport
NXP TechSupport

Yes, your setting is correct.

Set MRBLR to 1 for fetching 1 byte each time.


Have a great day,
Pavel Chubakov

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

View solution in original post

0 Kudos