Controller Area Network: differenze tra le versioni

Contenuto cancellato Contenuto aggiunto
Marius~itwiki (discussione | contributi)
aggiunte
Marius~itwiki (discussione | contributi)
aggiunte
Riga 40:
Tutti i frames (detti anche "messaggi") iniziano con un bit di "start-of-frame" (SOF).
I frame del CAN possono essere di quattro tipi:
* '''Data frame''': frame contenente i dati che il nodo trasmette.
* '''Remote frame''': frame che richiede la trasmissione di un determinato identificatore.
* '''Error frame''': frame trasmesso da un qualsiasi nodo che ha rilevato un errore.
* '''Overload frame''': frame che introduce un ritardo fra data frame e/o remote frame.
 
=== Data frame ===
<!--
Sono i frame che eseguono l'effettiva trasmissione dei dati. I messaggi possono avere due formati:
* ''Base frame format'': withcon 11 identifierbit di bitsidentificazione.
* ''Extended frame format'': withcon 29 identifierbit di bitsidentificazione.
 
Lo standard CAN ''deve'' obbligatoriamente riconoscere il formato ''base frame'' e ''può'' opzionalmente riconoscere il formato ''extended frame format'' (che, tuttavia, deve essere ''tollerato'').
=== Data frame ===
The data frame is the only frame for actual data transmission. There are two message formats:
* Base frame format: with 11 identifier bits
* Extended frame format: with 29 identifier bits
 
<!--
The CAN standard requires the implementation ''must'' accept the base frame format and ''may'' accept the extended frame format. But ''must'' tolerate the extended frame format.
 
==== Base frame format ====