English 中文(简体)
Overload and error differentiation by a CAN controller
原标题:

How does a CAN controller differentiate the overload frame and error frame when it was received on the CAN bus?

As far as I know, theses two frames are having the same frame format. In my project, I mostly encountered an error frame rather than an overload frame.

问题回答

I found this:

"The Overload Frame is identical to an Active Error Frame. The only difference is that an Overload Frame does not increase the error counters (see error confinement) and does not causes a retransmission of a frame. Every node may transmit consecutively only 2 Overload Frames."

In: http://www.softing.com/home/en/industrial-automation/products/can-bus/more-can-bus/error-handling/overload-frame.php?navanchor=3010518

You are right: overload frames and error frames look the same. However, a CAN node can distinguish them by the time when the frame was received: An overload frame will only occur during the interframe space, and an error frame only during an actual CAN frame. Source.

Both an error frame and overload frame has the same format in case the node is in error active mode. But how can the CAN controller differentiate both is based on the position of occurrence in the CAN frame.

An error frame will be transmitted whenever a node detects an error whereas an overload frame is transmitted only in IFS (inter frame space).





相关问题
Steps to read data from ARM microcontroller port

I am having trouble reading serial data from ARM LPC2378 microcontroller. Will I have to use UART or any GPIO port can be used?? is ayone having c code for it??

high speed tracing

I have an embedded board with a 32 Micro-controller, and an custom built OS, Unfortunately, as of now, connection to the PC is only through serial port, Internal memory is limited to 512KB. There are ...

Affordable, programmable device with gprs and simple sensors?

I ve got quite a fun challenge / work assignment. I m to monitor a couple of 5V light bulbs (warning lights) on a machine standing far out in no man s land. I m looking for an affordable device with ...

Alarm history stack or queue?

I m trying to develop an alarm history structure to be stored in non-volatile flash memory. Flash memory has a limited number of write cycles so I need a way to add records to the structure without ...

LD linker: Target address aligning but not address in ROM

I have a program that s resident in flash and will run from flash. Early in the program data segments are copied from flash to ram. I m using a linker script like (simplified): .text : { *(....

clear code for counting from 0 to 255 using 8-bit datatype

I was wondering if there is a clean way of counting from 0 to 255 using an 8 bit datatype, something like: for(uint8_t i(0);i<=255;++i) { .... } This obviously will not work but it makes it ...

热门标签