Hello Steven,

thanks again,

for now, i ordered some free samples DS1338z-33, that fit exactly to my PCB pinout, but with 3.3V power. Also, linux driver for ds1307 should be perfect.

I'll let you know.
and congratulations to guess my 5V issue.

regards,
angelo


On 25/08/2011 05:19, Steven King wrote:
On Wednesday 24 August 2011 01:55:04 Angelo Dureghello wrote:

  
Great, bingo.

The board is a custom board designed by me, and a good reason why the
ds1307 don't work is that has been powered at 3.3V. I will try, just for
test to add some diodes to go almost over > 4.5, and let you know. Pullups
are good, as specified in the datasheet. Once it work there must be a kind
of autodetection/probe, right ?
    
Documentation/i2c/instantiating-devices describes the various ways to get an 
i2c device instantiated.

Typically with embedded systems you use method 1 which means you'll have to 
explicitly setup the device.   I usually put this in 
platform/<target>/config.c, with the call to i2c_register_board_info in 
init_bsp() just before the call to platform_add_devices.
  


--
 .:.:.SYSAM.:.:.

  di Angelo Dureghello
    via San Nazario 149
      34151, Trieste, Italy
    ++39 340 7631990
  www.sysam.it


_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to