This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TCAN1145EVM: USB2ANY GUI connection failed

Part Number: TCAN1145EVM
Other Parts Discussed in Thread: TCAN1145-Q1, USB2ANY

Hi,

I have a TCAN1145EVM board at hand, and trying to use the GUI TCAN114x (ti.com)  to control it. But it keeps saying the firmware can not be updated and connection failed. What could be the reason and how can I use it?  The VBAT is set as 12V and VIO/VCC are set as 5V. The mini-USB cable is used to connected with the PC. 

  

Thank you,

Hao

  • By the way, I tried to write to the Scratch Pad register [0xF] through SPI through J1, but there is no signal out in SDO[always low]. Can you tell what the reason could be? The SPI is set as 2MHZ and the chip select pin is set to low, the INH pin is 12V. Based on my understanding, no matter what the SPI content is, there should be some data out on SDO, is that correct?

    Thank you,

    Hao

  • Hao,

    For the GUI update, is there any attempt to update the firmware being made, or does it immediately fail? Also, have you tried skipping the update? Either way, it is troubling that the hardware says disconnected, but I have a feeling once you get past this step it will establish a connection. I believe the 2.8.2.o version of the firmware is valid for this GUI. So first try skipping the update and see if that works.

    For the SDO, if there is no interrupts set in the global interrupt register, and no data to be sent back from the TCAN1145, then there is the case where SDO is low the whole time. I would verify the SPI configuration based on the datasheet (specifically the clock polarity), and then try again.

    Regards,

    Eric Hackett 

  • Hi Eric,

    I skipped the update as you say, there is a new error comes out, I tried several times and also use the little icon to reconnect, but it is still the same error.

    I measure the pin of TCAN1145, The VSUP is 12V, the VCC is 5V. All the Switch on S7 are set to ON.  After I press the WAKE SWITCH button, the RXD changes from High to Low, the INH changes from low to High. So in this perspective, the TCAN chip is waked up successfully by the WAKE pin, but just does not accept the SPI cmd. What the reason could be? I mean beside set the VBAT, VCC, VIO voltage, is there any other thing like pin/jumper need to be set in order to use the SPI communication?

    Thank you,

    Hao

  • Hao,

    Since the GUI interacts only with the MSP430 when initializing, the state of the TCAN1145-Q1 shouldn't have any impact. Can you try starting up the GUI without any supplies connected? And what is the state of the J2 connector?

    Regards,

    Eric Hackett 

  • Eric,

    It is the same error with only the mini-USB connected. For J2 I can see the 5V and 3.3V are there. 

    From the error message, it says "Connected to USB2ANY controller", my understanding is the MSP430 has been recognized successfully by the GUI, but MSP430 report no SPI response from TCAN1145. Am I right?

    Thanks,

    Hao

  • Hao,

    Yes you are correct, sorry I read through your last message too quickly. Then yes the device needs to be powered on. Is it possible for you to probe the SPI signals from the MSP430 to the TCAN1145 when the device is trying to connect? I know you shared screenshot above for writing to the scratch pad, but I want to see if the MSP430 is communicating when initialization is starting.

    Regards,

    Eric Hackett 

  • Hi Eric,

    The connection works, looks like it is the Pull up/ Pull down issue. In Original I connected all the SPI pins to my own external ECU through J2. I did not disconnect these cables after I power off my ECU board. The GUI works once I remove them.

    Thank you and have a nice Friday,

    Hao