9 Commits

Author SHA1 Message Date
oscarbailey-xmos
ee75327d34 Merge pull request #149 from xmos/feature/update-lib-xud-dependency
Update lib_xud to v1.1.1
2020-09-22 15:09:58 +01:00
oscarbailey-xmos
2fb8bd6d49 Change view to lib_xua_release_0_1_5 2020-09-22 13:00:44 +01:00
Default Name
2dc860b9aa Update lib_xud to v1.1.1 2020-09-22 12:47:44 +01:00
Ed
67f8badbe7 Fix source/license/changelog check fails 2020-09-02 11:42:23 +01:00
Ed
8be5f0a31f Merge branch 'feature/fix_i2s_pushout' into support/0.1
* feature/fix_i2s_pushout:
  Version bump, changelog and source
  Better fix to avoid zero length packets being added to input buffer before SoF case starts working
  Revert "Handle case at startup where decouple ISR gets stuck for several hundred cycles at startup, pushing out I2S timing"
  Handle case at startup where decouple ISR gets stuck for several hundred cycles at startup, pushing out I2S timing

# Conflicts:
#	CHANGELOG.rst
2020-09-02 10:07:12 +01:00
Ed
acd5e5f951 Version bump, changelog and source 2020-09-02 08:37:39 +01:00
Ed
0286ca093d Better fix to avoid zero length packets being added to input buffer before SoF case starts working 2020-09-01 17:53:03 +01:00
Ed
2e8e57d5fa Revert "Handle case at startup where decouple ISR gets stuck for several hundred cycles at startup, pushing out I2S timing"
This reverts commit 0b32bee3aa.
2020-09-01 17:48:38 +01:00
Ed
0b32bee3aa Handle case at startup where decouple ISR gets stuck for several hundred cycles at startup, pushing out I2S timing 2020-09-01 09:55:53 +01:00
7 changed files with 21 additions and 9 deletions

View File

@@ -1,6 +1,17 @@
lib_xua Change Log
==================
0.1.5
-----
* CHANGED: Update lib_xud dependency to v1.1.1
0.1.4
-----
* RESOLVED: Zero length input packets generated before enumeration causing I2S
timing pushout at startup
0.1.3
-----

2
Jenkinsfile vendored
View File

@@ -6,7 +6,7 @@ pipeline {
agent none
environment {
REPO = 'lib_xua'
VIEW = 'lib_xua_release_0_1_3'
VIEW = 'lib_xua_release_0_1_5'
}
options {
skipDefaultCheckout()

View File

@@ -1,6 +1,6 @@
Software Release License Agreement
Copyright (c) 2011-2019, XMOS, All rights reserved.
Copyright (c) 2011-2020, XMOS, All rights reserved.
BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software.

View File

@@ -1,6 +1,6 @@
Software Release License Agreement
Copyright (c) 2017-2019, XMOS, All rights reserved.
Copyright (c) 2017-2020, XMOS, All rights reserved.
BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software.

View File

@@ -13,9 +13,9 @@ MODULE_XCC_FLAGS = $(XCC_FLAGS) -O3 -DREF_CLK_FREQ=100 -fasm-linenum -fcomment-a
OPTIONAL_HEADERS += xua_conf.h
VERSION = 0.1.3
VERSION = 0.1.5
DEPENDENT_MODULES = lib_logging(>=2.1.0) lib_xud(>=0.1.0)
DEPENDENT_MODULES = lib_logging(>=2.1.0) lib_xud(>=1.1.1)
#ignore host dir
SOURCE_DIRS = src/*

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved
#ifndef NO_USB
#include <xs1.h>
#include "xua.h"

View File

@@ -1,4 +1,4 @@
// Copyright (c) 2011-2018, XMOS Ltd, All rights reserved
// Copyright (c) 2011-2020, XMOS Ltd, All rights reserved
#ifndef NO_USB
#include <xs1.h>
#include <print.h>
@@ -38,8 +38,9 @@ extern unsigned int g_curSamFreqMultiplier;
#endif
/* Global var for speed. Related to feedback. Used by input stream to determine IN packet size */
unsigned g_speed;
/* Initialise so we get a sensible packet size until we start properly calculating feedback in the SoF case */
/* Without this, zero size packets fill the input FIFO and take time to clear out when feedback starts */
unsigned g_speed = (AUDIO_CLASS == 2) ? (DEFAULT_FREQ/8000) << 16 : (DEFAULT_FREQ/1000) << 16;
unsigned g_freqChange = 0;
unsigned feedbackValid = 0;