2009-02-15 11:09 PM
FSMC clobbers I2C1
2011-05-17 03:43 AM
Right, my code is fixed.
Every routine that does an IIC transaction is enclosed with this wrapper:Code:
RCC_AHBPeriphClockCmd(RCC_AHBPeriph_FSMC, DISABLE); I2C_LM75_Init(); // taken from tsensor.c in it's entirety // IIC stuff here RCC_AHBPeriphClockCmd(RCC_AHBPeriph_FSMC, ENABLE); Bit of a rigmarole, but it seems to work OK........ Chris.