Quantcast
Channel: MSP low-power microcontroller forum - Recent Threads
Viewing all articles
Browse latest Browse all 22733

MSP430G2533: Using MSP430G2553 with MCP2515 and SN65HVD231D for CAN Communication

$
0
0

Part Number:MSP430G2533

Hey guys,

I am very new in the topic of CAN communicaiton and I have a question for my project. I want to send and receive data from my MSP430G2553 via CAN, so I use the MCP2515 controller and the SN65HVD231D transceiver. To realize the communication I connected the MCP2515 via SPI. Now I am confused about the Pins I need to use. Of course I will need the Pins for the SPI communication, TXCAN + RXCAN and INT (to use interrupts). But what do I need TX0RTS, TX1RTS, TX2RTS, RX0BF, RX1BF for? In the datasheet I read that these pins can be used as buffers or normal GPIOs, but I don't want to buffer anything, I just want to send and receive the data directly. Do I need these pins? If yes, how many do I need (I have a problem, because I don't have enough pins for my project, but if I don't need to use them all, I could use one of them)

It would be great, if you could provide a very simple send and receive program for me. :)

I would really appreciate your help!


Best regards,

Simon


Viewing all articles
Browse latest Browse all 22733

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>