Hello,
I'm using the KL26 microcontroller in one of our boards with "SDK_2.4.1_MKL26Z256xxx4"
I have a question about disabling/enabling the USB interrupts in order to masking them in a function that must not be interrupted.
The functions DisableIRQ/EnableIRQ seem not to work properly.
I implement an HID keyboard: I am able to disable the interrupt but when I try to re-enable it, the interrupt works only if I haven't pressed any key while it was disabled, otherwise any other key will be not recognized.
I use these functions "normally" to mask interrupts coming from PortC and PortD.
Are there some special precautions in order to use them for the USB port ?
Thank you for all the attention.
Best Regards
Daniele