STM32 MCUs products

Showing results for 
Search instead for 
Did you mean: 

Forum Posts

I2C on STM32L Discovery

Posted on September 03, 2012 at 11:48Hi everyone, I'm new in the world of STM32. I want to run the STM32L Discovery as I2C slave by using the Standard Peripheral Library. Does anyone have a code example for me. #i2c

Connect with LM75 through I2C/DMA on ST32100B

Posted on July 16, 2012 at 11:28 Hi, I am try to develop a simple I2C “receive data�? type of function; I took most of the code from the zip file that I was able to download from the st webpages. The main function of interest getBytesI2C1DMA(...

ptumati by Associate II
  • 1 replies
  • 0 kudos

Bridging I2C Ports Using DMA

Posted on July 16, 2012 at 18:14Hi,Just a very quick question - is it fairly easy or even possible to bridge or tie 2 I2C ports together using a DMA. It's just something that I'm looking to do due to a change in a requirement whereby we just want to...

dclark9 by Associate II
  • 4 replies
  • 0 kudos

StdPeriph_Driver I2C

Posted on November 30, 2011 at 12:01Hello all, I want to use the StdPeriph_Driver as a guide for my own project. Part: STM32F100RB value line discovery (test kit). Trying to get the I2C to work. I want to use the I2C files (.c+.h) for my own projec...

STM32 with I2C CPAL Library

Posted on May 16, 2012 at 11:14I use theSTM32withtheI2C-CPALLibary. When I use theSTM32pursuingas a slavereceiverin the interruptmode, I getafter receiving the firstdata bytenointerrupt (RXNE). Only afterthe seconddata byte, an interrupt(RXNE)is g...

STM32 I2C init failed

Posted on April 13, 2012 at 19:09ATTENTION! The following code do not work for STM32 I2C while looking good:void I2C_Ini(void){ I2C_InitTypeDef I2C_InitStructure; NVIC_InitTypeDef NVIC_InitStructure; // I2C RCC RCC_APB1PeriphClockCmd(RCC_APB1Periph_...

ivainc by Associate III
  • 6 replies
  • 0 kudos

I2C slave transmitter problem

Posted on March 02, 2012 at 11:49Hello. I'm trying to connect two stm32f4discovery boards through I2C. One will be the master receiver, and will ask for 4 bytes of data to the other (slave receiver). I found an example for the master receiver, and i...