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-EP: Can't enable GIOB in HalCoGen 04.07.01

Part Number: TMS570LS3137-EP
Other Parts Discussed in Thread: HALCOGEN,

I created the project in HalCoGen for the TMS570LS3137ZWT as it is the same part as the TMS570LS3137-EP functionally, with the same 337 pin NFBGA package. I have enabled the GIO driver in the HalCoGen driver tab as well.

However I am not able to enable GIOB on the Pin Mux tab. Most of the GIOB pins from the part datasheet are also missing from the pin mux page. Is there something that GIOB is used for on this part that I am not aware of? I have seen posts describing issues with GIOB[2] due to it muxing to two different pins, but I haven't seen anything on the entirety of GIOB being disabled. 

If it is a bug in HalCoGen then I can just write my own GIOB drivers from the register level but I want to make sure I am able to use it before I decide on this chip. I need at least 12 interrupt capable inputs and the LQFP version of the Hercules don't break out most of the pins from GIOB.

Any advice would be greatly appreciated.

  • Caleb,
    The EP and non EP devices are functionally identical.
    I am going to move this post internally to the catalog team to answer since this is likely a Halcogen issue.

    Regards,
    Wade
  • Caleb,

    The only function that is multiplexed for GIOB is the one for GIOB[2] which gets its input from two terminals. The selection for this input is done via the "Use GIOB_2 for disabling selected HET2 PWM outputs" button in the "Special Muxing Options" section. All other GIOB terminals are available as dedicated terminals on the ZWT package as listed in the datasheet, so no multiplexing configuration is required.

    Regards,
    Sunil

  • Hi Sunil,

    I understand that they should be available. However, I am unable to enable GIOB or select any of of the GIOB pins on the HalCoGen pinmux page to enable them. I can write the drivers at the register level but if there is something I can fix in HalCoGen to allow it to generate the code that would make things easier.
  • Caleb,

    The pinmux tab in HALCoGen does not include every terminal on the part. GIOB terminals are dedicated terminals (not multiplexed with any other functions), hence do not appear on the pinmux tab. There is nothing to configure to use them as GIOB terminals. Just have to enable the GIO driver in HALCoGen.

  • Thanks for the explanation. It wasn't clear in HalCoGen that this was the case.