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.
Q1. mmWaveLink_example usage/porting on External processor
MmWaveLink_example provides reference code to control AWR1243/P over SPI. This specific application uses SPI-to-USB FTDI emulator interface on PC to communicate with AWR1243.
HW connection: 4-SPI, HostIRQ lines, SOP lines and nReset line control which need to be connected to external Host Processor. Please refer ProcessorSDKRadar_UserGuide.pdf from TI Processor Radar SDK for more hardware connection.
SW setup: Please refer these threads dsicussing about similar topic
Q2. How to capture ADC data using mmWaveLink_example AWR1243+DCA1000EVM?
Q3. How to debug AWR1243 device when Logger or JTAG pins are not available but RS232 line is accessible?
Answer: On a closed board where AWR1243 device is connected with Host over SPI, debugging AWR1243 might be a difficult task. RS232 lines RS232_TX [PIN: N6] RS232_RX [PIN: N5] which is used for flash programming, can be used to read specific memory of the device.
By reading device memory space we can find the device status and cause of issue Host is facing.
Using TeraTerm we can access device register space. Here are the steps to setup this tool
To setup Tera-Term to read/write register over RS232 from AWR1243 in SOP-4 mode(functional mode)
Command to read register (make sure all characters are in a small case and address must be in hex but without '0x' prefix)‘rd <register-address>’ e.g. rd ffffe1ec [expected return value 00000028]Other memory regions which need to be read in case of any issue.
Q4. How to capture MSS or BSS log with AWR1243 device?
Answer: Many of times to debug critical issues with AWR1243, we need MSS or BSS logs. In AWR1243 MSS or BSS dumps the debug log over UART. Device Pin R5: MSS_LOGGER, R4: BSS_LOGGER need to connect over UART-to-USB emulator to PC.
Connect TeraTerm to one of the COM port connecting to MSS/BSS logger. MSS dumps log at 115200 baud rate and BSS dumps log at 921600 baud rate, so set a similar setting in TeraTerm.
If using AWR1243BOOST with DevPack/DCA1000EVM then MSS log comes at 'XDS110 Auxiliary Data COM port' and BSS log comes at 3rd COM port emulated from DevPack board.
a. On DCA1000EVM board, BSS logger pin is not connected with AWR device, so with DCA1000EVM you won't get BSS log. Only MSS logger which is routed over AWR EVM.
b. BSS log data is only available after BSS is powered on from the Host or mmWave Studio.
The user needs to capture the TeraTerm log in binary format to a file (TeraTerm menu File→Log, give filename and select Binary option checkbox in the popup window). This file needs to be shared with TI mmWave Team to parse and analyse it.
While providing the captured log user must need to mention the exact MSS and BSS version to parse it correctly.
Q5 How to create a Triangular Waveform from mmWave Sensor device?
Please refer this thread : https://e2e.ti.com/support/sensors/f/1023/p/832554/3090039#3090039
Q6 Please explain advanced frame configuration of mmwave sensor?
Please check TI mmWave FAQs before posting a new query ----------------------------------------------------------------------------------------------------------
Very useful information. Thanks for sharing.
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.
Q7: What is difference between SOP-2 and SOP-4?
Answer: SOP: sense on Power, is the mechanism of mmwave sensor to recognize the mode device is powering on.
SOP-2 is development mode of mmwave sensor where it bypasses ROM images, and none of the CORE will be powered ON.
On the mmWave Sensor EVM (e.g. AWR2243BOOST) user needs to put jumpers on SOP0 & SOP1 header pins (and press NRST) to make device in development mode. mmWave Studio uses this mode where it loads the MSS and BSS firmware (from rf_eval directory) to the device over RS232 lines and making cores manually powered on (unHalt). This mode is not available for user's application development for single chip devices (like xWR1642, xWR1843, xWR6843 etc.)
With mmWave Studio: after firmware loaded over RS232 in SOP-2 mode, device can listen any command over SPI, effectively works same as SOP-4 mode. But here whole image is loaded instead of patch which gets loaded in SOP-4 mode. SPI communication for device configuration is mainly used for AWR1243/AWR2243 devices (in SOP-2 and SOP-4) and other devices (xWR1642, xWR1843, xWR6843) in SOP-2 only with mmWave Studio.
Note: with Cascade setup TIDEP-01012, only SOP-4 mode is available even while using mmWave Studio. With this board, TDA2x processor is being used in b/w of PC and AWR device, so SOP-2 mode can not be used with this setup.
Now SOP-4 is the functional mode, where ROM (+patch) or application executes. Device executes in SOP-4 mode after application or firmware binary files are flashed to device in SOP-5 (flashing mode) using UniFlash tool. Single jumper (on SOP0 header pin) is required on BOOST EVM to make it in SOP-4 mode, same if required in customer board.
SOP-5: flashing mode to flash the application image or patch (MetaImage binary format) to the mmwave sensor's sFlash. EVM jumpers on SOP2 and SOP0 header pins of xWR EVM board.
Note: there may be a slight confusion b/w device SOP mode and header pin name (SOP0/1/2) on the EVM, so please pay attention.
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.