Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem in Excitation Signal production @ BATImpedance Example #31

Open
znoorsa opened this issue Sep 4, 2023 · 5 comments
Open

Problem in Excitation Signal production @ BATImpedance Example #31

znoorsa opened this issue Sep 4, 2023 · 5 comments

Comments

@znoorsa
Copy link

znoorsa commented Sep 4, 2023

Hi!
I have designed a Board based on the documentations available at Analog devices website.
I dont use ADICup3029 Board, I am using NUCLEO-F411RE.
I want to use AD5941 to measure Battery Impedance spectrum and conduct an EIS Experiment but after loading Corresponding code example (BAT Impedance) on my board, it doesn't show anything but a single frequency and irrelevant impedance value(0 mohm, my Calibration Resistor is 50 mohm). when I connect my battery to the board and change some configuration lines which have been recommended on the CN0510 Application Note(Figure 12. Firmware Configuration ), nothing happens and just some few lines containing some printfs in the source code appears on the serial monitor but there is no information about the battery impedance.
Further more, I can not see Excitation Signal on CE0 pin and all I can see is only a dc voltage on LPF0 pin. I think the problem is from this point, It is rational not to see impedance while AD5941 doesn't produce any Excitation Signal but my question is whyyyy this happens?
I haven't changed anything in the source code except those mentioned lines at CN0510AN.
actually I am new to the microcontroller coding and this is my first project in this area , if anyone has any clue to help me find out where the problem is it will be heartfully appreciated.

@wanghar
Copy link

wanghar commented Sep 18, 2023

I encountered exactly same problem when I tried to run the BATImpedance example on a NUCLEO-F411RE board. There is no excitation signal on CE0 pin at all and I hope ADI engineers correct the codes as soon as possible!

@znoorsa
Copy link
Author

znoorsa commented Sep 18, 2023

Hi Dear Wanghar!
I Solved the problem by changing R21(in CN0510 Schematic) which is in the Emitter of Darlington pair.
at first place, out of my design requirements I had used 1 Ohm resistor to produce greater current excitation signal which was needed because of u-ohm impedance value, I altered the impedance and after resetting the code I could see my excitation signal at CE0 pin for only few seconds.
I have came across a new problem though! ToT
AD5941 ADC block doesn't work and I cant see any impedance value on my Serial Terminal at all!!

@wanghar
Copy link

wanghar commented Sep 18, 2023

Thank you znoorsa for your update. However I am not quite sure how you do on the R21. Do you mean you changed the value of R21 from 62 Ohm to 1 Ohm then signal is excitated from CE0 pin?

@znoorsa
Copy link
Author

znoorsa commented Sep 18, 2023

actually I did exactly opposite of what you said, by the way I suggest you to check Analog Devices "Engineer Zone" Forum.
There will be some similar questions about the problem and you can get technical supports.

I think checking this link might be helpful:

https://ez.analog.com/data_converters/precision_adcs/f/q-a/571607/ad5941-waveform-generator-trouble-in-batimpedance-c-example-port/499700

@wanghar
Copy link

wanghar commented Sep 20, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants