MCU: STMicroelectronics STM32F107 Connectivity Line JTAG: ST-Link, 100% compatibile with ULINK IDE: Keil uVision 4.00
While in debug mode I open "Peripherals" menu where I can change "online" settings for PLL's, I2C, GPIO etc. Problem is that I cant find all peripherals I want to modify. In GPIO Iv got only: GPIOA, GPIOB, GPIOD, AFIO (missing GPIOC,E,F) In I2C there is only first I2C, missing I2C.2. In timers there are only Timer2 and Timer3, missing Timer1.
What is wrong?
PS. Sorry for my bad english :(
Ok guys, problem with no clock and data output solved: Iv put I2C_DeInit(I2C1); before configuring the I2C interface and now Iv got my signals going.
Im sending address 0x90 which is b#10010000. 1001000 is a i2c temperature ic address and the last 0 is read register bit. So i figured out that I should be sending 10010000 instead of 1001000 to make it working properly (8bit altogether). Unfortunately still no response from IC. Thats what I get from osciloscope: img697.imageshack.us/.../i2cn.jpg As you can see address is send properly, but start and stop is wrong. It should be a transition high->low for START and low->high for stop. Whats I can see there is now transition but just a level low for start and high for stop. Have you ever experienced that?
Please can someone help me out?
There is no generation of START/STOP signal :(