I am using pin GPIO_AD_11 as GPIO25 to connect to a pin of another chip. The pin on the other chip is required to be pulled up but according to the Hardware Development Guide, GPIO_AD_11 needs to be externally pulled down for JTAG_MOD, which is the ALT7 muxing mode for GPIO_AD_11.
The Reference Manual says, "The ALT7 and ALT6 extended muxing modes allow any signal in the system (such as fuse, pad input, JTAG, or software register) to override any software configuration and to force the ALT6/ALT7 muxing mode." I am not quite sure when the JTAG_MOD signal overrides the GPIO signal I have set for the GPIO_AD_11 pad, but I would guess it happens on reset?
My question is, do I really need to externally pull GPIO_AD_11 low? I set GPIO_AD_11 to have a 22k pull up in my software and I am guessing that if the sampling of JTAG_MOD happens at reset (which occurs before my software enables this pull up), that GPIO_AD_11 will have the default 100k pull down resistor enabled when JTAG_MOD is sampled. Is the internal 100k pull down resistor enough to properly set JTAG_MOD? Or do I really need to externally pull it down for some reason.