This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP-EXP430F5529LP: Example software that supports a composite USB device with both USB audio and USB keyboard

Part Number: MSP-EXP430F5529LP
Other Parts Discussed in Thread: MSP430F5529

Hi Team,

Our customer will integrate a USB keyboard and audio codec to MSP-EXP430F5529LP. He is looking for an example software that supports a composite USB device with both USB audio and USB keyboard. Do we have a sample library from MSP430 USB Developers Package?

Thank you for your support!

Regards,

Danilo

  • Hello Danilo,

    Under our USB Developer's Package library in resource explorer we have composite examples for different types of connections. The HID to HID could be the example that they are looking for.

    Regards,

    Luke

  • Hi Luke,

    Thank you for your response. We have received a feedback from our customer below.

    If an audio device has an HID associated with it, it is a control interface - like volume, etc. The audio interface is separate and not an HID. Can you find example software with a USB audio interface? 

    Regards,

    Danilo

  • Hello Danilo,

    MSP430 USB Developer's Package doesn't support USB audio interface, but our TI TM4C microcontrollers do have USB audio support so that could be a potential solution.  Although, there is no composite example for that specific scenario.

    Regards,

    Luke

  • Hi Luke,

    Thank you for suggesting TM4C for this application. We have received this feedback from our customer,

    I believe your MSP-EXP430 processors would do the job - we just need an I2C bus and a SPI/I2S bus to communicate with the codec.

    The audio can be sent through a USB audio interface controlled by firmware. The firmware can send speaker data and receive mic data and route it through the USB audio. The USB keyboard/joystick can be done through the USB on the microcontroller via firmware control.

    Both the USB audio and the USB HID can be a composite device configured in the microcontroller.

    I just need an audio codec that doesn't have a USB interface, just a I2C for configuration and an I2S for sending/receiving sound to/from the microcontroller.

    The product specialist recommended using a TI TM4C microcontroller. That seems like overkill to me - I don't need a 128 pin device. In the over 2,000 TI MSP430 devices, Is there one that supports USB, I2C, I2S and at least 16 GPIO pins? If so, that's all I need. Or if you can find another TI microcontroller that has those features that doesn't have lots of other features I don't need. I just need USB, I2C and I2S.

    Regards,

    Danilo

  • Hello Danilo,

    With some extra work it can be done with the MSP430F5529. By using the SPI interface it is possible to interface with an I2S device. Linked in this application report are the details on how to interface the I2S device with an MSP430. Here are some additional ideas in this thread.

    Regards,

    Luke

**Attention** This is a public forum