LPC54616 CANFD USE BRS ERROR

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

LPC54616 CANFD USE BRS ERROR

Jump to solution
1,253 Views
Cherrin
Contributor I

When using the LPC54616 chip, if you want to receive BRS during CANFD, you only need to configure CANFD and BRS bit during initialization, right? The following figure is attached (Message ram and interrupt have been configured successfully, standard frames and FD frames without brs can be accepted normally)

_0-1729826349633.png

 

0 Kudos
Reply
1 Solution
1,217 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following Fig, when you use FD(Flexible Data rate), the classical data size is 8 Bytes, but using FD feature can extend the data size in one CAN frame.

You have to configure the FDF, BRS, DLC bits for both the transmitter and receiver frames. Because the control/ID bits and data bits transfer in different rate, so you have to define two CAN bit rate.

Pls refer to section 35.14.1.3 CAN FD operation in UM10912.pdf.

Hope it can help you

BR

Xiangjun Rong

xiangjun_rong_0-1730167689007.png

 

 

 

View solution in original post

0 Kudos
Reply
2 Replies
1,218 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

As the following Fig, when you use FD(Flexible Data rate), the classical data size is 8 Bytes, but using FD feature can extend the data size in one CAN frame.

You have to configure the FDF, BRS, DLC bits for both the transmitter and receiver frames. Because the control/ID bits and data bits transfer in different rate, so you have to define two CAN bit rate.

Pls refer to section 35.14.1.3 CAN FD operation in UM10912.pdf.

Hope it can help you

BR

Xiangjun Rong

xiangjun_rong_0-1730167689007.png

 

 

 

0 Kudos
Reply
1,206 Views
Cherrin
Contributor I

I have been solved this problem,thanks for your help

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1981652%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ELPC54616%20CANFD%20USE%20BRS%20ERROR%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1981652%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EWhen%20using%20the%20LPC54616%20chip%2C%20if%20you%20want%20to%20receive%20BRS%20during%20CANFD%2C%20you%20only%20need%20to%20configure%20CANFD%20and%20BRS%20bit%20during%20initialization%2C%20right%3F%20The%20following%20figure%20is%20attached%20(Message%20ram%20and%20interrupt%20have%20been%20configured%20successfully%2C%20standard%20frames%20and%20FD%20frames%20without%20brs%20can%20be%20accepted%20normally)%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22_0-1729826349633.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22_0-1729826349633.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F306899iC4529FD01912B996%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22_0-1729826349633.png%22%20alt%3D%22_0-1729826349633.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1986853%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LPC54616%20CANFD%20USE%20BRS%20ERROR%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1986853%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20been%20solved%20this%20problem%EF%BC%8Cthanks%20for%20your%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1983379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20LPC54616%20CANFD%20USE%20BRS%20ERROR%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1983379%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%2C%3C%2FP%3E%0A%3CP%3EAs%20the%20following%20Fig%2C%20when%20you%20use%20FD(Flexible%20Data%20rate)%2C%20the%20classical%20data%20size%20is%208%20Bytes%2C%20but%20using%20FD%20feature%20can%20extend%20the%20data%20size%20in%20one%20CAN%20frame.%3C%2FP%3E%0A%3CP%3EYou%20have%20to%20configure%20the%20FDF%2C%20BRS%2C%20DLC%20bits%20for%20both%20the%20transmitter%20and%20receiver%20frames.%20Because%20the%20control%2FID%20bits%20and%20data%20bits%20transfer%20in%20different%20rate%2C%20so%20you%20have%20to%20define%20two%20CAN%20bit%20rate.%3C%2FP%3E%0A%3CP%3EPls%20refer%20to%20section%2035.14.1.3%20CAN%20FD%20operation%20in%20UM10912.pdf.%3C%2FP%3E%0A%3CP%3EHope%20it%20can%20help%20you%3C%2FP%3E%0A%3CP%3EBR%3C%2FP%3E%0A%3CP%3EXiangjun%20Rong%3C%2FP%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22xiangjun_rong_0-1730167689007.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22xiangjun_rong_0-1730167689007.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F307347i006C59C84DE6AFC2%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22xiangjun_rong_0-1730167689007.png%22%20alt%3D%22xiangjun_rong_0-1730167689007.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E