Size of MPC5748G/CAN_CBT.ERJW

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Size of MPC5748G/CAN_CBT.ERJW

489 Views
yulianmatev
Contributor III

What is the size of ERJW field inside CAN_CBT register from FlexCAN - 4 or 5 bits?

I am a little bit confused because:

  • inside "MPC5748G Reference Manual" Rev. 7.1, 01/2019 it is defined as 5 bits.
  • inside "MPC5748G Reference Manual" Rev. Rev. 4, 07/2015
    it is defined as 4 bits.
  • When I set it as 5bit and read back there is no change inside MSB bit (below code snip)

 

  union {                              /* CAN Bit Timing Register */
    vuint32_t R;
    struct {
      vuint32_t BTF:1;                 /* Bit Timing Format Enable */
      vuint32_t EPRESDIV:10;           /* Extended Prescaler Division Factor */
      // vuint32_t  :1;
      vuint32_t ERJW:5;                /* Extended Resync Jump Width */   // was 4 bits
      vuint32_t EPROPSEG:6;            /* Extended Propagation Segment */
      vuint32_t EPSEG1:5;              /* Extended Phase Segment 1 */
      vuint32_t EPSEG2:5;              /* Extended Phase Segment 2 */
    } B;

 

 

0 Kudos
Reply
1 Reply

482 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

 

size of ERJW is 5 bits.

 

BR, Petr

0 Kudos
Reply