AnsweredAssumed Answered

SMT32F4 Discovery - VCP+I2C problem

Question asked by vukovic.matija on Mar 2, 2015
Latest reply on Mar 4, 2015 by vukovic.matija
Hi, I'm using an STM32F4 Discovery board. I need to send some coefficients from a PC via putty to a digital audio processor (with which I communicate via I2C). 
I would like to use either one of the USB ports on the board. 
So, my questions are: 
Is it possible to virtualize a COM port using the mini USB connection (the one for programming)? 
I've made a virtual COM port using the other connection, and it works - however, when I use it in my project, the I2C isn't working. I'm using the I2C3, and its configuration works fine by itself. With VCP included, the digital audio processor I'm controlling stops sending ACK signals. 
Here is my main.c:
https://app.box.com/s/pa3ck5ou27536f1dfs0vkoelabherue0

For VCP, I'm using the libraries available here.
http://stm32f4-discovery.com/2014/08/library-24-virtual-com-port-vcp-stm32f4xx/

Any suggestions?
Thanks!

Outcomes