Search found 5 matches

by drgnz
Wed Nov 02, 2011 5:40 pm
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 285290

Re: I2C implementation for STM32

BTW I got I2C working beautifully. Thanks a lot. If I want the latest greatest update, where should I get it from? 2.3.3?
by drgnz
Wed Oct 26, 2011 10:37 pm
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 285290

Re: I2C implementation for STM32

Hi all.
drgnz
1 - there is no 8bit API. 7bit notation used because datasheets contain it much often than 8bit. You can write simple wrapper if need 8bit.
2 - I am not understand your desire. Can you explain it in detail? Provide example?

Regards.

1 - I don't mind. I was wondering about the ...
by drgnz
Wed Oct 26, 2011 12:32 am
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 285290

Re: I2C implementation for STM32

I finally got this one going. It was a silly issue. Two questions:

1-Is the convention to give 8bit I2C addresses without shifting and assuming the last bit is 0/1 for r/w (say, 0x90 for the LM75 temp sensor), or to give 7bit unshifted addresses and have the API shift it (would be 0x48 for the same ...
by drgnz
Thu Oct 06, 2011 5:03 am
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 285290

Re: I2C implementation for STM32

I'm trying to add the I2C example to the STM3210E-EVAL (just using the temperature sensor which is the same LM75) and it fails with an ack error (then cashes when trying to raise the error event flag, but that's a different issue).
I changed the address to 0x90 which is the one in this board.
by drgnz
Wed Sep 28, 2011 1:01 am
Forum: Development and Feedback
Topic: I2C implementation for STM32
Replies: 346
Views: 285290

Re: I2C implementation for STM32

Howdy? What's the status of the I2C driver? Is it working? Is there an example?