This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Part Number: IWR1443BOOST
I've added SPI code to the demo for IWR1443 (C:\ti\mmwave_sdk_02_01_00_04\packages\ti\demo\xwr14xx\mmw). The demo itself is able to run fine, and I added SPI initialization and transaction code to it. I just want to be able to see the SPI clock turn on and be able to probe the signal on the pin on the dev board. The code compiles fine but when I execute the program I run into errors, and the output shows that SPI did not open. I've attached a screenshot with the relevant code and console output. I'd appreciate any help I can get on this. Thanks.
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Charles Oladimeji:
I believe I've just running R4F (we're just using the IWR1443 not IWR1642). I've only modified main.c in the demo, which I've attached here.
In reply to Sabrina Chang:
Hi, I've tried opening DMA in the updated code I had in the other post. Here it is again.
Additionally, when I try commenting out the code that opens UART, the project does not build. Why?
Thank you, we're in a hurry to get SPI working.3858.main.c
I've figured this out last week. For anyone who wants to add SPI to the demo code in the future, here's my procoess. I linked the SPI driver in the file path, followed https://e2e.ti.com/support/sensors/f/1023/t/611282?IWR1443BOOST-capture-the-range-data-from-IWR1443BOOST-via-serial-port to add SPI in the appropriate places, and put data on txBuf. It does not work if txBuf is NULL (not explicitly said anywhere). I've also linked my code here. The SPI clock turns on in bursts of 32 cycles due to the while(1) loop in MmwDemo_dataPathTask.8306.main.c
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.