Hi,
Sorry, I have some confusion about your code/application.
There are two working mode for K22, which in bootloader mode and application mode.
During the bootloader mode, the K22 FS USB module works as one MSD device;
Then in application mode, the K22 FS USB module works with USB device composite as one MSD device and one USB speaker.
The two MSD device using the different memory range in RAM.
Please guide me if there with any misunderstanding about your code/application.
Have a great day,
Ma Hui
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------