EmbeddedRelated.com
Forums

SAM7 TWI/I2C driver read (24xxx EEPROM)

Started by Pierre Laviolette November 1, 2006
Hi,

Does anybody have a driver for SAM7. I have my own and write works
fine, but read does not work properly; it only works once. Anyways, I
am investigating, but in the meantime I thought I'd post in case
someone has a working example;this could save me some time.

Thanks in advance.

Pierre.
--- In A..., "Pierre Laviolette"
wrote:
>
> Hi,
>
> Does anybody have a driver for SAM7. I have my own and write works
> fine, but read does not work properly; it only works once. Anyways, I
> am investigating, but in the meantime I thought I'd post in case
> someone has a working example;this could save me some time.
>
> Thanks in advance.
>
> Pierre.
>
Hi Pierre

Under
http://www.at91.com/package_patch_driver/at91sam7s256_iar/at91sam7s256_iar.zip
where you can find several examples. (AT91SAM7S256-BasicTWI-IAR4_30A-1_21)

I hope this helps..

Regards
Simon
Thanks, I based my driver on this sample. But I am not sure it is the same;perhaps Atmel upgraded at some point. The sample was bad and did not work.

Thanks, will see if there have been updates from the one I started from.

Pierre.

Simon Mark wrote: --- In A..., "Pierre Laviolette"
wrote:
>
>
>
> Hi,
>
> Does anybody have a driver for SAM7. I have my own and write works
> fine, but read does not work properly; it only works once. Anyways, I
> am investigating, but in the meantime I thought I'd post in case
> someone has a working example;this could save me some time.
>
> Thanks in advance.
>
> Pierre.
>
Hi Pierre

Under
http://www.at91.com/package_patch_driver/at91sam7s256_iar/at91sam7s256_iar.zip
where you can find several examples. (AT91SAM7S256-BasicTWI-IAR4_30A-1_21)

I hope this helps..

Regards
Simon

---------------------------------
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.