Value of UCC receive buffer length

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Value of UCC receive buffer length

跳至解决方案
609 次查看
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 项奖励
回复
1 解答
569 次查看
Pavel
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
570 次查看
Pavel
NXP Employee
NXP Employee

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.
-------------------------------------------------------------------------------

0 项奖励
回复