I am seeing a difference in the ability to read the state of a GIO digital input when the TMS570LS20216ASPGE is running with an emulator connected and when the part is running with the emulator in the disconnected state. When the emulator is connected, the value of the port is correctly reported in the GIODINA register (i.e. I can see the bit corresponding to GIOA[5] change states 0 to 1 when I change the pin input value). However when the emulator is disconnected, the bit for GIOA[5] is always reported as 0.
MEASUREMENT SETUP:
In all cases, I am using XCP protocol over FlexRay to monitor the values of the registers.
REGISTER CONFIGURATION VALUES:
GIODIRA = 0001 1011
GIODOUTA = 0001 0000
GIOEMUA = 0000 0000
GIODRA = 1000 0000
GIOPSLA = 0000 0000
GIOPULDISA = 1110 0000
PWRDWNSET1 = 0
PWRDWNSET2 = 0000 0000 0001 0000
PWRDWNSET3 = 0
How is the emulator impacting my ability to read a DIO pin?