IWR6843: Pin multiplex mode reading and programming

Part Number: IWR6843
Other Parts Discussed in Thread: MMWAVE-SDK

Hi,

  From the datasheet, I see that the pins could be configured in several different modes. Is there a way to read the mode in which a specific pin is operating through the TI provided firmware.

Specifically, I am working with the LRPD firmware from TI. I am customising it to meet my requirements. I would like to read the pin modes for pins K13 and P8 and configure them in GPIO modes. In case of K13, this will be mode0(as GPIO_26) or mode 1 (as GPIO_2) and in case of P8, this will be mode 1 (as GPIO_38). 

 

Related query: What is the different between mode 0 and mode 1 for K13. Both will configure it as GPIO.

Is there any sample code snippet which does something similar for any of the pins?

Regards,

Girish