CAN bus bundle

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Markro
Posts: 20
Joined: Sun Sep 23, 2007 12:41 am

CAN bus bundle

Post by Markro »

Hi,

I bought the CAN bus bundle amongst some other things to learn specifics of CAN.

Cannot really find much material associated with the Learning bit.

I will be learning Flowcode 1st amongst some other stuff and so will be a bit before getting to the CAN stage, but seeing as I bought this with other boards, I checked Flowcode help and nothing of any use found. Nothing in the box apart from the components in the bundle...... Ooh just found some help, not found when you type CAN into flowcode environment help, anyway....

I was expecting some kind of tutorial really for setting up the CAN and the effects of what settings do what etc etc ....

Also I saw that there are only 3 TX messages and 2 RX messages - is this right ? the CAN board can only handle this amount of control ? TBH after learning about the usage I was hoping to be able to send (Tx) something in the order of 10+ CAN frames which I thought most CAN controllers are capable of ? - Also I do not want to have fixed data it has to be dynamic set by the code and a range of inputs.

finally how comes no 29 bit addressing ? is this something that will come in the future ?


Thx

Mark

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Look at the bottom of this page for a complete course on CAN using our boards:
http://www.matrixmultimedia.com/Learnin ... /index.php

You can send and receive any number of messages using this CAN bundle, but the CAN device used has 3 TX buffers and 2 RX buffers, which means you can pre-load the board with 3 distinct CAN messages to transmit.

If you want to transmit messages other from CAN, you need to set up the IDs and data for these using component macros.

The RX buffers have a fairly complex set of buffers and masks that allow you to filter out and receive any number of incoming CAN messages. This means you can either set the CAN module up to react to certain messages coming in, or you can set it up to react to all incoming messages and write code to react to them accordingly.

Extended 29-bit CAN addresses is something we will support in the future.

Post Reply