Posted on March 15, 2016 at 18:16
I'm trying to debug an I2C interrupt handler that I didn't write, on an STM32F207ZG. My problem is that after sending a Start, when waiting to send the Address byte, a Stop happens. What am I doing wrong that mak...
Posted on May 29, 2014 at 16:15I need some help in understanding the Bus Turnaround time of the FSMC. I think I have it right, but don't want to burn out the data bus in finding out I'm wrong. Could someone who knows, confirm please? My STM32F207 ha...
Posted on May 23, 2014 at 16:07One thing I have not been able to find in the datasheet: if the FSMC is being used to access 16-bit memory, what does A0 do? I'm a bit confused about this. If BCR.MWID is 00 => 8-bit data width, you have to address ind...
Posted on January 15, 2014 at 17:26Hi I am writing an I2C interrupt handler for the STM32F207 and am using the Standard Peripheral Library. The problem I currently have is how to set up a NAK when receiving 1 byte from an I2C slave. According to the...
Posted on March 22, 2016 at 12:17
Thanks Radoslaw
Your code
if (SR1Register & I2C_SR1_SB)
{
I2C1->DR = I2C1_data.ICAddress;
does the same as the snippet that I gave earlier. This code is executing. The problem is that the ad...
Posted on March 22, 2016 at 11:52Thanks Mayla So it looks like the strange stop condition after one SCL, instead of the ADDR coming out, means the STM32F207's I2C interface is in need of being reset. I still don't know what is causing that - the STM...
Posted on May 23, 2014 at 18:51> From RM0033 (rev4), table 163: Thanks a lot! I suspected that was the case but didn't find the reference in the manual. Now to warm up the soldering iron... :\
Posted on February 04, 2014 at 17:27Thanks for that. Using the functions you suggest, I was able to write 2 bytes, generate a restart and read 64 bytes from an I2C eprom. But it didn't quite work as I expected. In the end, I had to avoid all the EV...