Gerhard Fiedler wrote:
> On 2006-07-24 14:03:30, [EMAIL PROTECTED] wrote:
>
> > To read from the chip, one must issue the "read page" command (33h),
> > followed by the two-byte address of the requested page (pages are 32
> > bytes long). After receiving this, the DS1615 will send the data in a
> > burst of (up to) 32 bytes.
>
> I'm not sure what you mean when you say it will send "up to" 32 bytes. If
> you mean that it sends bytes until all existing values have been sent --
> did you make sure you have any values in the buffer?
>
> (Just asking the obvious... :)
>
> Gerhard

Thanks Gerhard,

Up to 32 bytes means that the chip sends the bytes from the address you
give up to the end of the memory page that contains this address. Thus
if you give the address of the beginning of a memory page (e.g. like
here 0000H for the beginning of the first page, which contains control
registers and the current temperature register), you get 32 bytes.

alex

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to