cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 USB CDC and Labview

mfrank9
Associate III
Posted on September 29, 2017 at 15:47

Hallo everybody,

i have a problem with the communication between a USB CDC Device and the PC Software Labview.

On the pictures below you can see my cube settings and labview settings.

When i try to open the virtuell com port with a terminal programm there is no fail.

But when i try to open the com port with Labview there is very often a fail message.

I don't know what's the reason of the problem.

Other virtuell com port devices doesn't have this problem.

I have 8 pcb boards. Two with STM32F429BIT and Six with STM32F767BIT.

All have this problem.

On some boards this error almost always appears.

On other boards this error appears rather rare.

0690X00000608R4QAI.png0690X00000608R5QAI.png0690X00000608R9QAI.png0690X00000608RJQAY.png0690X00000608SCQAY.png0690X00000608OBQAY.png

#cdc #stm32f #usb
2 REPLIES 2
Posted on September 30, 2017 at 11:18

Hello!

Have Stack and Heap the correct values?

Stack must be  2048+2048 + forOtherUse , at least 0x1400

Heap used By CDC is 540Bytes  So you need at least 0x400

mfrank9
Associate III
Posted on October 04, 2017 at 18:03

To test them i have increased both values to 0x3000 but there is no improvement.