Hello,
I am using KEIL and I am trying to use a simple NHET pin read. It supposes to be straightforward using hetREG1->DIN; My system has two micros connected using N1 pin from TMS570 side.
The problem is this register shows only zeros. Even when i put 1 to N1 input. Even all NHET registers show zeros. From FFF7 B800h to FFF7 B898h
I suppose i am doing something wrong but the pin N1 is working as output when i set it up.
hetREG1->DCLR = 1<<15;
hetREG1->DIR |= 1<<15;
hetREG1->DSET = 1<<15;
Multiplexing is set like this
pinMuxReg->PINMMR8 = PINMUX_BALL_N2_HET1_13 | PINMUX_BALL_G3_MIBSPI1NCS_2 | PINMUX_BALL_N1_HET1_15 | PINMUX_BALL_R8_ETMDATA_31;
Cheers,
Stefan