LPC5528 Force USB1 as Full speed Device

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

LPC5528 Force USB1 as Full speed Device

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

Hi,

I'm using the LPC5528 to run a project, and I need to support both high speed USB and full speed USB by using USB1. I saw there is a Forced FS bit in USB1->DEVCMDSTAT that might be able to deal with it.

However, as I know, there are some differences between high speed USB and full speed USB such as the clock and the descriptor.

My questions are:

1. Do we need to do any configuration after setting the Forced FS bit to 1 if I want to force USB1 as a USB full speed device. 

2. Do we need to adjust any clock setting for it?

3. Is there any sample code that can be referenced? (toggle USB high speed and USB full speed in USB1)

 

ラベル(2)
タグ(1)
0 件の賞賛
返信
1 解決策
624件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @tks11111 

 

Setting the Force FS bit to 1 is the only thing that is required.

Nothing else needs to be done. Clocks and other items are automatically configured by the HW in the correct mode.

 

 

BR

Alice

元の投稿で解決策を見る

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

Hello @tks11111 

 

Setting the Force FS bit to 1 is the only thing that is required.

Nothing else needs to be done. Clocks and other items are automatically configured by the HW in the correct mode.

 

 

BR

Alice

0 件の賞賛
返信
613件の閲覧回数
tks11111
Contributor II

Hi Alice,

Thanks for the quick reply.

I had a quick question. If I want to toggle the USB1 between High Speed and Full Speed, I need to

call NVIC_SystemReset() and then toggle the Forced FS bit in the beginning, right?

0 件の賞賛
返信