STM32 with TSL2561 I2C
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-17 4:31 AM
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
Labels:
- Labels:
-
STM32F0 Series
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-17 6:42 AM
Posted on March 17, 2015 at 14:42
That usually makes sense. The MCU is configured as master and the device is slave.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-03-17 6:28 PM
Posted on March 18, 2015 at 02:28
Hi MrChips.
Can show me some example code? I saw another thread : https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Discovery%2fI2C2%20configuration&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=39 But I cant find NVIC in the library.