Other Parts Discussed in Thread: MMWAVEICBOOST
Hello,
I'm working on updating the out of box demo to enable SPI for industrial toolbox 4_10_0 and SDK 3_05.
The point of this is to get information on the range doppler map. UART isn't fast enough (project needs at least 1MHz) and doesn't provide sufficient frame rate to interpret information.
The IWR6843aop is configured as a slave with a raspberry pi as SPI master.
When I run the pi code, I only receive 255 as output instead of the sent 0x55.
My latest update trace when debugging is attached below:
The chip returns an error when it gets to the semaphore pend with SPI_MODE_BLOCKING. My initial theory was that there was a different task blocking the SPI and both the SPI and that mystery task had the same level of priority
But then again, to try and confirm that theory, I took the spiWrite function out of my dedicated tasks (so other parts of the demo transmitted over UART) and called spiWrite early in my main function
This did not work and I got the same debug trace attached earlier.
If anyone has faced a similar problem, could you please explain how you solved it?
Or if you have an idea on how to approach this, your help will be greatly appreciated.
Thank you