Alexey wrote:
What can i do to initialize flexCAN buffer with extended ID format manually? It seems like PE automatically choose type of ID (i.e. if ID less than 0x8FFFF id will be set as Standard).
FlexCAN transmit buffer activation at a node during message's CRC and EOF reception at that
node can either corrupt the received messages's ID_LOW at that node or corrupt the message screening at that node.
Workaround (for both 1 and 2):Activate transmit buffers when neither the CRC nor the EOF reception can be concurrent. Use the following procedure to activate transmt buffers:1) Disable the Mailbox (MB) interrupt by using the FCMSGBUF bit in the interrupt
priority register of the interrupt controller module.2) Check the IDLE and TX/RX bits in the Error and Status Register (FCSTATUS).If IDLE bit = 1, or TX/RX bit =1, continue with step 3-7; otherwise jump to step 7.3) Write the Control/Status word to hold the transmit MB inactive.4) Write the ID_HIGH and ID_LOW.5) Write the Data bytes.6) Write the Control/Status word ( active CODE, LENGTH).7) Enable the MB interrupt.[
Message Edited by Alexey on 2006-08-21 05:25 AM
Message Edited by Alexey on 2006-08-21 05:26 AM
Message Edited by Alexey on 2007-03-1507:55 PM