We have a custom board with Zynq-7030 FPGA. Due to the limited number of PS MIO pins, MIO[40-45] are used to share two interfaces (SDIO and SPI) via external mux/demux:
My question is: can both interfaces be used “statically” or “dynamically”? Static” means a single interface per FPGA programming binary file. “Dynamic” suggests switching PS MIO interface on the fly within the same FPGA programming file.
As far as I understand, PS MIO configuration is controller via SLCR Registers (as in generated ps_init.tcl file). Can these registers be modified from the ARM program itself, to change PS_MIO interface? I was looking at ug585-Zynq-7000-TRM, but haven’t found a definitive yes or no answer.