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
CAN & RF board connection to ECIO-40
CAN & RF board connection to ECIO-40
- Attachments
-
- CAN and RF pin config.xls
- (18 KiB) Downloaded 203 times
Erik
- 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
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel