Hey guys,
I want to send a simple message from one Arduino Uno to another one. I´m using two Arduino Uno R3 which are connected with the EB093 Shield and the EB018 CAN-Board.
The code just initialises the CAN, reads the switches, send a Buffer with this information and show a LED at EB018. What I´m not sure about, is the setting of the Patch-System and how to set the Jumper-Wires. The Board has 5V, but there is no Signal sended by the Transceiver and no LED blinking.
Actually it looks like this:
- 2-/INT
- 3-SDO
- 4-SDI
- 5-SCK
The CAN is connected to PortB Pin 2, 3, 4 ,5 (Pin2 has been connected to PortE Pin 6 at the beginning).
You can find my fcfx-file in Posted Attachments to check.
Can anyone help me?
Would be very nice if you have an idea, what i´m doing wrong.
Thank you!
CAN-Message with EB018 CAN-Board
Moderator: Benj
- 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-Message with EB018 CAN-Board
Hello,
Please can you try this and let me know how you get on. I've changed the CAN component connections slightly for you.
The EB018 board must be in jumper settings C and 2, connected to Port D8-D13,
Because of the weirdness of Arduino ports you will need to wire across the connections on the EB018 board using single core wire as follows.
2 - /CS
3 - SDO
4 - SDI
5 - SCK
/INT can be left unconnected.
If everything is ok then the two LEDs on the EB018 should flash alternatively.
let us know how you get on.
Please can you try this and let me know how you get on. I've changed the CAN component connections slightly for you.
The EB018 board must be in jumper settings C and 2, connected to Port D8-D13,
Because of the weirdness of Arduino ports you will need to wire across the connections on the EB018 board using single core wire as follows.
2 - /CS
3 - SDO
4 - SDI
5 - SCK
/INT can be left unconnected.
If everything is ok then the two LEDs on the EB018 should flash alternatively.
let us know how you get on.
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
Re: CAN-Message with EB018 CAN-Board
This isn´t described in the examples I found.
How I have to set them in Transmitter and Receiver?
Sorry for that annoying questions, but I´m working on it for weeks now and don´t know whats going wrong.
Thanks you.
- Attachments
-
- CANrx.fcfx
- RX
- (9.23 KiB) Downloaded 268 times
- LeighM
- Matrix Staff
- Posts: 2178
- Joined: Tue Jan 17, 2012 10:07 am
- Has thanked: 481 times
- Been thanked: 699 times
- Contact:
Re: CAN-Message with EB018 CAN-Board
Hi
Your RX Mask and Filter settings don't match your TX ID
So I would suggest first changing the RX Buffer 0 Settings from "Use Mask and Filter" to "Accept All" in your CANrx project
Leigh
Your RX Mask and Filter settings don't match your TX ID
So I would suggest first changing the RX Buffer 0 Settings from "Use Mask and Filter" to "Accept All" in your CANrx project
Leigh