The Secondary I2C Master Register SECONDARY_I2C_ENBL setting moves SPI master control port signal SCLK_M from pin 34 (MP2) to pin 30 (MP24). This setting should only move the I2C signals to SCL2_M and SDA2_M, but it also moves the SPI SCLK signal in error. All other SPI master control port signals - SS_M MOSI_M MISO_M - remain on the correct pins.
Although the data sheet says, "Note that only one of the two protocols can be used at a time," there is no expectation that SCLK_M will move, and no documentation of this.
My test hardware is a custom board that brings pins 30 through 35 to a header, along with the /WP signal of the SPI EEPROM and the /RESET signal for the SigmaDSP. This allows an 8-channel logic analyzer to view all relevant signals simultaneously. My design depends upon the I2C Master 2 pins functioning, because all DAC, ADC, and A2B chips are attached there. The SELFBOOT EEPROM is on SPI Master.
STEPS TO REPRODUCE SILICON ERROR:
1. Create a project in SigmaStudio+ 2.4.0 - preferably one which uses the I2C Master 2 pins. Use Link-Compile-Download to confirm that it functions when running on the hardware platform.
2. Use "Write Latest Compilation Through DSP" and note that the logic analyzer shows pins 30, 32, 33, and 35 have activity. The SPI SELFBOOT EEPROM write fails, since the chip does not see any SCLK_M activity from pin 34.
3. Without any further Link Compile or Download activity (which would alter the firmware), use SigmaStudio+ ADAU1463 Settings to toggle the SECONDARY I2C Master Enable at the bottom of the MULTIPURPOSE 1 page. Now use "Write Latest Compilation Through DSP" again and note that the logic analyzer shows pins 32, 33, 34, and 35 have activity as documented and as expected for proper operation.
4. You should be able to repeat the "Write Latest Compilation Through DSP" functions as many times as needed, while toggling the SECONDARY_I2C_ENBL setting, to witness the SPI master control port SCLK_M signal move between pins 34 (MP2) and 30 (MP24). It should not do this according to the data sheet documentation.
While it's theoretically possible that this is not a silicon error, it would require the "Write Latest Compilation Through DSP" firmware to be bit-banging the SPI master control port pins direcly, without the hardware peripheral engaged. I suspect that such bit-banging is not actually possible with SigmaDSP. Instead, I'm sure that the hardware SPI master control port peripheral is being used, and that the silicon routes the SPI SCLK_M signal to the wrong pin when I2C master 2 is selected.
Bottom line: There is no way to use the SPI master control port in firmware that has the I2C Master 2 port enabled. The only time the SPI master control port works is during SELFBOOT, before SECONDARY_I2C_ENBL gets set.