/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / STM32 Primer I2C Master Receiver (2 bytes)

Username:     
Password:     
             

Forum

# 1   2009-12-19 14:37:07 STM32 Primer I2C Master Receiver (2 bytes)

p0wd3r
New member
Registered: 2009-07-22
Posts: 2

STM32 Primer I2C Master Receiver (2 bytes)

Hello,

i'm using STM32 as Master Receiver and i successfully used the I2C protocol to receive data for another microcontroller. Now i´m trying to receive 2 consecutive bytes without need to send twice the address. The first byte is correctly sent but the 2nd isn´t.
Can someone give me the correct steps of code to receive 2 bytes or an idea to do that?

Regards wink

Offline

 

# 2   2009-12-19 18:28:32 STM32 Primer I2C Master Receiver (2 bytes)

p0wd3r
New member
Registered: 2009-07-22
Posts: 2

Re: STM32 Primer I2C Master Receiver (2 bytes)

I found a real interesting document and files examples, on ST site, that explain this. I´m gonna try implement on my code and i expect that works smile


DONE, WORKS wink

Last edited by p0wd3r (2009-12-26 19:24:47)

Offline

 

Board footer