This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
The LIN specification specifies both the electrical parameters of the LIN bus, and the protocol that the master and the slave(s) speak with each other.
The transceiver chip is responsible for the electrical interface, but does not contain any intelligence, and must always be connected to some controller.
The TMS320F2803x has a LIN interface, but it works at the 3.3 V logic level, so it must be paired with a transceiver (you need only a single-channel one, e.g., TLIN1029-Q1). If the TMS is too complex for you, the MSP430's UART is also LIN compatible. Google tells me that there is some Simulink target for the MSP430G2553, but it does not mention LIN support, so you cannot avoid doing actual programming.
Thank you for you detailed answer. I'm still looking into this, since I cannot complete my project without it.
Could you tell me a little more about the workflow for such a project?
I buy a launchpad that holds the MSP430 and connect it to my computer (over usb?). I then convert my simulink model either by the Simulink coder or by manual programming to a C++ code for the microcontroller and flash it?
I am now looking how I could create custom blocks for the embedded target, but not being able to program is a real handicap.
Regards, Peter
Hi Peter,
There are 2 options to program an MSP430 from MathWorks tools:
1) Use our Embedded Coder Target for Energia, which supports the MSP430G2. This support provides simple blocks, so its fairly easy to get up and running so you can experiment with the board and your system.
2) Use the regular workflow, which is to generate C code for your algorithm, and import that algorithm C code into Code Composer Studio (CCS) where you integrate the C code to a project and use CCS for deployment and debugging with your board.
Cheers,
-Brian
**Attention** This is a public forum