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.
HI All,
I am using the ADS1261EVM (ADS1262) with the evaluation software, and finding whether I am using a predefined or user defined (goal the latter) software that I am consistently getting a "write failed" error.
I have tested whether the script starts or ends with the RESET command, no change.
Below is my XML user defined script, a photo of my board (which itself is connected to Bridgestone arrangement of four generic 50kg 0.1 kg mV/V sensitivity scales).
<?xml version="1.0" encoding="utf-8"?> <script> <name>Enable bridge - external reference w/ AC excitation 60 SPS Sinc3</name> <description><description></description> <command_list> <detail> <command> <command_string>RESET</command_string> <description>Reset device</description> </command> </detail> <command> <command_string>WREG 02 32</command_string> <description>SINC3, 60 SPS</description> </command> <command> <command_string>WREG 03 61</command_string> <description>Enable 4-wire AC excitation</description> </command> <command> <command_string>WREG 04 C0</command_string> <description>Enable GPIO Outputs on AIN4/5</description> </command> <command> <command_string>WREG 05 6C</command_string> <description>Enable STATUS/CRC bytes</description> </command> <command> <command_string>WREG 06 0A</command_string> <description>External AIN0/1 reference selected</description> </command> <command> <command_string>WREG 10 00</command_string> <description>PGA enabled, gain of 1 V/V</description> </command> <command> <command_string>WREG 11 34</command_string> <description>Select AIN2/3 as analog inputs</description> </command> <command> <command_string>DELAY 2000</command_string> <description>Delay for settling...</description> </command> <command> <command_string>SYOCAL </command_string> <description>Run system offset calibration</description> </command> <command> <command_string>DELAY 10</command_string> <description>Delay for calibration</description> </command> <command> <command_string>CLEAR</command_string> <description>Clear STATUS register</description> </command> <command> <command_string>REGMAP</command_string> <description>Readback register settings</description> </command> <command> <command_string>STATUS</command_string> <description>Check for faults</description> </command> <command> <command_string>DELAY 10</command_string> <description>Delay for settling</description> </command> <command> <command_string>COLLECT 300</command_string> <description>Collect 300 points of data</description> </command> </command_list> </script>
Is this a sign of my misunderstanding on the use of the software/hardware configuration - or is it likely that my software/MCU is not working correctly?
Hi Max Luc Balen,
Can you please post the customer name in the Notes section of the Thread Tracking Toolkit?
-Bryan
Hi Bryan,
Just Max is fine, I have made the change - this isn't a particular customer's issue; just a generic issue I have found with the software/hardware interaction.
Hi Max,
You mention that you are using the ADS1261EVM, but also mention the ADS1262. The image shows the ADS1261EVM. Can you clarify if the ADS1262 is also being used for your application? This is a completely different device, EVM, and GUI compared to ADS1261
Can you send a screenshot of the GUI when you have the EVM connected to your PC?
Finally, do you have a logic analyzer in case further debugging is required?
-Bryan
Hi Bryan,
Thanks for the swift response. I believe it is the ADS1261EVM (It's labelled as ADS1262EVM on the sticker on the PCB for some reason).
I do have a logic analyzer in the office I can check on it with - as for the device in the software, is it recognized as ADS1261.
I just found the error.log, and have attached it here.
- Max
Hi Max,
Can you send me a screenshot of the GUI as requested?
Can you also send me a closer, higher resolution view of the board itself?
If you just try collecting data without using a script, do you get data from the ADC? If so, is it correct? You can just use the default settings when you first powerup the board, then try collecting 20 samples of data. This should approximately match the datasheet noise at the specified settings (g=1, 20 SPS, FIR filter)
Also, once the system hangs you will need to unplug the EVM and restart the GUI. Please don't try to continue to interact with the EVM until doing so
-Bryan
Hi Bryan,
Here are the higher res images as requested:
- The GUI
- High Res EVM
- Basic data collection
(following your advice with...
"Also, once the system hangs you will need to unplug the EVM and restart the GUI. Please don't try to continue to interact with the EVM until doing so" seemed to allow me to collect data again, no write failed message!)
Hi Max,
Thanks for the update. Does this mean you have got the EVM working and that this issue is resolved?
-Bryan