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.

CCS/TMS570LS0714: TMS570LS0714 N2HET Read Error

Part Number: TMS570LS0714
Other Parts Discussed in Thread: HALCOGEN

Tool/software: Code Composer Studio

Hello team,

I am currently working with the TMS570LS0714PZ and am experiencing some odd behavior with pin 93.

I want to use this pin as an input GPIO with the N2HET1[17] function. To do this I need to mux the pin to its alternate function, N2HET1[17], and mux the N2HET1[17] function to pin 93. The latter mux is based on table 4-39 in the datasheet.

However, the first time I read the HETDIN register, the pin is always read as low, regardless of whether or not the pin is low or high. When I read the pin the second time, I get the correct reading. I noticed that any read or write of an N2HET register after muxing the N2HET1[17] function to pin 93 corrects the issue.

I do not experience this behavior on any other N2HET1 pin. I did not see any notes on this issue in the errata. Do you know of any odd behavior associated with muxing functions to alternate pins? Thanks!

  • Hi Alex,
    It is a bit weird when you said that other N2HET1 pins do not experience such behavior, only N2HET1[17] in particular exhibits this behavior. Did you try N2HET1[19] which is similar to N2HET1[17] where the input can come from two different pins?

    Did you use the HalCoGen to configure the pinmuxing and the N2HET1[17] for its direction and control?