Cannot clear SETUP bit for LPC55S69-EVK

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Cannot clear SETUP bit for LPC55S69-EVK

621 次查看
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 回复数

520 次查看
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 项奖励

520 次查看
nickray
Contributor I

This ended up being an unrelated issue.

0 项奖励