Using the AUTOSAR_MCAL_TMS570LSx-05.30.00. The Issue is related to the Port/ DIO Configuration for the SPI5. MIBSPI5NENA(Pin 97) is used as a DIO - OutPut.
Port Mux config for this Pin is set to Default. In the PortContainer-SPI5 the Mode is set to DIO and the Direction set to OUTPUT, Default level is set to HIGH.
DioChannel for MIBSPI5NENA is configured in the DIO Configuration.
Dio_WriteChannel(DioChannelMIBSPI5NENA, Level) does not change level on the Pin. I see that SPIPC3 (0xFFF7_FC20) does not reflect the change in Level from Dio_WriteChannel.
By changing the SPIPC3 bit 8, the Level of Pin MIBSPI5NENA(Pin 97) changes. However, Dio_WriteChannel(DioChannelMIBSPI5NENA, Level) does not change the PIN Level.
Please note that a change in the Default level to LOW also is not reflected on the PIN. It stays at HIGH all the time.
Please check.