Hello...
I'm trying to debug an MCP4725 but when I run the sim I get this box
I cannot see how I can view all the data to see what the regs are doing
What's the trick?
Thanks
Tim
How to enlarge a simulated parts info display?
Re: How to enlarge a simulated parts info display?
There must be a couple of arrows at the right of the pop-up dialogue.
In windows 11 those arrows will only appear when you over the mouse in that area.
About the MCP4725 specific, the EEPROM inside the component stores 14 bits of information, then the simulation model will show only two bytes of permanent memory. The first byte is:
x x PD1 PD0 D11 D10 D9 D8 where x x are not used bits.
The second byte is the low nibble of 12 bits Data, from D7 to D0.
As a result the bytes 08 00 means no power down selected, 0x800 12 bits data (0.5*VDD default output).
The command type (C2,C1 and C0) is not stored in the permanent memory; you can trace/debug the effect of those command bits by the Diagnostic message, when you enable them with Debug->Configure Diagnostic and then expand MCP4725 tree.
In windows 11 those arrows will only appear when you over the mouse in that area.
About the MCP4725 specific, the EEPROM inside the component stores 14 bits of information, then the simulation model will show only two bytes of permanent memory. The first byte is:
x x PD1 PD0 D11 D10 D9 D8 where x x are not used bits.
The second byte is the low nibble of 12 bits Data, from D7 to D0.
As a result the bytes 08 00 means no power down selected, 0x800 12 bits data (0.5*VDD default output).
The command type (C2,C1 and C0) is not stored in the permanent memory; you can trace/debug the effect of those command bits by the Diagnostic message, when you enable them with Debug->Configure Diagnostic and then expand MCP4725 tree.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.
Re: How to enlarge a simulated parts info display?
Hello Ettore
Yes I saw the arrows and I have tried scrolling but the aperture is so small you cannot see the values properly.
I was asking how to enlarge the box so you can see the values without it being in so restricted.
Tim
Yes I saw the arrows and I have tried scrolling but the aperture is so small you cannot see the values properly.
I was asking how to enlarge the box so you can see the values without it being in so restricted.
Tim
Re: How to enlarge a simulated parts info display?
The pop-ups used in the MCP4725 model is set as "not sizeable" dialogue class, so you cannot size it but only scroll it.
I'll PM you a model version with a dialog large enough to see both bytes.
I'll PM you a model version with a dialog large enough to see both bytes.
Kind regards,
Ettore Arena - Labcenter Electronics.
Ettore Arena - Labcenter Electronics.