I have took this table from excel sheet of MPC5748G "Input Muxing" sheet. In this table I can see that SPI_2 will work as input as disable low if IMCR=0;
work as input as PG if IMCR=1;
while I am confused for the case of PP. because for this there is no IMCR register value there in the table.
Note: 306 value is merged only for upper two configuration, its confusing for me.
Also, I am working on SPI_2 in master mode but its not working, I am using only PORT P based SPI.
PP--->Clock configured as output with SSS value 1.
PP--->Dout pin configured as output with SSS value 1
PP---> SIN pin configured as input with SSS value 2 while IMCR and SSS 2 as per above table.
Note: I have tried this pin in both ways without writing anything in IMCR register.
PP--->SC_0--->configured as output with SSS value 1.