From: Guenter Roeck <guenter.roeck@ericsson.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] dual output buck controller pmbus based
Date: Thu, 01 Mar 2012 05:28:34 +0000 [thread overview]
Message-ID: <20120301052834.GA14856@ericsson.com> (raw)
In-Reply-To: <CANSBHnO8pQ_QVMpuS8JCoKfSvQ9s1_KDv-HybXD_TpM2jnPUUA@mail.gmail.com>
On Wed, Feb 29, 2012 at 11:52:42PM -0500, Vivek Bardia wrote:
> Hi Guenter,
>
Hi Vivek,
> I still do not have any evaluation hardware.
>
Too bad.
> By the way, my usage for TPS40400/TPS40422 is just output voltage control. Have
> no sensors being used in my scenario.
>
> Will you be able to comment on my below steps and its validity:
>
> 1. To get the current output I do a READ_VOUT and then convert it to microvolts
> format, for e.g. finally i get 942734uV
>
> 2. To set a output voltage to say 902234 based on some requirement,
> My nominal voltage being 1.1V
> hence trim_offset = 902234 - 1100000
> therefor I do: PMBUS_VOUT_TRIM with a value ffa7
>
> Is the above logic right? my VOUT_SCALE_LOOP is
> 600mV/1100mV x (2^9) = 279.27 => 100010111 => b917
>
I can not really comment on that. The procedure is different for each chip,
not always easy to understand, and it often takes quite some time to find
a working configuration. Best is really to use the tools provided by TI
(the Fusion GUI is quite good), since there tend to be other parameters
which need to be configured as well. I use the TI tools even for the test
boards I built myself. The TPS40xxx series is not as difficult as the
UCD92xx series when it comes to configuration complexity, but I would
still suggest to use the tools. If you misconfigure the chip, you might
burn it, so it pays to be careful.
Did you have a look into http://www.ti.com/lit/ug/slvu638/slvu638.pdf ?
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
prev parent reply other threads:[~2012-03-01 5:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-10 6:32 [lm-sensors] dual output buck controller pmbus based Vivek Bardia
2012-02-10 7:23 ` Guenter Roeck
2012-02-22 4:15 ` Guenter Roeck
2012-03-01 4:55 ` Vivek Bardia
2012-03-01 5:28 ` Guenter Roeck [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120301052834.GA14856@ericsson.com \
--to=guenter.roeck@ericsson.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.