Community Translation - How to Pass the TD 9.1, USB 3.1 Device Descriptor Test - KBA221825

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

cross mob
YoOb_1790021
Level 5
Level 5
Distributor - Marubun (Japan)
First solution authored 10 likes received 10 likes given

Hi,

I want to translate KBA221825 into Japanese, please confirm to my work.

How to Pass the TD 9.1, USB 3.1 Device Descriptor Test - KBA221825

https://community.cypress.com/docs/DOC-14089

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

Best regards,

obana

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

Hi, Obana-san

Confirm to work this KBA.

Thanks,

Jenna

Jenna Jo
0 Likes
YoOb_1790021
Level 5
Level 5
Distributor - Marubun (Japan)
First solution authored 10 likes received 10 likes given

Hi Jenna-san,

I tried to translate this KBA221825 into Japanese.

How to Pass the TD 9.1, USB 3.1 Device Descriptor Test - KBA221825

https://community.cypress.com/docs/DOC-14089

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

タイトル:

TD 9.1, USB 3.1 デバイス記述子テストに合格する方法について

質問:

FX3/CX3 ボードで USB3 CV テストを実行しています。デバイス記述子テスト TD 9.1 が、デフォルトの bcdUSB = 0x0300 の値で失敗します。このテストに合格するには、どの様にすれば良いでしょうか?

回答:

デフォルトでは、FX3 SDK(SDKバージョン1.3.3まで)で提供されるサンプル プロジェクトの SuperSpeed デバイス記述子の bcdUSB の値は 0x300 に設定されています。しかしながら、USB 3 CV ツールでは、USB 3.1 SuperSpeed デバイスの bcdUSB の値は 0x0310 である必要があります。このテストは、bcdUSB の値を 0x0310 に変更することでパスします。

テストにパスするためのデバイス記述子の例を以下に示します:

/* Standard Device Descriptor for USB 3.1 */

const uint8_t CyFxUSB30DeviceDscr[] __attribute__ ((aligned (32))) =

{

    0x12,                           /* Descriptor Size */

       CY_U3P_USB_DEVICE_DESCR,        /* Device Descriptor Type */

    0x10,0x03,                      /* USB 3.1 */

    0x00,                           /* Device Class */

    0x00,                           /* Device Sub-class */

    0x00,                           /* Device protocol */

    0x09,                           /* Maxpacket size for EP0 : 2^9 */

    0xB4,0x04,                      /* Vendor ID  = 0x04B4 */

    0x34,0x12,                      /* Product ID = 0x1234 */

    0x00,0x00,                      /* Device release number */

    0x01,                           /* Manufacture string index */

    0x02,                           /* Product string index */

    0x03,                           /* Serial number string index */

    0x01                            /* Number of configurations */

};

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

Best regards,

obana

0 Likes