CN0359 Crashing when send "poll" command


I have a program to automatically log from some CN0359 boards. This works, and I am able to log data from my CN0359 boards.

My issue is that the CN0359 boards will randomly crash when I poll from them.

By crash, I mean the board becomes entirely unresponsive. The screen freezes on whatever was most recently on it, and the input nob/button does not do anything. A power cycle is required for me to fix the boards.

This usually happens within 1-2hr of when I started logging, and I have had it happen as quickly as 1min.

It seems like the boards crash faster if they are being polled more frequently. I have tested polling rates between 0.25s and 2s.

I have tested a couple of baud rates, but it does not seem to have an effect on the boards crashing. I am currently using 38400 bits/s.

I have observed this behavior on all of the 3 boards I have tested.

The boards do not crash like this unless I am polling them. I have left them reading overnight multiple times with no issues.

Has anyone experienced anything like this?

Thanks in advanced.

- osullivan

  • 0
    •  Analog Employees 
    on May 25, 2021 1:30 PM

    Hi osullivan,

    Sounds like you have probably found a bug in the code. What are you doing to continuously poll the board? Are you controlling it from a Python script or similar? The likely culprit is probably somewhere in the UART function/libraries or in the ADC interrupt function, given that it happens only when trying to actively poll the converter and send the data over. We'll start to have a look at this, but it might take us a bit of time to track down this issue, would you be able to share any scripts or files you are using to poll the device? This would help us find the problem sooner if we can work on a common setup. Also if there is anything else you changed that would be helpful to know up front.



  • 0
    •  Analog Employees 
    on May 25, 2021 2:19 PM in reply to Brandon


    A quick note here: it might help if the scripts send commands on the UART with a small delay between characters, like 10-20 ms. The interface might not be fast enough for full speed machine communication and the program might choke because of it.


Reply Children
No Data