EVAL-CN0429-EBZ resetting sensor values settings after reboot

Hi everyone,

I'm currently using the EVAL.CN0429-EBZ board togheter with EVAL-M355-ARDZ for gas mesurements. I'm using Alphasense SO2-A4, NO2-A43F and NO-A4 sensors and I need to set the correct parameters in order to use them correctly. The problem is that after a power down, shutdown or restart all the sensor values that I set are gone.

When I plug the board, the " DETAILES.TXT " file is showing this info: 

# DAPLink Firmware - see https://mbed.com/daplink
Unique ID: 0600000053454e4500268004006e0046aa21000197969900
HIC ID: 97969900
Auto Reset: 0
Automation allowed: 0
Daplink Mode: Interface
Interface Version: 0242
Bootloader Version: 0242

USB Interfaces: MSD, CDC, HID
Bootloader CRC: 0xb3954be4
Interface CRC: 0x8e62b75b

Is the " Auto Reset " entry the problem in my case? how can I change it?

After that, related to the parameter setting, there is the Alphasense NO2 sensor that has negative sensibility ranges but I cannot insert any negative value in the command line, what can I do? 

Is it there a way to connect the EVAL-CN0429-EBZ connected to the EVAL-M355-ARDZ directly to an arduino and read the data with the I2C? 

Thanks everyone, I really need help as I have strict deadline coming up.



added relevant product number tags
[edited by: elizabeth.uva at 2:40 PM (GMT -4) on 16 Jun 2021]
Parents
  • 0
    •  Analog Employees 
    on Jun 16, 2021 5:59 PM

    Hi G-move,

    I'd like to get someone more familiar to the CN0429 to comment exactly on what you are doing, but I'm thinking that in order to have your values setup as default values when you reset/powerdown, you are going to need to modify the firmware.

    There are 2 MCU's used in this system, one on the EVAL-CN0429-EBZ and the second on the EVAL-ADICUP3029.  Each MCU is running different code and they do talk to each other.  I think the EVAL-ADICUP3029 works as the host, to set and read back the registers, so if your configuration setup is via using the serial terminal, than I think you likely need to build and compile a new hex file for the EVAL-ADICUP3029.

    The code you need to look at can be found here (EVAL-ADICUP3029/projects/ADuCM3029_demo_cn0428_cn0429/src at master · analogdevicesinc/EVAL-ADICUP3029 · GitHub) I'm not sure exactly which file is going to contain the values you need to set, but it would be good to start digging in there.

    That project can be directly imported into ADI's CrossCore Embedded Studio, which is free for the ARM devices, and modified, built, and flashed onto the ADICUP3029.

    Cheers,

    Brandon

Reply
  • 0
    •  Analog Employees 
    on Jun 16, 2021 5:59 PM

    Hi G-move,

    I'd like to get someone more familiar to the CN0429 to comment exactly on what you are doing, but I'm thinking that in order to have your values setup as default values when you reset/powerdown, you are going to need to modify the firmware.

    There are 2 MCU's used in this system, one on the EVAL-CN0429-EBZ and the second on the EVAL-ADICUP3029.  Each MCU is running different code and they do talk to each other.  I think the EVAL-ADICUP3029 works as the host, to set and read back the registers, so if your configuration setup is via using the serial terminal, than I think you likely need to build and compile a new hex file for the EVAL-ADICUP3029.

    The code you need to look at can be found here (EVAL-ADICUP3029/projects/ADuCM3029_demo_cn0428_cn0429/src at master · analogdevicesinc/EVAL-ADICUP3029 · GitHub) I'm not sure exactly which file is going to contain the values you need to set, but it would be good to start digging in there.

    That project can be directly imported into ADI's CrossCore Embedded Studio, which is free for the ARM devices, and modified, built, and flashed onto the ADICUP3029.

    Cheers,

    Brandon

Children