USB vs. other interrupts

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

USB vs. other interrupts

898 Views
vaclavrojik
Contributor II

Dears,
how working interrupts on the LPC11u67, when is active USB HID_GetReport()? It is possible temporary disable the HID_GetReport() request?

Main loop communicate with memory by SSP0. SSP0 is working in the interrupt mode. Through USB HID Report Feature I need sometimes read the memory, but when is activate HID_GetReport(), the SSP0 stopping work. The HID_GetReport() is look as a interrupt with highest priority than SSP0. The SSP0 do not transfer all bytes, but HID_GetReport() is waiting for it, code is on loop.

Can I temporary disabled USB, when SSP transfer is provided from main loop, or setting "interrupt" priority?

The USB and SSP are based on LPCOpen library.

Thank You

0 Kudos
Reply
1 Reply

796 Views
jeremyzhou
NXP Employee
NXP Employee

Hi Vaclav Rojik,

Thank you for your interest in NXP Semiconductor products and 
for the opportunity to serve you.

I was wondering if you can share the complete code you used, as I'd like to know the more information.
Have a great day,
TIC

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply