Hi :
I'm using 5746R to complete SPI function. Everything is good to operate when I using DSPI 0/1/2/3/4(figure 1). But since I added another master in SPI4(figure 2/3), it stops if running Init_RealityTime(figure 4) and present this information(figure 5). I've traced it into "spi_pal.c"(figure 6), it shows me system gets stuck at here(figure 7). Figure 8/9 is my SDK setting. Please tell me how to resolve this problem, thanks.
BR,
Xantia
Hi,
if you added another master configuration into SPI4_pal, then just single config can be "active". Once module is initialized using one master configuration, it cannot be initialized again with another one for the same SPI module instance until it is de-initialized, using DeInit functions.
BR, Petr
Hi :
So if I want to initial the two configrations in same SPI_pal, how should I do the initialize step contemporary?
BR,
Xantia
Hi,
no, it is not possible to have both initialized in the same time for the same module.
If you want to do communication with second configuration, you need to first finish previous communication, call Deinit and then Init with new master configuration. Then you can do a communication again.
BR, Petr