-
Notifications
You must be signed in to change notification settings - Fork 34
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
Arduino adventures #3
Comments
Hi there, |
Hi, Could you please explain a bit the difference between commands and "query" registers? The even numbered registers forwards directly to a memory position which can be read and sometimes written. Example being fan speed (
Reading your code comments and the asm comments I understood that I should be able to do the same by accessing command
Testing your python-code (without any hardware, just printing bytes to be sent) I get that I should send
When I send the same from my test arduino, I get no change in any registers.
Resetting max amps is just a test command. I would like to be able to access the more interesting commands like Is it something I am missing here? |
Oh nice, I should go mess with the feedback on mine too; would be handy to have this run at 5v or 3v3 sometimes. Mmmm not sure about the cmd thing; sorry I'm a bit too busy to get into this again, will be a few weeks at least |
OK! Do you still have the IDA PRO project files? |
Hi!
I am opening this issue just to let you know that I am experimenting with the i2c bus using an esp8266.
Thanks to your project I have been able to calculate checksums and communicate with the PSU. I have spent a few days in different standard documents now, and I am starting to think that the DPS-1200FB is not using PMBus, but something else.
The communication seems to work fine. It is consistent and with less than .2% CRC errors. I can set and read fan speed. I have fuzzed the PSU with different bit-patterns and it has given me some clues to what some registers do (I have written my ideas in the .ino file).
It has fan speed at
0x20
(or0x40
if you want the shifted values). All the PMBus specs I have seen has fan speed somewhere else.Anyways, ideas welcome :) My src is at https://github.com/slundell/dps_charger/ Its just a first draft and is mainly full of redundant functions I use for experimenting :)
Best
The text was updated successfully, but these errors were encountered: