I'm trying to program AD5940 with esp32. I'm using the GitHub examples and library for it.
I was able to interface the ad5940 with esp32 via spi, now I'm wondering how to code ad5940? Suppose I want to flash ad5940 with 4 wire bia code, how do I do it? Can it be programmed like aducm350 via .hex file generated from IAR and uploaded using a custom interface such as esp32 acting as a serial bridge? Else do you have a code that can perform 4 wire bia via SPI with different mcu from aducm355 as given in the examples? I have access to aducm350 as well, but I want code to either sit on ad5940 or on a separate mcu (in this case esp32) and not on aducm35x.
PS- I'm using custom board for ad5940 and not the eval boards.
I just realized that everything is programmed via SPI and so is sequencer. It was a bit unclear initially.
The AD5940 does not have an integrated micro controller so it needs an external MCU like the ESP32 to control it and pre-program the sequencer through the SPI interface etc. We have another part, the ADuCM355, which has the same AFE as the AD5940 but also has an integrated Cortex M3 core. More details can be found here: https://www.analog.com/en/products/aducm355.html
Thanks for the reply. I checked aducm355, and since I have esp32 as mcu, not sure if I should switch to aducm355 from ad5940, since now I have a custom board up and running for ad5940, and both have same accuracy. I'm interested in high freq 4 wire impedance measurements. Any reason I should switch?
have you had any trouble getting the spi functioning on the esp32?I am an AD5940 project to a cypress module and am having trouble with the spi.