I´ve to program a ADM1062 for a project.
And now my idea was to write a headerfile thats offer me the possibility to write something like
VP1.PS1OVTH = 0;
VP1.SFDV1CFG = 10US;
Has someone allready made a headerfile with this definesor something similar. I don´t want to write 100 or more macros.
Thanks in advance
Thanks for the fast reply. But programming offline is not an option. I need to configure it because I have more than once and they have different voltage level at different times.
May I have the sourcecode of the SuperSequencer software?
The GUI SuperSequencer evaluation software that can be download for free at
is the best way to program the part.
It has a offline mode which allows you to program the part in a intuitive manner.
you can then save the file into txt format for retrieve later and/or hex format for EEPROM programming.
On a longer powersupply line I have 5, 6 or maybe more devices with a ADM1062 and the ADM should control the voltage over the bus.
For this I need to configure the ADM1062 over a microcontroller. At powerup the system looks at the powerlevel, measure it and that are the reference value. If the power go down (maybe 10%) there should raise a pin at the ADM1062 for the microcontroller.
I ´ve not only one voltage, I´ve 7.
Thats the reason that I need to configure the ADM online.
The GUI software is done in labview so source code won't help much.
Could you be more elaborate on what are you trying to achieve in your application?
We may find some workaround if I can get a clearer picture.
So if i understand it correctly, the long trace/wire would case ground offset on your monitoring inputs and the setup can change so you don't know the exact boundary of the input supply before powering the board up?
If that is the case then you may need to use the micro to configure the RAM of the ADM1062 after powering up then. You can widen the limits on default power up (stored in EEPROM) and narrow it after you have the reading.
I don't have any macro code that would allow you change the threshold values on the run, but it shouldn't be too hard. everything else (hysteresis, glitch filter, sequencing engine etc) should be configured beforehand in EEPROM and after power up all micro need is to change the threshold values of each inputs.
The register addresses for input threshold are documented in
http://www.analog.com/static/imported-files/application_notes/AN-698.pdfyou should only need to write two bytes (UV and OV) of data for every input you want to adjust.