Issue with USBCDC PE example for K40

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

Issue with USBCDC PE example for K40

ソリューションへジャンプ
596件の閲覧回数
andyfoxx
Contributor II

Hello,

I've been trying to get the USBCDC Processor Expert example to work on the KwikStik-K40 and it seems to have issues. It enumerates successfully and works successfully for the first keystroke (using Hyper Terminal). But the USB controller on the K40 stops responding after this. It only seems to occur on Host to Device USB messages. I've had a similar issue with USB HID on both the K21 and the K40 using the USB Stack.

ラベル(2)
タグ(3)
0 件の賞賛
1 解決策
452件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

I have tried to run USB Device CDC PE project of USB stack v4.1.1 with KwikStik-K40(Rev.5) board, which works on KwikStik-K40 board. There only need do a very few change and run that demo based on that project.

KwikStik-K40 board use 4MHz crystal as PLL refer clock, there only need to change external refer clock at PE CPU component.

More detailed info, please check attached picture.

PE CPU component setting.jpg

I use the USB Device DCD PE project located at USB Stack V4.1.1 default installtion path:

C:\Freescale\Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\CDC\USB_CDC_DEVICE_K40_PEx

Please check below picture about the virtual serial port info:

Virtual Serial info.jpg

Wish it helps.

Best regards,

Ma Hui

元の投稿で解決策を見る

0 件の賞賛
2 返答(返信)
453件の閲覧回数
Hui_Ma
NXP TechSupport
NXP TechSupport

I have tried to run USB Device CDC PE project of USB stack v4.1.1 with KwikStik-K40(Rev.5) board, which works on KwikStik-K40 board. There only need do a very few change and run that demo based on that project.

KwikStik-K40 board use 4MHz crystal as PLL refer clock, there only need to change external refer clock at PE CPU component.

More detailed info, please check attached picture.

PE CPU component setting.jpg

I use the USB Device DCD PE project located at USB Stack V4.1.1 default installtion path:

C:\Freescale\Freescale USB Stack v4.1.1\ProcessorExpert\Examples\Device\CDC\USB_CDC_DEVICE_K40_PEx

Please check below picture about the virtual serial port info:

Virtual Serial info.jpg

Wish it helps.

Best regards,

Ma Hui

0 件の賞賛
452件の閲覧回数
andyfoxx
Contributor II

Thanks for your response. It turns out changing the host PC fixed my issues. This by itself is interesting as other CDC devices work with the host PC.

Thanks again.

0 件の賞賛