From: Hans de Goede <hdegoede@redhat.com>
To: lm-sensors@vger.kernel.org
Subject: Re: [lm-sensors] TI TMP421 chip address
Date: Wed, 27 May 2009 11:08:19 +0000 [thread overview]
Message-ID: <4A1D1F23.3000702@redhat.com> (raw)
In-Reply-To: <20090527091514.GB4422@ubuntu>
On 05/27/2009 11:15 AM, Andre Prendel wrote:
> Hi Hans,
>
> looking in the datasheet of the TMP421 sensor chip
>
> http://focus.ti.com/docs/prod/folders/print/tmp421.html,
>
> I saw the following addresses.
>
> TMP421 100 11xx
> TMP422 100 11xx
> TMP423A 100 1100
> TMP423B 100 1101
>
> But the preliminary driver of your students uses 0x2a.
>
> /* Addresses to scan */
> static unsigned short normal_i2c[] = { 0x2a, I2C_CLIENT_END };
>
> 0x2a = 010 1010b, right?
>
Right.
> Do I misunderstand something?
No, what my students did in there was wrong, they only put the
address in there to which the sample I gave them is wired
The addresses to scan should be:
static unsigned short normal_i2c[] = { 0x1c, 0x1d, 0x1e, 0x1f,
0x2a, 0x4c, 0x4d, 0x4e, 0x4f, I2C_CLIENT_END };
But we better run those past Jean, to see if any of
those are dangerous to scan by default, Jean ?
> And what means the xx in the address of TMP421/422?
This means that the address is configurable by hooking up
the IC in different ways, see table 9 and 10 at page 17 of
the data sheet.
Regards,
Hans
_______________________________________________
lm-sensors mailing list
lm-sensors@lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
next prev parent reply other threads:[~2009-05-27 11:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-27 9:15 [lm-sensors] TI TMP421 chip address Andre Prendel
2009-05-27 11:08 ` Hans de Goede [this message]
2009-05-27 11:44 ` Andre Prendel
2009-05-27 11:59 ` Jean Delvare
2009-05-27 12:06 ` Hans de Goede
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=4A1D1F23.3000702@redhat.com \
--to=hdegoede@redhat.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.