Skip to main content
eeyjws
Associate II
March 17, 2015
Question

STM32 with TSL2561 I2C

  • March 17, 2015
  • 2 replies
  • 933 views
Posted on March 17, 2015 at 12:31

Hi, I'm working on STM32F072b discovery board.

I am new to this so I don't know much.

I am trying to make the luminosity sensor, TSL2561 with I2C serial bus communicate with my dis.board.

Can someone show me step by step of how to do this?

And I have some question, Do i need to config I2C port of the STM32 as I2C master?

#stm32f072b-discovery-b #tsl2561
This topic has been closed for replies.

2 replies

mandrake
Associate III
March 17, 2015
Posted on March 17, 2015 at 14:42

That usually makes sense. The MCU is configured as master and the device is slave.

eeyjws
eeyjwsAuthor
Associate II
March 18, 2015