When using the SBC TLE9261 for CAN communication, there is no differential voltage output

Announcements

Live Webinar: Solving the challenges in xEV power conversions | March 7 @9am & 5pm CET. Register now!

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Translation_Bot
Community Manager
Community Manager
Community Manager

Hello,

I configured the TLE9261 to normal mode and set CAN to normal mode with SWK mode. Watchdog did not time out, and detected that RXDCAN had input, but CANH and CANL had no output. The sample code in the forum seems to be out of date, and I can't access this website. Can I post another one? Thank you very much.

The configuration code is as follows:

 

uint16_t frame;

frame = frame_TLE9261 (lpSPI_write, WD_CTRL, 0X06);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, M_S_CTRL, 0X3C);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (LPSPI_write, BUS_CTRL_1, 0X07);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, HW_CTRL, 0X90);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (LPSPI_write, WK_CTRL_2, 0X00);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, TIMER1_CTRL, 0X40);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, TIMER2_CTRL, 0X40);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, SW_SD_CTRL, 0X70);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, HS_CTRL_1, 0X11);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, HS_CTRL_2, 0X00);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (lpSPI_write, SWK_CTRL, 0X89);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (LPSPI_write, SWK_CDR_CTRL2, 0X01);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (LPSPI_write, SWK_CDR_CTRL1, 0X01);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (LPSPI_write, SWK_BTL1_CTRL, 0X50);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (LPSPI_write, SWK_CDR_LIMIT_H_CTRL, 0X54);

lpSpI2_sendcmd (frame);

frame = frame_TLE9261 (LPSPI_write, SWK_CDR_LIMIT_L_CTRL, 0X4C);

lpSpI2_sendcmd (frame);

 

uint16_t Frame (lpSPI_command cmd, TLE9261addr_t addr, uint16_t data)

{

uint16_t temp_addr = (addr & 0x7F) < < 0;

uint16_t temp_cmd = (cmd & 1) < < 7;

uint16_t temp_data = (data & 0xFF) < < 8;

uint16_t frame = temp_addr + temp_cmd + temp_data;

return frame;

}

 

Thank you.

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOSFET-Si-SiC/%E4%BD%BF%E7%94%A8SBC-TLE9261%E8%BF%9B%E8%A1%8CCAN%E9%80%9A%E4%BF%A1%E7%9A%84%E6%97%B6%E5%80%99-%E6%B2%A1%E6%9C%89%E8%BE%93%E5%87%BA%E5%B7%AE%E5%88%86%E7%94%B5%E5%8E%8B/td-p/685029

1 Solution
Translation_Bot
Community Manager
Community Manager
Community Manager

Hello,

Please refer to the attachment

Dipping,

Xiangrui

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOSFET-Si-SiC/%E4%BD%BF%E7%94%A8SBC-TLE9261%E8%BF%9B%E8%A1%8CCAN%E9%80%9A%E4%BF%A1%E7%9A%84%E6%97%B6%E5%80%99-%E6%B2%A1%E6%9C%89%E8%BE%93%E5%87%BA%E5%B7%AE%E5%88%86%E7%94%B5%E5%8E%8B/m-p/685517

View solution in original post

0 Likes
4 Replies
Translation_Bot
Community Manager
Community Manager
Community Manager

Hello,

Please refer to the attachment

Dipping,

Xiangrui

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOSFET-Si-SiC/%E4%BD%BF%E7%94%A8SBC-TLE9261%E8%BF%9B%E8%A1%8CCAN%E9%80%9A%E4%BF%A1%E7%9A%84%E6%97%B6%E5%80%99-%E6%B2%A1%E6%9C%89%E8%BE%93%E5%87%BA%E5%B7%AE%E5%88%86%E7%94%B5%E5%8E%8B/m-p/685517

0 Likes
khanzain
Level 1
Level 1
First solution authored 5 replies posted 5 likes given

Hello,

It appears there might be an issue with your TLE9261 CAN communication setup. Here are some suggestions:

1. Double-check your physical connections for CANH and CANL.
2. Verify the TLE9261 configuration parameters; refer to the datasheet for correct settings.
3. Add error handling in your code to identify potential issues during CAN communication.
4. Update your code based on the latest documentation or examples from the manufacturer.
5. Seek assistance from the community or forums related to your hardware.

If the problem persists, provide more details such as error messages or debug output for further assistance.
Here are the links to the finest learning platforms 1. W3 School 2. Iqra Technology 3. JavaPoint

0 Likes
yh_
Level 1
Level 1
First reply posted First like given First question asked

Hello,

Thank you for your help. At present, it is confirmed that the watchdog was successfully fed to the dog, but after configuring the CAN related registers, the data read back from reading this register is inconsistent with the settings. Reading the CAN related fault register did not produce an error. I entered developer mode by grounding FO3. According to the data manual, after a successful SPI communication in developer mode, the chip will enter normal mode. When entering normal mode in developer mode, CAN should be turned on by default. I will feed the dog in developer mode to make the chip work normally, but CAN still does not output differential signals. May I ask what the reason is, or what I misunderstood.

Thank you.

 

0 Likes
Translation_Bot
Community Manager
Community Manager
Community Manager

Hello,

Please do not reply under other language versions, and if you have follow-up questions, please reopen the post to ask them.

Thanks,

Xiangrui

smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/MOSFET-Si-SiC/%E4%BD%BF%E7%94%A8SBC-TLE9261%E8%BF%9B%E8%A1%8CCAN%E9%80%9A%E4%BF%A1%E7%9A%84%E6%97%B6%E5%80%99-%E6%B2%A1%E6%9C%89%E8%BE%93%E5%87%BA%E5%B7%AE%E5%88%86%E7%94%B5%E5%8E%8B/m-p/702798

0 Likes