Hello NXP community,
for a project i use the LPC5528 SDK example code for USB composite audio+hid device.
I modify the code to fit with the customer requirements and replace the audio codec. It works fine and approval is on the way.
For an other device there is no speaker implementation needed. Also it is not a functional problem if the operating system install a speakerdriver but the hardware has no speaker connector, it confuses the customer.
So i try to change the SDK example to remove the speaker but unfortunately without success. My idea is to modify only the USB descriptor according to other example codes (USB audio generator ,USB speaker only) and leave the audio code unchanged and instead deactivate the playback in codec register config.
I tryed with these and some other defines:
#define USB_DEVICE_CONFIG_AUDIO (2U)
#define USB_DEVICE_INTERFACE_COUNT (4)
#define USB_AUDIO_SPEAKER_STREAM_ENDPOINT_COUNT (2)
#define USB_COMPOSITE_INTERFACE_COUNT (4)
But all my experiments ended up with a driver error an yellow marked sign in pc device manager.
Do you think it is possible to reduce the composite SDK example to microphone+hid device that way or do i have to rewrite the complete code handling in the controller to get it working?
Do you have any idea or solution to push me forward?
Thanks