I’m experiencing an issue with my program that uses the MCC128 to collect analog data, where I frequently receive an "Incorrect response" error message.
I’m using a Raspberry Pi 4B (Raspberry Pi OS 32-bit) along with the MCC128 DAQ Hat to collect data from 4 channels at a sample rate of 25,000 Hz once every 15 minutes.
The data collection process in my program follows this sequence: `a_in_scan_start()` -> `a_in_scan_read_numpy()` -> `a_in_scan_stop()` -> `a_in_scan_cleanup()`.
While the issue doesn't occur frequently, after running for more than a day, the `a_in_scan_stop()` function occasionally throws an "Addr1: Incorrect response" error, followed by an "A scan is already active" error at `a_in_scan_start()`, which stops any further data collection.
Restarting the program or even rebooting the Raspberry Pi did not resolve the issue. To fix it, I had to reinstall the daqhat software and update the MCC128 firmware, after which the program worked properly again. (I have changed the Raspberry PI and the daqhat, and I have also activated the SPI and I2C.)
However, even after updating the firmware, the "Incorrect response" error still occurs, causing disruptions in continuous data collection.
Any troubleshooting guidance would be greatly appreciated.
Question
jinho park
Hello
I’m experiencing an issue with my program that uses the MCC128 to collect analog data, where I frequently receive an "Incorrect response" error message.
I’m using a Raspberry Pi 4B (Raspberry Pi OS 32-bit) along with the MCC128 DAQ Hat to collect data from 4 channels at a sample rate of 25,000 Hz once every 15 minutes.
The data collection process in my program follows this sequence: `a_in_scan_start()` -> `a_in_scan_read_numpy()` -> `a_in_scan_stop()` -> `a_in_scan_cleanup()`.
While the issue doesn't occur frequently, after running for more than a day, the `a_in_scan_stop()` function occasionally throws an "Addr1: Incorrect response" error, followed by an "A scan is already active" error at `a_in_scan_start()`, which stops any further data collection.
Restarting the program or even rebooting the Raspberry Pi did not resolve the issue. To fix it, I had to reinstall the daqhat software and update the MCC128 firmware, after which the program worked properly again. (I have changed the Raspberry PI and the daqhat, and I have also activated the SPI and I2C.)
However, even after updating the firmware, the "Incorrect response" error still occurs, causing disruptions in continuous data collection.
Any troubleshooting guidance would be greatly appreciated.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now