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.

TMS570LC4357: Configure part of N2HET pin as GIO pin

Part Number: TMS570LC4357
Other Parts Discussed in Thread: HALCOGEN

I need to configure part of N2HET pin as GIO pin to use for input signal and output signal, and some pins in N2HET2 to select to SPI module by Pin MUXing. 

How can I do this?

I notice that I can access registers of N2HET by GIO function to use this pin as GIO, but the register is set for 32 pins,  if some pin I used in another module function, what happened?

For example,

I need to use D11 H2HET2[6]  pin as GIO pin, but I also need to configure N3 H2HET2[7] as SPI pin. 

if I access this register to set pin HET2[6] as output pin, other 31 bits will be set 0 or 1 in this operation. But I don't want to change other pins direction, how can I do?

Please tell me the method to operate part pin of NHET under the condition that  doesn't affect the function of other pins?

By the way,  shall I need to enable HET driver in HALCOGen?