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.

TMS570LC4357: need to confirm basic HDK operation

Part Number: TMS570LC4357
Other Parts Discussed in Thread: TMDX570LC43HDK, HALCOGEN, , TCAN4550-Q1

Hello,

I have the TMDX570LC43HDK and am trying to confirm the basic operation for the board.

I had wanted to check the basic LED demo, and then use the CAN demo to read CAN messages on a basic CAN bus.

However, the Hercules Safety Demos will not run. Is this the same issue related to the change in board driver chip? Something about the XDS110 or the XDS100v2 Emulator looking for a non-existent FTDI chip?

So my alternate attempt: launch CCSv7.4.0.00015 and try a different CAN example. However, I can't locate any device documentation for the TMS570LC43, (or any TMS570) using the Resource Explorer, so what now?

I have then launched the HALCoGen tool for the TMS570LC43x, I open up examples, but I just get a link to a bunch of .c files, with no clear means of importing them into CCS, or integrating them into a HALCoGen project.

I just want to be able to load an example into an IDE (and associated configuration files, as necessary), compile the example, download it to the target board, and see it work.

I see that TI has created all these amazing tools, and provided development hardware as well, but the specific device I want to use is not listed.

I see the intro video covers loading an example, compiling the example, loading it to a target, and then entering debug mode, with all the familiar debugging tools, register views, breakpoint views, etc. 

Is this device still supported? What am I missing? Why is there no simple means for loading an example, compiling, loading, and debugging?

Should I just switch to a different solution? I am looking for a development target with minimum 3x CAN FD and 10/100 Ethernet capability and IEC61508 SIL 3 design capability.

What am I missing?

  • Hello Joseph,

    There should be no issues related to the emulators as you have speculated. The TMS570LC4357HDK has an XDS100v2 emulator built into the board so all you need to do is plug it into a USB port on your PC.

    All of our publicly available documentation is located on the part specific product page. If you notice, whenever you make a post and include the part number TMS570LC4357 it becomes a hyperlink. This link will take you to the product page where you will find the TRM, Safety Manual, Errata Document, Datasheet, application notes, HW modeling tools, foot print/fanout design files, and other documents.

    In regard to the TMDX570LC43HDK, you can find information for this on the HDK's part number specific (TMDX570LC43HDK) product page as well. This will include design files and a user guide.

    In regard to the safety demos, I am not certain which you are trying to run. If it is the GUI based demo that comes with the kit, it is sometimes problematic because of the NI/Labview runtime environment used to create the demo GUI. In general, the application that runs on the MCU is just a serial based command and response protocol that causes the associated action to take place. You might be able to modify the code and simply call the functions directly with using the GUI to initiate them. Nonetheless, if you want to use the SafeTI Demo, I would suggest making certain that you have the latest one which can be downloaded here: www.ti.com/.../hercules_safety_mcu_demos. Once the latest one is installed, if you could post the specific issue that you are seeing or error messages you are getting, we could try to help you work through the issues. I would also recommend that you check the version of the Halcogen tool as well. Halcogen can be downloaded directly from this link:www.ti.com/.../halcogen

    For help getting started there is an application note that covers the steps to create a project using Halcogen, importing it into CCS, and executing the code. This application note can be found at this link: www.ti.com/.../spna121b.pdf

    The files located in the example directory are only the source files to carryout the example. These examples require that you configure the drivers in a specific way. The directions for doing so are located in the help section/embedded user manual of the Halcogen tool. i.e., Click Help-->Help Topics-->Examples. Clicking through these menus will get you to a list of the examples with the same names as the source int he examples directory. Selecting one of these will bring up step by step examples on how to generate the code with Halcogen. Once you have the Halcogen project code generated, you can follow the steps in the getting started application note to import into CCS and begin compiling, downloading to the HDK, and executing/debugging the project.

    In regard to setting up and using the board on a CAN network. This device has 3 DCAN modules on it. The DCAN module supports standard CAN and not CAN FD. However, if you would like to accomodate a CAN FD network using this device, TI has a new device,TCAN4550-Q1, that has 2 CAN FD channels that can be added to your design. The TCAN45xx device sends the received CAN FD messages to the host MCU/Processor via SPI using a SPI Clock up to 20MHz. The maximum CANFD buad rate supported by the TCAN chip is 5Mbps.

    To address your question about the support for this device, it is very much still active and will continue to be supported over a very long term. The Hercules line of MCUs do not use the resource explorer capability at this time since this was not the targeted channel of content delivery for our product line; although, I do understand the convenience of using it. Perhaps in the not to distant future we will be able to enable our content in this way. If there are other tools or feature that you come across that you cannot find this device as supported, please feel free to ask. This will help us enrich our content and let us know what types of tools are needed/desired.
  • Hello Chuck,
    Thank you for your guidance, the spna121b app note provided the necessary information on setting up the specific includes from the HALCoGen tool Code Generation step, and I have been able to use the interface for the code generator using the examples provided, and see them run on the board, so this is resolved.
    I was curious if there was a way to automate the CAN mailbox structure using an existing dbc file or CAN table in excel (or even as CSV) is there a way for the tool to read in a list of 100 CAN IDs, and populate the canMESSAGE_BOXxx with each ascending ID, or do I need to enter each one "by hand"?
    If it would be better to start a new thread so it is searchable in the forum I can open a new post.
  • Also, is there a way to clone one module configuration into another? That is, if I wanted to take the configuration for CAN2, and apply it to CAN1, is there a way to do that with the existing tool?
    Thanks,
    -Joseph
  • Something to consider: Create just one mailbox for RX and another mailbox for TX. It involves code beyond what HalCoGen creates, but it is possible to do..