Cannot clear SETUP bit for LPC55S69-EVK

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

Cannot clear SETUP bit for LPC55S69-EVK

618件の閲覧回数
nickray
Contributor I

I am writing a USB device driver for USB0 FS on LPC55S69-EVK.

My problem is that, after receiving an initial SETUP token, I cannot clear the USB0.DEVCMDSTAT.SETUP bit (by writing a 1 to it). The SETUP bit remains set.

So far, in the manual and SDK sample code, I could not find any prerequisite to clearing the bit, is there anything I missed?

Incidentally, USB0.INTSTAT.DEV_INT and USB0.INTSTAT.EP0OUT are both also set, and I can also not clear those (by writing 1 to them).

ラベル(2)
タグ(1)
0 件の賞賛
2 返答(返信)

517件の閲覧回数
Sabina_Bruce
NXP Employee
NXP Employee

Hi Nicolas,

Can you please share how you are writing the 1 to these bits in the registers?

Best Regards,

Sabina

0 件の賞賛

517件の閲覧回数
nickray
Contributor I

This ended up being an unrelated issue.

0 件の賞賛