I have Nucleo board with STM32f767zi MCU. I use STM32CubeMX and Atollic TrueStudio for ARM. I want to use CDC to communicate with PC.
First, the code is not working. I changed the stack size to 2000 and heap size to 4000. Also I moved the defenition of CDC_Receive_FS function from .c to .h. Also Ichange the USB frequency to 48Mhz.
now, I can send data to PC. I tried to recieve a data from pc and resend it. I wrote following code:
when I tyoe '3', '33' , '333' ... in terminal. I see same respoce '╜3¬'. when I type '8', '88', '888' ... I see '╜8AmΩ'
I do not know what is wrong.