Other Parts Discussed in Thread: HALCOGEN
We are using the TMS570S3137.
We need to use NHET1[21],NHET1[23],NHET1[25] as GPIO inputs, but they don't read the value of the signal connected to them.
These signals are MUXed and PINMUX appears to be configured correctly.
These pins work correctly when configured as outputs but not as inputs.
I created a test project to work with the TMS570LS31x Hercules Development Kit (HDK) that demonstrates the issues, see attached.
The test project is as simple as I could get it -- I have 4 NHET pins configured as outputs driving 4 NHET pins configured as inputs.
I added 4 jumpers to the 3137 HDK connecting the 4 outputs to the 4 inputs.
NHET1 11, 21, 23, and 25 are configured as inputs in HALCoGen, and NHET1 10, 20, 22, 24 are configured as outputs.
The red lines below represent the 4 jumpers between the pins on the HDK, J11 header, on the bottom side of the HDK PCB.
The attached code drives the outputs high then low and reads the input pin at each change.
One of the NHET input pins(NHET11) is included as a ‘good’ reference and works as expected, whereas NET21, 23, and 25 do NOT work. Specifically the values read from NHET21,23 and 25 do NOT change when the output pin each is jumpered to changes. NHET1[11] is configured the same as NHET1[21], NHET1[23] and NHET1[25], but they behave differently!
Note that NHET 21, 23 and 25 DO work correctly when configured as outputs, but NOT as inputs. Very weird.
NHET 21, 23 and 25 are MUXed, but PINMUX looks to be configured correctly, see attached HALCoGen file.
We would LOVE to know what we are missing to configure these NHET pins as inputs!
Thanks a bunch,
-Joe