Page 1 of 1

MCP41HV51

Posted: Fri Nov 15, 2024 7:59 pm
by jgu1
Hi all!

I've looked in the Wiki for an example of this component, but there isn't one. I just ordered a few, get them next week.

https://dk.rs-online.com/web/p/analog-u ... 67473?gb=s

Does anyone have experience with these? I have tried to make a testprogram myself, am I on the right track, could someone have a look at my testprogram, please?

br Jorgen

Re: MCP41HV51

Posted: Sun Nov 17, 2024 10:56 am
by chipfryer27
Hi Jorgen

Does this post help?

viewtopic.php?t=2369

I could be wrong but doesn't the component MCP45xx work (xx being don't care)?

Regards

Re: MCP41HV51

Posted: Sun Nov 17, 2024 11:23 am
by jgu1
Hi Chipfreyer!

Thank you. Very nice, but I am looking for an examble how to use the component, maybe you could have a look at my examble it seem to work i simulation, am I on the right way? :D

Jorgen

Re: MCP41HV51

Posted: Fri Nov 22, 2024 7:09 am
by jgu1
Hi !

SPI model.

I get ny board. I have perform a test. No matter what I do I can´t get i work. Same for CH1 and SWmode. When I measure with my scope no data on any SPI pin.?


*****EDIT: After set index to 1 I see now data on the SPI pin? But I am not able to see any change on the POT PoA and POW and PoB **

https://dk.rs-online.com/web/p/analog-u ... 67473?gb=s
https://docs.rs-online.com/be55/A700000007461615.pdf

Have any expeience with this device, not sure if I do something wrong, please. New tesprogram att.

Hope for help :)

Jorgen

Re: MCP41HV51

Posted: Fri Nov 22, 2024 10:14 am
by medelec35
Hi Jorgen.
the MCP41XXX would refer to any three numbers after the 41.
Like wise with MCP41XX would refer to any two numbers after the 41.
As they are both different components, then they both will work differently.
The MCP41HV51 are a mixture of letters and numbers, therefore I would again assume it works differently.
You could try the MCP41XX, but I can't say if it will work or not?
If it does not work, then currently the MCP41HV51 is not supported.
If you can let me know, so we can look at adding the component for you.
If we need to add it, I don't have the board to test with, so I will need to order one.

One thing to note with your Flowchart.
You have got the debounce set to 5ms.
Debounce only works with the Switch functions and not with inputs.
If you want to use the debounce option then you will need to swap the inputs with ReadState function.
Also, don't forget the pulldown resistors for the switch

Re: MCP41HV51

Posted: Fri Nov 22, 2024 12:02 pm
by jgu1
Hi Martin!

Again thank´s. I will test your suggestion during the weekend :D

If it not help I can send you one of my MCP41HV51 board and you don´t have to return it, keep it, no problem.

You hear, nice weekend :D

br jorgen

Re: MCP41HV51

Posted: Fri Nov 22, 2024 1:15 pm
by jgu1
Hi Martin!

Yes, you are the Master :D I change to one of the other with only XX and not XXX and it work,so fine.

If you want, my offer is still open and I can send you one board ? ;)

Br jorgen