how to set baud rate of CDC Virtual COM Port in fx2lp

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

hello ,

           we are using the CDC Class in FX2LP to write data to port we want to set the baud rate more than 921600 when i referred the application note AN58764 maximum baud rate is 115200 . how to increase that baud rate to  around 921600 . if any one has idea please let me know .

thanks regards,

veerendra

0 Likes
1 Solution
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello Veerendra,

Baud rate of 921600 cant be set using Timer 2. Please refer to the TRM section 14.3 for the baud rate calculation. You can set a baud rate of 230400 using the high baud rate generator instead of Timer 2.

Best Regards,

Sananya

View solution in original post

0 Likes
1 Reply
Sananya_14
Moderator
Moderator
Moderator
750 replies posted 500 replies posted 250 solutions authored

Hello Veerendra,

Baud rate of 921600 cant be set using Timer 2. Please refer to the TRM section 14.3 for the baud rate calculation. You can set a baud rate of 230400 using the high baud rate generator instead of Timer 2.

Best Regards,

Sananya

0 Likes