ds1620 interface

15 Jul 2009 . Edited: 16 Jul 2009

Hi all,

I'm a newbie, trying to interface DS1620. I started with SPI abut coudn't succeed. I couldn't trace the source of error. May be the frequency doesn't match or the read/write isn't working.

Now, I'm trying to write the port registers of LPC2368 directly to talk to DS1620. Please let me know if there is a way to address the registers POxDIR, PINSELx, PINMODEx and POxVAL.

 

Thanks in advance,

Arun

 

15 Jul 2009

Hi,

I've not actually used the DS1620 part, but I have used te MAX6662, which looks like it is very similar.

I documented the whole process of getting up and running in the cookbook :

http://mbed.co.uk/projects/cookbook/wiki/SPIThermometer

You might find some inspiration there....

Cheers,
Chris

15 Jul 2009

Thank you Chris.

I went through your SPIThermometer. And I used SPI3, yet I couldn't get the readings. :(

Cheers,

Arun

 

16 Jul 2009

Hi Arun,

Feel free to post your code here if you want. Sometimes a fresh pair of eyes spot can spot subtle mistakes...

Thanks
Chris