- tor 29 apr 2010, 13:07
#404844
Take a look here: http://www.kvaser.com/can/
1) Yes it is possible to send your own commands, but it will be difficult to build your own interface without using any standard chips with integrated CAN support. Many microprocessors have built in CAN support.
The bit stream of CAN-bus is more complex than RS232 and is best left to hardware to deal with.
2) If you want something sent to you, you need your own address and someone who knows you.
If you only want to send to other nodes and listen to replies to other nodes, you don't have to have your own address.
An address where more bits are set to change line voltage (1 or 0 I don't remember) will get priority on the bus.
While a node is sending the address of its target it must also monitor the line voltage.
As soon as someone else is changing the line voltage from passive to active where the low priority node would not change the line voltage, the low priority node should quit and wait a certain amount of time before it tries again.
This way the high priority nodes transmission is not interrupted.
3) The nodes should support the same physical CAN standard, but not necessarily the same protocols or command sets.
4) It should work if your stereo is connected to CAN-bus and programmed to react on commands like that.
1) Yes it is possible to send your own commands, but it will be difficult to build your own interface without using any standard chips with integrated CAN support. Many microprocessors have built in CAN support.
The bit stream of CAN-bus is more complex than RS232 and is best left to hardware to deal with.
2) If you want something sent to you, you need your own address and someone who knows you.
If you only want to send to other nodes and listen to replies to other nodes, you don't have to have your own address.
An address where more bits are set to change line voltage (1 or 0 I don't remember) will get priority on the bus.
While a node is sending the address of its target it must also monitor the line voltage.
As soon as someone else is changing the line voltage from passive to active where the low priority node would not change the line voltage, the low priority node should quit and wait a certain amount of time before it tries again.
This way the high priority nodes transmission is not interrupted.
3) The nodes should support the same physical CAN standard, but not necessarily the same protocols or command sets.
4) It should work if your stereo is connected to CAN-bus and programmed to react on commands like that.
Senast redigerad av 1 rkam, redigerad totalt 0 gånger.