CMP EMBEDDED.COM

Embedded On Demand Login | Register     Welcome Guest Embedded On Demand
HOME DESIGN PRODUCTS COLUMNS E-LEARNING CONFERENCES CODE FORUMS/BLOGS NEWSLETTERS CONTACT FEATURES RSS RSS

Thread: Comments for: "CAN in 30 minutes or less"

 

Permlink Replies: 3 - Pages: 1 - Last Post: Nov 17, 2009 7:11 PM Last Post By: Umut Tezduyar Threads: [ Previous | Next ]
raj miriyala

Posts: 2
Registered: 10/13/09
Comments for: "CAN in 30 minutes or less"
Posted: Nov 2, 2009 7:57 AM
  Click to reply to this thread Reply
Read the article here: CAN in 30 minutes or less
raj miriyala

Posts: 2
Registered: 10/13/09
Re: Comments for: "CAN in 30 minutes or less"
Posted: Nov 2, 2009 7:57 AM   in response to: raj miriyala in response to: raj miriyala
  Click to reply to this thread Reply
The article was good... but a small erratum SPI - mentioned as "System Packet Interface" is a network protocol. I guess the author intends to print "Serial Peripheral Interface"
djbuijs

Posts: 1
Registered: 11/13/09
Re: Comments for: "CAN in 30 minutes or less"
Posted: Nov 16, 2009 4:36 PM   in response to: raj miriyala in response to: raj miriyala
  Click to reply to this thread Reply
While it is nice to see an article on CAN, I'm not sure whether it really lives up to its title. Some CAN history, bit-timing and tool screenshots, but not a single example of where such tools are found or how to setup CAN from scratch with them....
Nonetheless, the author is absolutely right when it comes to setting up CAN for the first time: while the protocol is robust, flexible and with the Full/Enhanced controllers takes hardly any effort for your MCU, the initial design can be very tricky. There are some free implementations available (Pelican, VSCP, CAN-Open, DeviceNet), but when you want to do something simple (where these protocols simply don't fit), where a bus network like CAN seems appropriate instead of Peer to peer RS232 or maybe bus RS 485/422, the very advantage CAN has in the form of message based communications, becomes a burden while designing your app around it. Especially, as the author also points out, when it comes to combining the various incarnations of CAN (Basic, Full, enhanced).
Umut Tezduyar

Posts: 1
Registered: 11/11/09
Re: Comments for: "CAN in 30 minutes or less"
Posted: Nov 17, 2009 7:11 PM   in response to: raj miriyala in response to: raj miriyala
  Click to reply to this thread Reply
Thank you very much for this nice article Hassane. I would like to bring up a little point that J1939 implementers will appreciate. According to SAE spec, J1939 has to run at 250kbit/sec. This makes J1939 bit timing to 4 micro second. Since 1 bit is 8 to 25 time quanta, make sure your oscillator can run at a perfect frequency so that your CAN device can meet the SAE spec.

Point your RSS reader here for a feed of the latest messages in all forums




 :