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.

LAUNCHXL2-570LC43: LAUNCHXL2-570LC43 example LED blinking code not functional

Part Number: LAUNCHXL2-570LC43
Other Parts Discussed in Thread: HALCOGEN,

Tool/software:

Hello,

Followed instructions in "C:\ti\Hercules\HALCoGen\v04.07.01\examples\TMS570LC43x\example_rtiBlinky.c" to have created the HALCoGen project and the corresponding CCS project. However, when the built project image is running on the LAUNCHXL2-570LC43 eval board, no LED blinking was observed at all.

Please advise. Thank you.

  • Hi John,

    Can you please zip it and attach your project, i had launchpad board, so i can quickly test and let you know what went wrong.

    --
    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    Thank you for the reply. Please refer to the attached CCS project, which I created by following the instructions in "C:\ti\Hercules\HALCoGen\v04.07.01\examples\TMS570LC43x\example_rtiBlinky.c", and also tested it on our LAUNCHXL2-570LC43 eval board, but observed no blinking LED at all.

    When following the instructions in the example_rtiBlinky.c, I noticed that there is no mentioning of any GIO configuration. Is this expected? If so, then how will the LEDs at GIOB_6 or GIOB_7 (per the eval board schematic) be driven to blink?

    I also checked the TMS570LC4357 tutorial that you showed in another thread, but, the tutorial is for using another entirely different eval board from TI. Thank you and I look forward to your reply.

    TMS570LC43x_BlinkLED.zip

  • One more note, Jagadish: I also commented out the function definition/declaration of rtiNotification in "...source\HL_notification.c", and then build the project and test it on our LAUNCHXL2-570LC43 eval board, but still, no blinking LED was observed at all. Thanks.

  • Hi Jagadish,

    I was able to revise the TI sample code in "C:\ti\Hercules\HALCoGen\v04.07.01\examples\TMS570LC43x\example_rtiBlinky.c", and now have software that can run on the TMS570LC43 eval board, to blink the two user green LEDs. The revised HL_sys_main.c is attached.

    I am also wondering: So, for which TI eval board, was the source code in "C:\ti\Hercules\HALCoGen\v04.07.01\examples\TMS570LC43x" developed for?

    Please advise. Thanks!

    4621.HL_sys_main.c
    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    /** @file HL_sys_main.c
    * @brief Application main file
    * @date 11-Dec-2018
    * @version 04.07.01
    *
    * This file contains an empty main function,
    * which can be used for the application.
    */
    /*
    * Copyright (C) 2009-2018 Texas Instruments Incorporated - www.ti.com
    *
    *
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    *
    * Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX