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.

PRTCSS slow interrupts and read outs

Hello,

I am having problems when reading input GIOs and Interruprts from the PRTCSS module
take this exmaple :

I configure the GIOs to inputs (just in case, the deafult is input) like this:
for simplicity in this example I am only interested in the first GIO - PWCTRIO_0

write 0x00000000 0x1C69008 - write 0 to LDATA
write 0x000F0000 0x1C69004 - write CTRL reg - doing a write to all 4 bytes, size = 0 (4bytes) starting address 0

So now i have configure the GIO as input,
I have grounded the pin via a 10K resistor and then i read the reasults like this:
Wait for busy bit to be 0,
write 0x010F0000 0x1C69004 - write CTRL reg - doing a read from all 4 bytes, size = 0 (4bytes) starting address 0
And I get the correct value in the first time - LOW , now i put 1.8 volts on the pin and read again expecting to get HIGH:

Wait for busy bit to be 0,
write 0x010F0000 0x1C69004 - write CTRL reg - doing a read, size = 0 (4bytes) starting address 0
And I get LOW again even thou the pin is connected to 1.8 (verified with scope)
Only After I read the value over and over or wait a very long time the value changes to the correct value
It is as if the value is latched to a certian amount of time and only after a while
or after many consequtive reads the value changes to the correct value.

I Get the same behivour with interrupts: I configure the GIO to get an interrupt (both edegs)
I generate the interrupt and when I read the Interrupt status flag I only get the FLAG to rise after a very long time
meaning that the HW does catch the interrrut but the interrupt flag register does not get updated only after a very long time (30 secs)

Thanks Amir