Community Translation - Detecting change in baud rate for the USBUART Component- CDC COM port - KBA233881

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

cross mob
keni_4440091
Level 7
Level 7
500 replies posted 100 solutions authored 50 solutions authored

Dear supporter

I want to translate the following KBA. Please confirm to my work.

Detecting change in baud rate for the USBUART Component- CDC COM port - KBA233881

Regards,

Nino

 

0 Likes
2 Replies
JennaJo
Moderator
Moderator
Moderator
1000 replies posted 750 replies posted 500 replies posted

Hi, Nino-san

Thank you for participating this activity.

Confirm to work this KBA.

Thanks, 

Jenna Jo
0 Likes

Dear Jenna

The following shows the translated version in Japanese for targeted KBA.

Please conform and double check.

Regards,

Nino

-----------------------------------------------------------------------------------------------

USBUARTコンポーネント – CDC COMポートのボーレートの変化の検出 – KBA233881

 

Version: **

 

USBUARTコンポーネントのボーレートは、PSoC™ファミリのデバイスのようなフルスピードデバイスのUSBFSデータレート(12 Mbps)で理論的に制限されます。

USBUARTボーレートは、シリアルターミナルを使用して変更できます。

 

USBUARTコンポーネントで事前定義されているAPIとマクロを使用して以下を実行し、ボーレートの変化を検出します。

 

  1. シリアルターミナルを通してボーレートを設定する場合など、デバイスにコーディング情報をホストが送信する時に、SET_LINE_CODING要求を受信します。
  2. SET_LINE_CHANGED 要求が受信された場合、ゼロ以外(USBUART_LINE_CODING_CHANGED)の値を返すUSBUART_IsLineChanged() APIを呼び出します。
  3. ビット/秒(bps)でこのポートに設定されたデータターミナルレートを返し、データコーディング情報を読むために呼ばれるUSBUART_GetDTERate() APIを使用して設定したボーレートを確認します。

 

Labels  MCU & PSoC: PSoC 5 Other

Tags: baud rate CDC COM port usbuart

0 Likes