View Full Version : Plug-an-arm CAN bus
I'm having trouble getting CAN to work with the plug-an-arm.
I tried the CANALL example found on the Yahoo lpc2000 group but it didn't seem to work.
Does anyone have an example project for CAN on the plug-an-arm that is known to work?
-David
This schematic (http://www.newmicros.com/store/product_schematics_pdf/plug-an-arm.pdf) shows the CAN transceiver connected to CAN2 (pins 3 and 5). We ohmed out the board and found the transceiver is really connected to CAN1 (pins 9 and 10).
I am now able to send a CAN message and see it on the bus.
-David
Thank you David, glad you've gotten it working, we'll get this corrected in the schematic as quickly as possible. Now that CAN is signaling, have any messages been transmitted?
Edited to add: Now corrected Schematic (http://www.newmicros.com/store/product_schematics_pdf/plug-an-arm.pdf) same link as above. Thanks NMITech!
Thank you David, glad you've gotten it working, we'll get this corrected in the schematic as quickly as possible. Now that CAN is signaling, have any messages been transmitted?
Yes, I have sent messages that were successfully received by another device and also I can receive messages correctly (and I've verified that the acceptance filter works too).
Thanks for the updated schematic.
-David
Pacetech
03-01-07, 01:25 PM
David,
Do you have any FORTH/Isomax CAN Code that you would be willing to share? We're having difficulty getting it to work. I also know C, so that would work also.
-P
The code I have is not stand alone, but part of a much larger program. As such it wouldn't be tremendously useful as sample code. The hardest part is getting the baud rate right. Philips app note AN10438 was really helpful there.
I also had fairly good luck getting one of the sample programs working on the plug-an-arm. I don't remember which one it was though (there are several available) and I didn't keep it around once I got my code working...
-David
Pacetech
03-06-07, 06:42 PM
Thanks, we did manage to get it working.
vBulletin v3.0.7, Copyright ©2000-2012, Jelsoft Enterprises Ltd.