Sony's Developer World forum

    • Home
    • Forum guidelines

    Upcoming maintenance 

     

    Dear Customers and Partners.

    This website will be undergoing scheduled maintenance on June 14, 2023. Please be aware there may be disruption to the developer portal website and associated services during the scheduled maintenance period.

    This upgrade is essential to ensure the continued performance, reliability, and security of Developer World.

    We apologize for any inconvenience.

     

     

    USB Device Classes

    Spresense
    2
    2
    376
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    This topic has been deleted. Only users with topic management privileges can see it.
    • N
      nimish last edited by

      Is there any way to support being a different USB device class? Like USB Audio class to allow SPRESENSE to be used as a sound processor?

      C 1 Reply Last reply Reply Quote
      • C
        CamilaSouza DeveloperWorld @nimish last edited by

        Hi, @nimish

        It should be possible.
        You would need to implement the USB device class driver in NuttX.

        See this documentation: https://nuttx.apache.org/docs/latest/components/drivers/special/usbdev.html

        As examples they mention drivers/usbdev/pl2303.c and drivers/usbdev/usbmsc.c.
        You could create a driver called drivers/usbdev/audio.c for instance.

        1 Reply Last reply Reply Quote
        • First post
          Last post
        Developer World
        Copyright © 2021 Sony Group Corporation. All rights reserved.
        • Contact us
        • Legal