AnsweredAssumed Answered

USB vs. other interrupts

Question asked by Vaclav Rojik on Oct 18, 2017
Latest reply on Oct 24, 2017 by jeremyzhou

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

Outcomes