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.

Is there matlab-simulink support available for Hercules TMS470MF microcontroller

Other Parts Discussed in Thread: LAUNCHXL-TMS57004, TMS570LS0432, HALCOGEN

I want to use TMS470MF controller to drive two stepper motors after taking input from sensors.Does the controller have matlab and simulink support?

  • Hello Kalyani,

    Unfortunately, there is no support for MATLAB or Simulink for the TMS470M family of devices and there are no plans to add it. However, we do have support for our RM48 Cortex-R4 based devices which can be ported to our other TMS570/RM4x devices.

    Given the application you are trying to do, you may want to consider changing to the TMS570LS0432 or LS0332 microcontrollers. These are Cortex-R4 based devices that offer peripheral sets that are supersets of the ones on the 470M devices. They add support for an additional SPI, a quadrature encoder module, an improved HET with additional instruction space and and several others.  Additionally, the Cortex-R4 devices are more powerful in regard to performance. If you are interested, we have a Launchpad evaluation kit for this family for only $19.99 US. It can be found here: http://www.ti.com/tool/launchxl-tms57004

  • Hi Chuck,

    Thank you for the reply. But when i checked with Mathworks website there it is mentioned that support for TI TMS470 is available. Is there any other board other than TMDX470MF066HDK Hercules Development Kit .

  • Hello Kalyani,

    I checked the website based on your comments and it seems that they are referencing some legacy products. Within the TMS470 name there are device families with 2 different architectures (R1x and Platform Architecture) as well as devices with different cores (ARM7TDMI and Cortex-M3). For the specific device family that you mentioned; TMS470M, Platform Architecture with Cortex-M3, there was no work done by TI to get support from matlab and Simulink. It is possible that mathworks may have developed some support based on customer demand, but TI has not done any such work nor tested any implementation from matlab or Simulink.

    As I mentioned previously, there is a comparable Cortex-R4 device that TI offers that might suit your needs better and also could be used with matlab (TMS570LS0432). In addition, there is a low cost development kit (Launchpad) available for less than $20US.

  • Hi Chuck,

    Thank you for your reply. Does the launchpad support CAN-LIN communication. When i checked I am getting TMS570 board around $175. If I have to check for matlab-simulink support whom should i approach? Also what is the Diffrence between Hercules 066HDK Development kit and 066 USB evaluation board?

    Thank You,

    Kalyani

  • Kalyani,

    The Launchpad has access to the LIN/SCI pins and the CAN pins but there are no transceivers on the board. This means you would have to add those to a bread board or plug-in module for the Launchpad.

    Both of the HDKs, TMS570LS04x and TMS470MF066, CAN transceivers for both CAN interfaces on board but neither have a LIN transceiver/PHY. You are welcome to review their product specific userguides on their respective product pages.

    One thing I will mention regarding the TMS570 products vs. the TMS470M products is that the TMS570 products are capable of a higher level of safety classification due to more diagnostic features (lockstep cores, ECC on RAM/Flash, Parity on Peripherals, CPU BIST, Memory BIST, Dual Clock Compare, and many more safety/diagnostic features on the TMS570).

    In the end, which device you use is up to you; but, from my view the TMS570 gives more bang for the buck and the HDK cost is the same..

    In regard to the USB kits, these are intended for very basic getting started and/or evaluation activities. Not all of the pins are brought to connectors and they are a very small footprint so they can be difficult to work with if you want to add on to them.

  • Hi Kalyani,

    I forgot to address the question about who to contact at matlab-Simulink. For this I am not sure. You may try poking around on their website to see if you can find a link to some online support. Unfortunately, I don't have any contacts there.

  • Kalyan,

    You can type 'targetinstaller' in matlab and it will give a list of available targets.

    The TMS470M isn't in the list, but Mathworks has a base package that covers all Cortex M products, I believe it uses GCC and a simulator target.  It does have the CMSIS library mappings in place which is a plus.

    You can look at the Hercules package that we have for Cortex R to see how we integrated with HalCoGen and do the same for the TMS470M.  It's pretty easy just generate the driver code with HalCoGen that gets you to main() and map the rtIOStream functions send,recv,open,close to call HalCoGen SCI driver functions.   You should also be able to use the same loadti based loader that we use with TMS570 with the TMS470M, as long as you change the .CCXML file.

  • Hi Chuck,Anthony

    Thank you so much for your replies,I will get back to you soon with new queries!

    Thanks & Regards

    Kalyani

  • Hallo Chuck

    This is an interesting answer ,We build motorcontrols with  dsPIC's in MATLAB/Simulink and I just started out now looking into the Hercules TMS570 devices, I would really be interested to know  were to look for the MATLAB blocksets ant  the Price for the Blocksets

     

    Best Regards

    Peter

  • Hi Peter,

    At the moment we don't have any blockset support for TMS470M.   Just PIL support for Hercules RM48 / TMS570 here http://www.mathworks.com/matlabcentral/fileexchange/46332-ti-hercules-rm48-040814-zip.

    It's a free download but it's just the tip of the iceberg when it comes to a full processor support package.

    What sort of blocks would you *like* to see?