llce under bsp37

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

llce under bsp37

668 Views
irfank
Contributor III

Hello,

We have a custom board. We get the below error. Do you have any suggestions for the reason of the below error? We are using bsp37 and llce binaries under llce_1.0.6

root@s32g274a-XXX:~# dmesg | grep llce
[ 4.661517] llce_core 43ff8000.llce: Successfully loaded LLCE firmware
[ 4.986561] llce_mb 43a00000.llce_mb: LLCE firmware version: HHFF_2A [REL_LLCE1_0_6|BLD_RDC2303221606]
[ 4.986580] llce_mb 43a00000.llce_mb: LLCE firmware: logging support disabled
root@s32g274a-XXX:~# ip link set up llcecan0 type can bitrate 500000 dbitrate 5000000 fd on
RTNETLINK answers: Input/output e[ 83.999834] llce_can 43ff8000.llce:llce_can0: Failed the transition to LLCE_CAN_T_START state
r[ 83.999886] 43a00000.llce_mb: Received error 55 on 'CAN TX' 0 channel (module LLCE_TX)
r[ 83.999925] llce_can 43ff8000.llce:llce_can0: LLCE FW error 55
o[ 83.999932] llce_can 43ff8000.llce:llce_can0: Failed to deinitialize LLCE CAN
r[ 83.999939] llce_can 43ff8000.llce:llce_can0 llcecan0: Failed to deinitialize LLCE CAN channel
[ 83.999952] A link change request failed with some changes committed already. Interface llcecan0 may have been left with an inconsistent configuration, please check.

0 Kudos
Reply
3 Replies

654 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

Have made modifications to the BSP itself? Or is it the same base a the NXP reference boards?

From our side, we cannot replicate this outcome. Since this is a custom board, help us either contacting your local NXP FAE/DFAE/representative or opening a ticket. We do apologize for the inconvenience.

Please, let us know.

639 Views
irfank
Contributor III

Thanks for you reply, i have one more question:

The CAN transceivers on our board are TJA1145ATK/FD. We have SPI lines connecting the S32G274a and TJA1145ATK/FD to configure the TJA1145ATK/FD. we are curious if the TJA1145ATK/FD comes with default configurations or if they need to be explicitly set. 

We suspect that these errors may be related to the configuration of the TJA1145ATK/FD, 

 

Note : 

 

The function state_transition in the path tmp/work/s32g274a_n4c0a53-fsl-linux/linux-s32/5.15.96-r0/git/drivers/net/can/llce/llce_can.c return  " (msg.fw_cmd.cmd.cmd_list.get_controller_mode.controller_state == state) "

 

The value of msg.fw_cmd.cmd.cmd_list.get_controller_mode.controller_state  is always "LLCE_CAN_STOPPED"

 

    LLCE_CAN_STOPPED, : 

    /**
     * Controller is in the STOPPED state which means that it does
     * not do any bus transactions.
     */
 

 

0 Kudos
Reply

631 Views
Daniel-Aguirre
NXP TechSupport
NXP TechSupport

Hi,

For TJA1145A specific questions, we recommend opening a ticket under the NXP online services, since we don't handle them directly on this community. We do apologize.

We can also recommend contacting the one who provided you with the parts. If it was directly from NXP, we can recommend contacting your local NXP representative, for them to provide more information on this regard.

Again, we apologize.

Please, let us know.