CAN communication via SPI pins

A place to talk about all the Operating Systems, Software & Hardware
Forum rules

- Posts are to be made in the relevant forum. Users are asked to read the forum descriptions before posting.

- Members should post in a way which is consistent with "normal writing". That is users should not post excessive numbers of emoticons, large, small or coloured text, etc. Similarly users should not SHOUT or use excessive punctuation (e.g. ! and ?) in topic titles or posts.

- Members should use an appropriate, descriptive subject when posting a new topic. Examples of bad subjects include; "Help me!", "I'm stuck!", "I've got an error!", etc. Examples of good subjects include; "Getting an TABLE FULL error upon login", "Cannot restore a backup".

- Members are asked to post in English only so that posts can be well received and properly monitored.

- Spam is not tolerated here under any circumstance. This includes offering hosting services (charged and free), installation services, solicitation etc. Recruiting members for your own projects (moderators, designers, professional MOD work, etc.) is not permitted and is also considered spam. Users posting spam will be warned and their post removed.

- Members should post in a way that is respectful of other users. Flaming or abusing users in any way will not be tolerated and will lead to a warning. Vulgar language and inappropriate material is not allowed and will be removed. We try to maintain a family friendly atmosphere whenever it is possible within the main subject matter of this community. Please keep this in mind when participating.

- Each user is allowed to create one account. If you would like to change your username, please contact us and, most likely, we can do it for you while you can keep all of your profile data, posts, and other content.

- If a user violates our guidelines and shows a disregard for them, our staff and our community, they run the risk of losing their account. We reserve the right to deactivate any account and to edit or remove any content without warning. These guidelines are subject to change at any time without notice.

Thank you for visiting LattePanda.com!
Post Reply
User avatar
Ewutru
Posts: 4
Joined: Wed Feb 19, 2020 8:27 am

Thu Mar 05, 2020 3:54 pm

Hey All,

For my graduate thesis I have to make a device that can send data over the CAN bus. For this project i decided to buy a LattePanda, as it supports the already written windows 10 programs by the company that i work for.

I would like to communicate via the LattePanda arduino SPI ports to a MCP2515 CAN controller with a MCP2551 CAN transceiver. There are a lot of arduino programs out there to communicate with these chips, however that is the arduino. Is there a way to communicate to these SPI ports via c# or am I required to use the COM communication to talk to the arduino who then sends/receives data over the can Bus and to my Visual Studio program? :?

Post Reply