Hello,
I'm studying the IWR1443 chip using IWR1443BOOST. Some days ago I asked the following question: IWR1443: Changing profile parameters with MMWave_API and as part of the answers, a member of TI suggested me:
Please note, the latest version of the mmWave Sensing Estimator (2.1.1) allows the user to save the configuration as a .cfg file (rather than json) which can be sent over UART to configure the device when running the out-of-box demo.
I've been trying to do that for my device. My objective is to create a profile more complex than the ones the Demo Visualizer generates, to adapt better to my application environment. Nevertheless, when trying it, I've been having some problems. What I'm doing is generating a profile at mmWave Sensing Estimator, downloading the .cfg and sending it over UART to the IWR1443BOOST. When doing this, it gives me an error related to adcbufCfg command. I've tried to understand it.
What happens in detail is: when generating the .cfg from Sensing Estimator, it generates the following:
adcbufCfg -1 0 1 1 1
Note: I'll underline in green UART commands and info and in blue app code
Corresponding to: <subFrameIdx><adcOutputFmt(*)><sampleSwap><chanInterleave><chirpThreshold> (*)actually Sensing Estimator doesn't assign any adcOutputFmt, so it sends a 0 in its place.
I've been studying at CCS the IWR1443-OOB Demo application code, and it's not prepared to parse that information. When receiving a adcbufCfg CLI command, arguments format should be, according to definition, as follows:
<adcOutputFmt> <SampleSwap> <ChanInterleave> <ChirpThreshold>
It's not only the parsing function, but the structure used for this configuration doesn't have a subFrameIdx variable.
Therefore, I decided to try eliminating that parameter (adcbufCfg -1 0 1 1 1 replaced by adcbufCfg 0 1 1 1 on .cfg file) and seeing if the profile worked without it. Unsorprisingly, it doesn't. Every UART command is parsed but when executing sensorStart the application ends in an error point. This error is on a different line each execution, but always related to OpenCfg (or at least that's what I observe).
Do you know how to solve this? Maybe:
- I could I adapt my application at CCS so that it can work with Sensing Estimator generated profiles.
- I could modify some parameter from the profile to adapt it to the OOBDemo for IWR1443 application.
I'm attaching the .cfg I'm talking about just in case it helps.
Thank you in advance for your attention and best regards,
Julia Sánchez.