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.

Using CAN with MSP430?

Other Parts Discussed in Thread: ISO1050

Dear all,

 

I use a MSP430 for a low power application. The board should include a CAN-interface. Therefore I use a SPI/CAN module. Now I have found the Application Report SLLA298 (http://focus.ti.com/general/docs/litabsmultiplefilelist.tsp?literatureNumber=slla298b) from TI and I am a little confused, because on figure 2 there is a connection from RxD, TxD to the ISO1050, without using a SPI/CAN module. Thus I have searched on the TI homepage for a CAN library for the platform MSP430, but I have found nothing regarding MSP430 and CAN. How is the CAN protocol implemented in this application (SLLA298)?

Does anybody use an MSP430 with a CAN interface? How looks like the CAN design with the MSP430 and are there any C-libraries?

Thanks for your help!

Gerd

  • I have had some success using the microchip SPI to CAN interface with MSP430.    I think microchip had some SPI inteface libraries but I eneded up writing my own interface. 

  • Gerd,

    The app note SLLA298 is for a Stellaris or C2000 MCU, where CAN is built in.  No, the MSP430 doesn't have any CAN options built in.

    Like Eli, I have also had good luck with the Microchip parts which are SPI based.  MCP2515 or its cousins MCP250xx I think.

    Jeff

  • Hello Jeff,

     

    Thanks for your help! The confusing for me was figure 2 in the application note, because the device on the left side is called MSP430 -- and how do you mentioned, the MSP has no internal CAN modul, so figure 2 confused me. Before I read the application note, I had a MSP430, which communicates to a MCP2515 via SPI. Now, reading your comment, I am sure that my way was the correct and I keep my design with a MSP430 and the MCP2515. Thanks!

    Have a nice day!

    Gerd

**Attention** This is a public forum