We recently added some digital-inputs to the upper 16-bits of the N2HET1, and I cannot seem to read them as inputs. I actually have 6 digital-inputs on this N2HET1 -- 3 in the lower 16 bits (all work) and 3 in the upper 16-bits (all don't work). Is there any problem or special-configuration with using the upper 16-bits of the N2HET2 IO?
I know I have them mapped correctly because if I change the IO-direction, I can drive the 6 IO signals. I also know that the direction-register works because when all 6 are configured as inputs I cannot drive them.
It seems like a problem with the read from hetPORT1->DIN -- as if it is only returning the lower 16 bits. I have checked my use of this register and the U32 data-type of the destination, so I know it is all 32-bit data-types.
This should be a simple problem, but I am stumped. Can you think of any reason the upper-16-bits cannot be read?
Thanks,
Jim