| Electronic Components Datasheet Search |
|
ST72561 Datasheet(PDF) 189 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72561 Datasheet(HTML) 189 Page - STMicroelectronics |
|
189 / 262 page ![]() ST72561 189/262 beCAN CONTROLLER (Cont’d) 10.9.7 BeCAN Cell Limitations 10.9.7.1 FIFO Corruption FIFO corruption occurs in the following case: WHEN the beCAN RX FIFO already holds 2 mes- sages (i.e. FMP==2) AND the application releases the FIFO (with the instruction CRFR=B_RFOM;) WHILE the beCAN requests the transfer of a new receive message into the FIFO (this lasts one CPU cycle) THEN the internal FIFO pointer is not updat- ed BUT the FMP bits are updated correctly As the FIFO pointer is not updated correctly, this causes the last message received to be overwrit- ten by any incoming message. This means one message is lost as shown in the example in Figure 109. The beCAN will not recover normal operation until a device reset occurs. Figure 109. FIFO Corruption. Initial State *v * pointer to next receive location v pointer to next message to be released -- - When the FIFO is empty, v and * point to the same location FIFO Receive Message A * v A- - Receive Message B AB - * v Receive Message C AB C * v * does not move because FIFO is full (normal operation) Release Message A AB C v * Release Message B DB C and Receive Message D * v DB C * Normal operation * does not move, pointer corruption Receive Message E EB C Release Message C EB C * v Release Message E EB C * v C released * v Release Message B EB C * v * and v are not pointing to the same message D is overwritten by E FMP 0 1 2 3 2 2 3 2 1 0 the FIFO is empty v E released instead of B |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |