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: AWR1642BOOST
Reading through the ADC data capture guide or the DCA1000 data capture guide, I did not see anything regarding the LSB/MSB format of the data. Therefore, upon inspecting the packet capture from the DCA1000 in raw mode I saw the following (just a snippet of one capture)
Where the red text is the packet number, blue text is the byte count, bold text is the I sample of the first receiver, and unbolded text is the Q sample of the first receiver. I only enabled 1 receiver and 1 transmitter on my device, so all of the data should be associated with the first receiver.
As you can see, this is only the second packet I captured but the format of the byte count and packet number headers implies that the format is LSB. "050b" = 1456 in decimal, which makes sense because I captured packets 1466 bytes long and 10 bytes are allocated to the header, which leaves 1456 for data (after just one packet capture).
Therefore, my question is whether the data samples for the I and Q samples are also LSB format. For instance is the first complex sample: "06bb - I 004b - Q" ? Then I would just subtract 2^15 from each of these values to obtain the binary offset compensated value?
Attached is a sample MATLAB script that is used for extracting the data from a .bin file of captured data using the DCA1000EVM. The format of the data should be LSB. The attached script addresses the issue of subtracting 2^15 from the values to obtain the twos complement.
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.
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.