Skip to content

app_usb_aud_template - extend to demonstrate example DAC initialisation over I2C #350

@shuchitak

Description

@shuchitak

The app_usb_aud_template has empty functions AudioHwInit() and AudioHwConfig() that the user is expected to fill in with custom codec configuration code. Most ADC/DACs are initialised over I2C and its not intuitive how to go about creating an i2c_master task, especially if the I2C ports are on a diffferent tile than audiohub.

It would be good if app_usb_aud_template could be extended such that it figures out where I2C ports are from the xn file and creates the i2c_master() on the appropriate tile, with the client interface i2c_master_if available in audiohw.xc for AudioHwInit() and AudioHwConfig() to use.

Maybe even add a sample dac init code using the i2c_master_if in AudioHwConfig? Commented out but acting as a starting point for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions