Hi David Tosenovjan,
I have two queries wrt MPC5746C controller:
1> Host(Master) communication with MPC(Slave) is SPI. So host transfer from host 54bytes at a time to MPC via SPI.
Generally we use DMA based SPI in MPC5746c(SPI Slave). We see that after some point the TFUF bit is set, the SPI transaction is failed. Issue reproed rate is (4/5)
If we lower the spi frequency(5MHz to 1MHz) in Host side the issue reproed rate is less. (rate is 1/5)
it is quite simmilar to this thread: https://community.nxp.com/thread/476317
Also i want to know how to set the XBAR settings in MPC5746C
DSPI_SR status during succes case: 0xC1853100
DSPI_SR status during issue case: 0xC9853100
2> During flashing of elf through PEMicro if we stop the flashing in between, then PEMicro is not able to detect the MPC5746C.
I just want to know how to recover the MPC5746C in this condition.
Also do you have any utility to flash the MPC5746C in Linux, so that we can use that utility instead of using PEMicro Multilink Hardware.
Appreciate if you can comment on this.
Waiting for your reply
Thanks,
Sumeet
Hi
1) Configure XBAR setting for particular PBRIDGE slave to have higher priority for eDMA master that core master. This could solve the issue.
2) Try to check following document:
https://www.nxp.com/docs/en/engineering-bulletin/EB00875.pdf
Hi David,
1> Can you suggest how to set the XBAR settings in MPC5746c. Is there any example where i can refer?
2> Is there any way to recover the device if the MPC5746c device doesn't detect through PEMicro?
Thanks,
Sumeet