click below
click below
Normal Size Small Size show me how
Standard CAN frame
| Question | Answer |
|---|---|
| What are the parts of a standard CAN frame? | SOF, Arbitration Field, Control Field, Data Field, CRC Field, ACK Field, EOF, IFS |
| How many bits does the SOF have? | 1 bit |
| What is the SOF and its value? | Start Of Frame, 1 bit → Always dominant (0) |
| What is the purpose of SOF? | Indicates the start of the frame transmission |
| What does the Arbitration Field contain? | Identifier + RTR |
| How many bits is the Identifier in standard CAN? | 11 bits |
| What is the purpose of the Identifier? | Defines message priority (lower value = higher priority) |
| What is the RTR bit and its default value in data frame? | Remote Transmission Request → 0 (dominant) for Data Frame, 1 (recessive) for Remote Frame |
| How many bits does RTR have? | 1 bit |
| What does RTR indicate? | 0 = Data frame, 1 = Remote frame |
| How many bits are in the Arbitration Field? | 12 bits (11 ID + 1 RTR) |
| What does the Control Field contain? | IDE + r0 + DLC |
| How many bits does the Control Field have? | 6 bits |
| What is the IDE bit? | Identifier Extension (0 = standard frame, 1 = extended frame) |
| How many bits does IDE have? | 1 bit |
| What is the r0 bit? | Reserved bit (always dominant = 0) |
| How many bits does r0 have? | 1 bit |
| What is DLC? | Data Length Code |
| How many bits does DLC have? | 4 bits |
| What does DLC indicate? | Number of data bytes (0 to 8 bytes) |
| How many bytes can the Data Field have? | 0 to 8 bytes |
| How many bits can the Data Field have? | 0 to 64 bits |
| What is the purpose of the Data Field? | Contains the payload (actual information) |
| What does the CRC Field contain? | CRC + CRC delimiter |
| How many bits does the CRC have? | 15 bits |
| How many bits does the CRC delimiter have? What is the CRC delimiter default value? | 1 bit, Always recessive (1) |
| What is the purpose of CRC? | Error detection |
| How many bits does the CRC Field have in total? | 16 bits |
| What does the ACK Field contain? | ACK slot + ACK delimiter |
| How many bits does the ACK slot have?What is the ACK delimiter default value? | 1 bit, Always recessive (1) |
| What is the purpose of ACK? | Confirms that at least one node received the frame correctly |
| How many bits does the ACK Field have? | 2 bits |
| How many bits does EOF have?What is the default value of EOF bits? | 7 bits, All recessive (1) |
| What does EOF mean? | End Of Frame |
| What is the purpose of EOF? | Indicates the end of the frame |
| What is IFS? | Inter Frame Space |
| How many bits does IFS have?and value? | 3 bits → all recessive (1) |
| What is the purpose of IFS? | Provides separation between frames |
| What is the total size of a standard CAN frame? | Approximately 47 to 111 bits (depending on data length) |
| What types of CAN frames exist? | Data frame, Remote frame, Error frame, Overload frame |
| How does arbitration work in CAN? | The message with the lowest ID wins |
| What are dominant and recessive bits? | 0 = dominant, 1 = recessive |
| What happens during arbitration? | Nodes transmit simultaneously; dominant (0) overwrites recessive (1) |
| What is the default bus level when idle? | Recessive (1) |
| Where does bit stuffing apply? | From SOF to CRC field |
| What happens if a node detects an error? | Sends an Error Frame (dominant bits) |
| What is the main difference between Standard and Extended CAN? | Identifier length → Standard: 11 bits, Extended: 29 bits |
| What does the Arbitration Field contain (Extended)? | 11-bit base ID + SRR + IDE + 18-bit extension + RTR |
| What is SRR in Extended frame? | Substitute Remote Request → always recessive (1) |
| What is the IDE bit in Extended frame? | 1 (recessive) → indicates extended format |