CAN & RF board connection to ECIO-40

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
st9905
Flowcode V4 User
Posts: 16
Joined: Tue Oct 24, 2006 5:41 pm
Contact:

CAN & RF board connection to ECIO-40

Post by st9905 »

Hello,

I'm working on a project where I will connect a RF board and a CAN board to the same ECIO-40.

AS far as I understand I can change the pin configuration for the EB063 RF board, but only the CK pin for the EB018 CAN board.

How should I connect the CAN and RF boards to the ECIO-40?
If I like to use the INT function, can I use the RXINT or do I need to use any of the B0..2INT functions in flowcode?
Since both boards are using the SPI protocol I guess that I can use the same SPI pins and just change the CS pin.

I have attached a file with the pin data I have found.
I'm using Flowcode 5.

Regards
Erik
Attachments
CAN and RF pin config.xls
(18 KiB) Downloaded 204 times
Erik

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: CAN & RF board connection to ECIO-40

Post by Benj »

Hi Erik,

Yes this should work correctly as long as you use two CS pins, one for each of the comms modules and then bus together the SPI interfaces.

The INT pins can be fed back to the INT enabled pins if you want interrupt functionality. Alternatively you could use the Port interrupt which fires whenever a signal on pins RB4-RB7 changes state.

Post Reply