Tool/software:
Trying to develop an MCSPI driver to run on the R5 core. I am able to communicate with my device half the time (exactly), but get issues when booting from remoteproc.
The setup is A53 running linux, R5 running freertos. A53 loads elf with remoteproc, which boots and initilized the spi. The first remoteproc start, i only see 0's on the spi line, but if i stop the remote proc and restart, the second i see valid data, if i stop again, i see only zeros when i run it a third time and so on:
First remote proc start: SPI data all 0's
Second remote proc start: SPI data is good
Third remote proc: SPI data is all 0';s
Fourth: SPI data is good
and so on.
Any ideas where to look for this? i assume its a driver config issue.