IMX6SX USB device controller mode examples and documentation

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6SX USB device controller mode examples and documentation

ソリューションへジャンプ
2,449件の閲覧回数
gabohkiin
Contributor I

Hello!

I am new developing with IMX6SX, the SABRE board '6SX-SABRE-SDB'.

I am looking for software code examples/snippets in how to initialize the USB in device mode. A USB device mouse/Keyboard example code would be good and a good start base for my application.

Do you know where can I get these?

The reason of my question is because I am developing an application under a custom OS, and I supposedly initialized all the required registers to be used as a USB Device mode, but the computer failed to enumerate my device. I suspect the initial setup message (the one that computer sends first for requesting the device descriptor) is getting stuck or latched somewhere in the dQH even if priming the ENDP0 IN and OUT. Unsure the reason since I haven't plug a USB sniffer. But yeah, an example functional code would be nice to have.

Thanks in advance.

0 件の賞賛
返信
1 解決策
2,424件の閲覧回数
Aubineau_FAE
NXP Employee
NXP Employee

Hi,

 

OK, it seems not part of the BSP.

Plan B can be to port the platform SDK (supporting only i.MX6Solo/Dualite & i.MX6Quad/Dual) on the SoloX:

https://github.com/flit/imx6_platform_sdk 

SoloX has one USB port less but it is based on the same IP.

The platform SDK is running on Cortex-A9 but it is bare metal code.

/BR

Vincent

 

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
2,427件の閲覧回数
gabohkiin
Contributor I

Thanks Vincent.

I was unable to find the download button for getting the USB examples, is that because MQX is a licensed software?

Regards,

0 件の賞賛
返信
2,425件の閲覧回数
Aubineau_FAE
NXP Employee
NXP Employee

Hi,

 

OK, it seems not part of the BSP.

Plan B can be to port the platform SDK (supporting only i.MX6Solo/Dualite & i.MX6Quad/Dual) on the SoloX:

https://github.com/flit/imx6_platform_sdk 

SoloX has one USB port less but it is based on the same IP.

The platform SDK is running on Cortex-A9 but it is bare metal code.

/BR

Vincent

 

0 件の賞賛
返信
2,417件の閲覧回数
gabohkiin
Contributor I

Thanks Vincent, I appreciate your answer. I will take a look of that code. 

If I have another question or issue I will post another question.

Regards

0 件の賞賛
返信
2,438件の閲覧回数
Aubineau_FAE
NXP Employee
NXP Employee

Hi,

You should have USB examples in MQX v5 Software Solutions for i.MX6SX:

https://www.nxp.com/design/software/embedded-software/mqx-software-solutions/mqx-v5-software-solutio... 

/BR

Vincent

0 件の賞賛
返信