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
Solved! Go to Solution.
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.
-------------------------------------------------------------------------------
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.
-------------------------------------------------------------------------------