Difference between revisions of "STM32F107VC/Using I²C"

From Teknologisk videncenter
Jump to: navigation, search
m (Links)
m (Peripheral Addresses)
Line 4: Line 4:
 
*[http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00259166.pdf M24C64] EEPROM (Loads PDF) on Slave address 0x0
 
*[http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00259166.pdf M24C64] EEPROM (Loads PDF) on Slave address 0x0
 
*[http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00135460.pdf LIS302DL] 3 Axis motion Sensor (Loads PDF) on Slave address 0x1C
 
*[http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/DATASHEET/CD00135460.pdf LIS302DL] 3 Axis motion Sensor (Loads PDF) on Slave address 0x1C
 +
==Software Examples==
 +
*[http://mars.tekkom.dk/data/MotionSensor1.zip MotionSensor1.zip] (Not yet functional. Code works from Cold Reset - but not from Warm Reset)
  
 
=Links=
 
=Links=
 
*[http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00209826.pdf STM32F10xxx I2C optimized examples] Application Note (Loads PDF)
 
*[http://www.st.com/internet/com/TECHNICAL_RESOURCES/TECHNICAL_LITERATURE/APPLICATION_NOTE/CD00209826.pdf STM32F10xxx I2C optimized examples] Application Note (Loads PDF)

Revision as of 12:32, 21 September 2011

Keil MCBSTM32C board

I²C bus connected to STM32F107VC GPIO Port B SDA (Data) on pin 9 and SCL (Clock) on pin 8.

Peripheral Addresses

  • M24C64 EEPROM (Loads PDF) on Slave address 0x0
  • LIS302DL 3 Axis motion Sensor (Loads PDF) on Slave address 0x1C

Software Examples

  • MotionSensor1.zip (Not yet functional. Code works from Cold Reset - but not from Warm Reset)

Links