Cannot clear SETUP bit for LPC55S69-EVK

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot clear SETUP bit for LPC55S69-EVK

221 Views
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).

Labels (2)
Tags (1)
0 Kudos
2 Replies

120 Views
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 Kudos

120 Views
nickray
Contributor I

This ended up being an unrelated issue.

0 Kudos