2015-07-24 02:43 AM
Dear all,
I will work on an STM32F303VET6 and I have to use I2C3 port. I started 2 months ago to work on an STM32F303VC (STM32F3-discovery board) and I developed many functionalities with standard peripheral library, so I would to continue to develop with this library. The problem is, in the file ''stm32f30x_i2c.c'', functions don't support I2C3. Should I have to modify them by myself ? I'm not very experimented on STM32 and that seems complicated for me. Or maybe library especially for STM32F303xE has already been developed ? I haven't found any of this on the internet. Best regards. #stm32f3 #stm32 #i2c #library2015-07-24 03:34 AM
Hi,
To download STM32F30x/31x DSP and standard peripherals library you have to use thishttp://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1743/LN1939/PF258144#
It is the one that support STM32F303xE.-Syrine-2015-07-24 04:46 AM
Hi Syrine,
Thanks for your reply. I've already downloaded these files, but when you look at the file ''stm32f30x_i2c.c'', the I2C3 peripheral doesn't appear. For example, in the header of the function ''I2C_DeInit()'', you can see : @param I2Cx: where x can be 1 or 2 to select the I2C peripheral. So you can't use I2C3 with these functions.2015-07-24 07:02 AM
It is a typo in the comment, but I2C3 is defined in header files.
Our software team will fix it in subsequent release.-Syrine-2015-07-24 07:32 AM
Ok, thanks a lot !
I have another question : I cross compile with gcc, but the file ''startup_stm32f303xe.s'' for gcc_ride7 doesn't exist. Will it be included in your next release ? If yes, have you an idea about the release date please ?2015-07-24 10:45 AM
It's nothing magic, just merge in the vector table from one of the other GNU chains, 5 minute task.