Skip to content

xmos/lib_sw_dac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orphan:

lib_sw_dac: Software DAC

vendor:XMOS
version:1.0.0
scope:General Use
description:Software DAC for xcore.ai
category:Audio
keywords:DAC
devices:xcore.ai

Summary

Software DAC for xcore.ai comprising of upsampling, sigma-delta modulator and PWM generation.

Features

  • Supports 44100, 48000, 88200, 96000 and 176400 & 192000 Hz sample rate, stereo output
  • Uses two hardware threads, two one-bit ports, one timer, one clock-block and 32 kB of RAM

Known issues

  • Fixed configuration only currently (SF = Standard Fidelity)
  • The API assumes that the software DAC is continually fed samples at the input sample rate. Please ensure your application mutes/disables the hardware output stage before stopping sending of samples to the software DAC.

Development repo

Required tools

  • XMOS XTC Tools: 15.3.1

Required libraries (dependencies)

  • None

Related application notes

The following application notes use this library:

  • AN02020: Adding a software DAC to USB Audio

Please also see the /examples directory for a minimal usage example.

Support

This package is supported by XMOS Ltd. Issues can be raised against the software at: http://www.xmos.com/support