フィルターのクリア

LIN Configuration for TI DSP (TMS320F28032)

3 ビュー (過去 30 日間)
Abraham Mathew
Abraham Mathew 2015 年 5 月 27 日
回答済み: Jerry Trantow 2015 年 8 月 31 日
Has anyone used LIN transmit/Receive blocks in simulink for embedded software in the TI DSP? Is it possible to transmit LIN messages at a specified baud rate (in target prefs) with only just the LIN Transmit block versus using transmit and receive block? Seems like my code hangs up waiting to receive a LIN message from the slave..
  1 件のコメント
Peeyush
Peeyush 2015 年 6 月 1 日
Please send more information to support@mathworks.com

サインインしてコメントする。

回答 (1 件)

Jerry Trantow
Jerry Trantow 2015 年 8 月 31 日
The Version 6.2 LIN Transmit block looks fairly useless for real time code. The code under the block implements the transmit using polling. At LIN baud rates this is going to cause all sorts of problems. A typical message is going to be several msecs. A NRE is 500 msec. Also note, the transmit block implementation swallows some of the error conditions.
Using the block parameters to enabling interrupts will set up the registers, but doesn't provide an actual interrupt handler.
So it looks like the blocks are more of an example than working code. I'm not sure if this has improved in later releases.

カテゴリ

Help Center および File ExchangeBuffers, Switches, and Counters についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by