/var/www/restricted/ssh/stm32/www/stm32circle/ STM CircleOS forum / Strange Behaviour : I2C STM32 Evoprimer

Username:     
Password:     
             

Forum

# 1   2013-01-03 10:15:47 Strange Behaviour : I2C STM32 Evoprimer

softy
Member
Registered: 2012-12-03
Posts: 68

Strange Behaviour : I2C STM32 Evoprimer

HI,
I am seeing strange behavior in the RIde7 IDE.I am running a pressure temperature sensor code in the RIde7 and when i go the the watch window in the debug mode and try to see the I2C1 register values and the GPIOB register values . all seems to be 0 rather I2C2 and GPIOA values are being shown up.
To brief about the system, Pressure temperature sensor is mounted on a board such that its SCL and SDA line goes to PB6/PB7 pin of STM32F103 .It is the I2C1 which is mapped to the Pb6/Pb7 (GPIOB) of the STM32.



Can some onle please share what I may be missing or is there some  problem with the Ride that  it is showing the wrong data for the right registers and vice versa.


Rgds,
Softy


" Pain is temporary, Quitting Lasts for ever"

Offline

 

# 2   2013-01-04 07:24:57 Strange Behaviour : I2C STM32 Evoprimer

yrt
Administrator
From: Grenoble-France
Registered: 2008-06-11
Posts: 520
Website

Re: Strange Behaviour : I2C STM32 Evoprimer

A known issue is a conflict between I2C1 and FSMC controller inside the STM32 micontroller.

Take a look at this example :
http://www.stm32circle.com/projects/project.php?id=102

Generally, it would be efficient to search into the forum if your problem has been already solved before to post a new request.

Thanks

Offline

 

Board footer