Home > other >  About the CAN bus node ID is set
About the CAN bus node ID is set

Time:10-01

I want to receive more than one node data, because each node to connect the different sensors, they have a priority at the time of acceptance, I want to ask is, these sensors frame ID is their own, or said the program inside to assign them and assignment, send and receive, send ID can be assigned a frame, now don't quite understand, because the priority to be set through the, have who can help to reassure?

CodePudding user response:

Can someone help me answer the, the novice is not very good

CodePudding user response:

The meaning of the original poster is CAN bus every node want to set the ID in order to realize the priority setting is? Every node CAN bus is the frame CAN be set in the arbitration to ID, divided into standard frame and extended frame, standard frame is ok, if the node is not much standard frame is his ID

CodePudding user response:

Yes, I want to set the priority of the node, node is not much, now I use here is a standard frame, do you have this aspect of the routines, or can a more detailed description of how to set up, very grateful!

CodePudding user response:

The original poster is in with what the CAN communication? If it is to use the CAN card + computer PC software CAN card vendors will provide you with a variety of language routines, or is the building with the single chip microcomputer and such? I'm just using the STM32 MCU has done the CAN communication,

CodePudding user response:

My side is made with the ARM CAN communication, only used to receive sensor signal, with SJA1000 controller, if is two or more sensor signal at the same time, there must be a priority, so to set up the frame ID, because filters and shielding device is set up by ID, so you CAN have a priority, you have done in the STM32 MCU on this? If you can can you consider this part of the program,

CodePudding user response:

Good depth, completely don't understand! Is still in 51 stage 1

CodePudding user response:

Recently studied again, CAN the identifier should be a sensor with or through other ways, such as dial the code switch set, if now I have two nodes: node 1 ID 0 x1f4, ID 0 x3f4 node 2, so I set the ACR to 0 x00, AMR 0 x3f, such information nodes 1 and 2 at the same time, is preferred to receive the information of node 1,
  • Related