I'm having trouble getting support for values above 384 kHz in my USB to I2S application. I'm mostly using the AN00246_xua_example from the XUA library. Here are the obvious settings I've configured:
Code: Select all
#define MAX_FREQ 768000
#define MCLK_441 (1024 * 44100)
#define MCLK_48 (1024 * 48000)
#define I2S_CHANS_DAC 2
#define NUM_USB_CHAN_OUT 2
The first error I encountered is in lib_xua/lib_xua/src/core/audiohub/xua_audiohub.xc:734:
Code: Select all
xassert((!divider_is_odd) && "Error: divider is odd, clockblock cannot produce desired BCLK");
Should I check something else in the code, or could the issue be more related to driver/OS support on the PC side?