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.

TMS570LS3137: TMS570LS3137PGE: GIOA[2] not configured correctly in HALCoGen 04.07.01

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

Hi,

I'm using HALCoGen v04.07.01 and found an issue when configuring GIOA[2] as output.

After code generation, bit 6 of gioPORTA->DIR is set to 1, but GIOA[2] is not configured as an output. Through trial and error, I found that bit 2 must be set to 1 to correctly configure GIOA[2] as output.

Is there a newer version available that fixes this?

Thanks,

Daniel

  • HI Daniel,

    I think the issue is with the names given in the HALCoGen, here the names were wrong:

    Actually, there were GIOA[0], GIOA[1] and GIOA[3] etc. right?

    So, the correct order of the names should be this:

    So, if you want to do any configurations related to GIOA[2] then use the first box instead of third box, this will give you the correct code generation.

    If you want to rectify it on HALCoGen itself, you can do the modifications in below xml file of the HALCoGen:

    Open below xml file using notepad:

    In this file, here you can see the mistake that Bit 2 is calling as GIOA[0] right?

    Change it to GIOA[2] like below:

    And also do the changes for other pins, once you made the changes then please close and open the HALCoGen:

    Now you can see the correct names:

    I am also logging this error internally to rectify it in future HALCoGen releases.

    --
    Thanks & regards,
    Jagadish.

  • Hi Jagadish,

    Thank you very much for your reply.
    Could you please let me know when the new version is expected to be released?

    Also, in my situation, I work with a version TMS570LS3137PGE which does not have a FreeRTOS port. Are you planning to provide one?

    Best regards,

    Daniel

  • Hi Daniel,

    There is no plan for new release in HALCoGen. Because a small modification on the tools of these functional safety devices involves lot of citification process.

    So, there is no plan for new release.

    Also, in my situation, I work with a version TMS570LS3137PGE which does not have a FreeRTOS port. Are you planning to provide one?

    No, currently there is no active development going for this device. If you are at starting stage of your development, then we always encourage to use our latest and powerful safety microcontrollers like AM26x series. Currently all the development is going on these devices only.

    Only supporting is providing for Hercules controllers.

    --
    Thanks & regards,
    Jagadish.