Value of UCC receive buffer length

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Value of UCC receive buffer length

ソリューションへジャンプ
538件の閲覧回数
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 解決策
498件の閲覧回数
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 返信
499件の閲覧回数
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 件の賞賛