Skip to content

xmos/lib_sw_dac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orphan:

lib_sw_dac: Software DAC

vendor:XMOS
version:0.2.0
scope:Demo
description:Software DAC for xcore.ai
category:Audio
keywords:Audio, DAC, PWM
devices:xcore.ai

Summary

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

Features

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

Known issues

  • Fixed configuration only currently (SF = Standard Fidelity)
  • The API requires that the software DAC is continually fed samples at the input sample rate. Failure to do so will result in full scale outputs glitches. Please ensure your application disables the hardware output stage before stopping feeding samples.

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 simpler usage examples.

Support

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