Commit Graph

106 Commits

Author SHA1 Message Date
Ross Owen
1ef5129fde Variable i2s bit width (#331)
- Add support for variable width I2S (via XUA_I2S_N_BITS)
- Add support for variable width TDM (again via XUD_I2S_N_BITS when XUA_PCM_FORMAT=XUA_PCM_FORMAT_TDM)
- Includes support for xcore as I2S/TDM master and slave
- Add testing of the the above to test_i2s_loopback
- Rationalised test config building in test_i2s_loopback
- Documentation updated
2023-06-08 15:31:12 +01:00
Ross Owen
71a657dc9a Tidy up of volume control. Removal of xc_ptr.h in favour of built in xc pointers. 2023-04-04 12:37:59 +01:00
Ross Owen
e2c36a9a95 xpd: Cleaned up whitespace 2023-03-15 13:00:39 +00:00
Ross Owen
4a84c3e1ec OUT_VOLUME_IN_MIXER enabled by default 2023-03-13 15:49:54 +00:00
Ross Owen
57593bfea3 Fixed issue with STREAM_FORMAT_OUTPUT_RESOLUTION_32_BIT_USED be set incorrectly 2023-03-13 14:31:53 +00:00
Ross Owen
9c20fab216 Updated copyright comment 2023-03-09 15:32:15 +00:00
Ross Owen
2964861b70 Fixed xua.h including in asm files 2023-03-09 14:51:32 +00:00
Ross Owen
950beb55cb - Fixed ifndef check
- Fixed mix map update
2023-02-08 17:06:08 +00:00
Ross Owen
f80d7647e0 - Make usage (of lack of) of CS when setting/getting mixer weights more clear in the implementation
- Fix typo in IN_VOLUME_IN_MIXER define
2023-02-08 11:59:13 +00:00
Ross Owen
60040de58f Further build issue fixes and copyright comments 2023-02-06 21:08:47 +00:00
Ross Owen
317e27e421 - Rationalised MIXER defines and usage
- Further removal of xc_ptr type usage in mixer in favour of native xc pointers
2023-02-06 20:28:29 +00:00
Ross Owen
73955c1a4c - Added mixer related defines to reduce use of magic numbers
- Increases debug output when DEBUG flag set
- Removed some dead code
- Increased alignment of asm mixer functions
- Removed some usages of “xc_ptr” type in favour of native pointers in XC
- Added some asserts to mixer
- Added test_mixer_routing_input
- Moved test_mixer_routing_output to use shared code
2023-02-01 11:54:48 +00:00
Ross Owen
2404eaf35f Remove extern, mark static inline 2023-01-17 11:53:44 +00:00
Ross Owen
513761ef5b Moved DoSampleTransfer to a header file so it can still be inlined (but also used in unit tests). Resolves fails in test_i2s_loopback 2023-01-17 11:33:52 +00:00
xross
16ce73391a xpd: Cleaned up whitespace 2022-10-25 19:18:28 +01:00
Ross Owen
22a6a2505a Define SELF_POWERED changed to XUA_POWERMODE and associated defines (#291)
Define SELF_POWERED changed to XUA_POWERMODE and associated defines
2022-10-04 11:24:31 +01:00
Ross Owen
eb86a72882 Updates to documentation (#280)
Documentation updates (including moving of header files
2022-09-30 16:11:53 +01:00
xross
085d222f45 Further rename of ADAT_TX to XUA_ADAT_TX_EN 2022-09-07 14:32:27 +01:00
xross
11f5a9d9e1 ADAT_RX not XUA_ADAT_RX_EN 2022-09-05 16:35:57 +01:00
xross
0659b1c536 Merge remote-tracking branch 'upstream/develop' into feature/bringup_316 2022-07-11 12:06:40 +01:00
xross
5c1773a883 Copyright comment 2022-07-05 19:17:10 +01:00
xross
5441081927 I2S_MODE_TDM now XUA_PCM_FORMAT 2022-06-29 13:07:38 +01:00
xross
bb0dec4923 - Renamed i_sync to i_pll_ref.
- Always used i_pll_ref interface from clockgen rather than direct port access
2022-06-28 10:39:01 +01:00
xross
f3a149076b Re-named SPDIF_RX define to XUA_SPDIF_RX_EN (chanstrings.h was already using this and therefore the S/PDIF Rx strings were incorrect). Also fixes the ADAT Rx strings and string table generation script. 2022-06-27 19:09:08 +01:00
xross
e6a8527631 When in sync mode Pll ref pin driving is now via interface to allow flexibility of port/tile 2022-06-21 19:29:07 +01:00
xross
ff42c23a6d Basic support for sync mode streaming 2022-06-21 12:11:09 +01:00
xross
22a79d9231 Descriptor changes to add sync mode (also removed some magic numbers) 2022-06-15 13:55:23 +01:00
xross
638a4f0d16 Bulk copyright comment update 2022-06-01 14:47:58 +01:00
xross
206a895b74 xpd: Cleaned up whitespace 2022-06-01 14:21:44 +01:00
xross
41cb59dc8d Removed IAP related defines 2022-05-30 17:59:18 +01:00
xross
8bf991eb76 Fixed issue where DSD_NATIVE is always enabled if DSD_CHANS_DAC defined as 0 2022-03-15 11:40:10 +00:00
xross
cf826e910d Copyright date 2022-03-14 11:20:20 +00:00
xross
a270972bf9 Enable explicit feedback EP by default 2022-03-14 11:18:26 +00:00
xross
da758f48fa Removed remaining references to SU1 devices 2021-10-18 16:37:33 +01:00
Ed
4033b26587 Update API with note about nullable c_audioCtrl is passed 2021-07-06 15:13:55 +01:00
Ed
65103d8c88 Allow nullable chanend and insert asserts to capture invalid use 2021-07-06 15:05:21 +01:00
Daniel Pieczko
0aa60035a4 Update copyright notices and licence references 2021-04-22 17:17:39 +01:00
Oscar Bailey
3076bdffcf Update CHANGELOG and default BCD 2020-10-27 11:01:58 +00:00
lucianom
5c2a69288c Add missing bracket 2020-05-19 15:26:27 +01:00
lucianom
05dacde043 Add SERIAL_STR configurable from xua_conf.h 2020-05-19 13:45:52 +01:00
lucianom
b7cbc5fe9e Ability to read or modify serial number string 2020-05-19 12:43:56 +01:00
lucianom
ee1feb6c48 Use unsafe pointers 2020-03-04 17:51:03 +00:00
lucianom
d146435d07 Add XUA_Endpoint0_setStrTable() function 2020-03-04 17:10:36 +00:00
lucianom
ae27cfa89b Merge branch 'develop' of github.com:xmos/lib_xua into feature/usb_str_cmds 2020-03-03 22:52:47 +00:00
lucianom
e8bdaf8004 Add USB string functions 2020-03-03 22:52:36 +00:00
Larry Snizek
40ab0b563c Add commands to configure USB bcdDevice version 2020-03-02 16:02:26 +00:00
shuchitak
73015bc44f remove extern from function declaration 2020-02-28 11:22:26 +00:00
shuchitak
8b52c83b4c include stdint.h 2020-02-28 10:38:54 +00:00
Keith Au
cd8e46308f renamed xua_api.h to xua_usb_params_funcs.h 2020-02-28 17:14:47 +08:00
Keith Au
dbaf66fdb2 removed #if XC check 2020-02-28 17:08:58 +08:00