Search found 99 matches

by genap
Mon Dec 20, 2021 4:35 am
Forum: USB Audio
Topic: XS1 audio - clocks generation problem
Replies: 1
Views: 3450

XS1 audio - clocks generation problem

I have XS1-U8A usb audio (TDM8, inputs only, 48kHz) project with the XMOS as a master. Most of the time LR and BCLK are generated properly on power-up (pic 1). 1-48kHz_frame.jpg But sometimes on power-up the LR frequency is about 45.2kHz instead of 48, with some jitter. I've noticed that in this cas...
by genap
Fri Dec 17, 2021 11:17 pm
Forum: Other Applications
Topic: Changing input audio format on XS1-U8A
Replies: 5
Views: 5616

Re: Changing input audio format on XS1-U8A

Thank you!
I looked at that direction, but it's hard to understand how it works.
I'll give it a try.
by genap
Tue Dec 14, 2021 5:19 pm
Forum: Other Applications
Topic: Changing input audio format on XS1-U8A
Replies: 5
Views: 5616

Re: Changing input audio format on XS1-U8A

Thank you mmar,
well, I understand that the audio.xc should be modified, but can't clearly identify what I need to modify in order to read codec data starting from the first bit clock instead of second in the XMOS slave TDM8 mode. :(
by genap
Fri Dec 10, 2021 6:14 pm
Forum: Other Applications
Topic: Changing input audio format on XS1-U8A
Replies: 5
Views: 5616

Changing input audio format on XS1-U8A

I have an old design where the XS1-U8A is connected to the TDM8 audio codec. Codec is configured for TDM8, left justified output format in hardware mode, so I can't change it. XMOS is configured as TDM8 slave. As far as I understand, the only XMOS input format for TDM is I2S (1 bit delay) and can't ...
by genap
Mon Sep 27, 2021 7:34 pm
Forum: XMOS Devices
Topic: Where XMOS?
Replies: 27
Views: 40250

Re: Where XMOS?

So what are you going to use instead of XMOS?
by genap
Mon Apr 19, 2021 3:15 am
Forum: Development Tools and Programming
Topic: XU208 programming by an external SPI
Replies: 2
Views: 6955

Re: XU208 programming by an external SPI

Thank you, mon2!

The advice on reading ID was very useful.
It read wrong until I've downgraded speed to 18MHz from 36.
So speed was the problem.
Now both ID and memory reading is exactly what it's supposed to be.
by genap
Sun Apr 18, 2021 10:00 pm
Forum: Development Tools and Programming
Topic: XU208 programming by an external SPI
Replies: 2
Views: 6955

XU208 programming by an external SPI

Hello, I am trying to program a memory of the XU208 by an external mcrocontroller (SPI). I am programming the memory by XMOS JTAG adapter, everything is fine and working properly. Then I generate a binary file for programming: >xflash testprog.xe -o testprog.bin Then I read part of a memory by exten...
by genap
Mon Mar 01, 2021 4:31 pm
Forum: Other Applications
Topic: Using 4-bit port for TDM on XU208
Replies: 5
Views: 7245

Re: Using 4-bit port for TDM on XU208

Thank you akr,
as far as I understand, the above applies to using multiple pins of a 4-bit port.
What if I want to use just one pin of a 4-bit port for TDM4 (other pins on this port are not used)?
by genap
Sun Feb 28, 2021 5:17 pm
Forum: Other Applications
Topic: Using 4-bit port for TDM on XU208
Replies: 5
Views: 7245

Using 4-bit port for TDM on XU208

Hi, I have a usb audio design which requires 4 OUT and 16 IN audio channels @48KHz. Not to mess with multiple audio clocks I am going to use TDM4_OUT and 4xTDM4_IN. To implement this by a standard approach I need 5 1-bit ports. Unfortunately I have only 4 1-bit ports available. But I have ports P4C ...
by genap
Sun Jan 31, 2021 5:10 am
Forum: XMOS Devices
Topic: Where XMOS?
Replies: 27
Views: 40250

Re: Where XMOS?

Thank you. You are right. We considered this approach. I've decided to go with external memory because: 1. Microcontroller will operate in SPI mode, and XMOS chip in quad SPI. It was easier to operate external memory, also because we have two chips on a board. 2. It's easier for our contract manufac...