How to Initialize a" streaming chanend "variable? I need to retransmit the data, so I want to clean up the old data in chan.
Which library function should be used? Or any other good way?
thx.
Search found 37 matches
- Wed Jun 19, 2019 6:53 am
- Forum: Development Tools and Programming
- Topic: How to Initialize a" streaming chanend "variable?
- Replies: 1
- Views: 1270
- Wed Jun 19, 2019 6:46 am
- Forum: Getting started
- Topic: Streaming channel
- Replies: 9
- Views: 15091
Re: Streaming channel
How to Initialize a" streaming chanend "variable? I need to retransmit the data, so I want to clean up the old data in chan.
thx.
thx.
- Tue Apr 16, 2019 11:19 am
- Forum: Development Tools and Programming
- Topic: about: spi speed (lib_spi_3.0.2rc1)
- Replies: 1
- Views: 1960
about: spi speed (lib_spi_3.0.2rc1)
/** Begin a transaction. * * This will start a transaction on the bus. During a transaction, no * other client to the SPI component can send or receive data. If * another client is currently using the component then this call * will block until the bus is released. * * \param device_index the index ...
- Tue Apr 16, 2019 6:24 am
- Forum: Other Applications
- Topic: AN00160 using_SPI_master and SPI Library 3.0.2 -possible bug
- Replies: 5
- Views: 5762
Re: AN00160 using_SPI_master and SPI Library 3.0.2 -possible
Not tested but see some red flags here: https://github.com/xmos/lib_spi/blob/master/lib_spi/src/spi_sync.xc Lines 225-232 static void get_mode_bits(spi_mode_t mode, unsigned &cpol, unsigned &cpha){ switch(mode){ case SPI_MODE_0:cpol = 0; cpha= 1; break; case SPI_MODE_1:cpol = 0; cpha= 0; br...
- Tue Apr 02, 2019 10:47 am
- Forum: Development Tools and Programming
- Topic: I2S/TDM Library, TDM slave,Why not?
- Replies: 3
- Views: 2419
Re: I2S/TDM Library, TDM slave,Why not?
TDM slave is possible. I developed one based on TDM master using concepts from I2S slave. It probably can't handle quite as many channels as TDM master if you include the code to check for loss of sync (which is pretty much necessary in any slave system I suppose). I haven't used 32 ch in TDM so I ...
- Tue Apr 02, 2019 10:33 am
- Forum: Development Tools and Programming
- Topic: about: XCORE-200, IO, the rising edge and the falling edge
- Replies: 2
- Views: 1760
Re: about: XCORE-200, IO, the rising edge and the falling edge
It sounds like you want to sample a pin on both falling and rising edge of the clock. I don't think that's possible with XCORE-200. If you could supply more information about your application someone clever might come up with a solution. For example: PDM microphone, a 1bit port connected with 2dmic...
- Tue Apr 02, 2019 7:43 am
- Forum: Development Tools and Programming
- Topic: I2S/TDM Library, TDM slave,Why not?
- Replies: 3
- Views: 2419
Re: I2S/TDM Library, TDM slave,Why not?
#define TDM_MAX_CHANNELS_PER_DATA_LINE 16
if change to 32, or even 256, can XCORE-200 support it steadily?
if change to 32, or even 256, can XCORE-200 support it steadily?
- Tue Apr 02, 2019 7:38 am
- Forum: Development Tools and Programming
- Topic: I2S/TDM Library, TDM slave,Why not?
- Replies: 3
- Views: 2419
I2S/TDM Library, TDM slave,Why not?
I2S/TDM Library A software library that allows you to control an I2S or TDM (time division multiplexed) bus via xCORE ports. I2S and TDM are digital data streaming interfaces particularly appropriate for transmission of audio data. The components in the library are controlled via C using the XMOS mu...
- Tue Apr 02, 2019 7:08 am
- Forum: Development Tools and Programming
- Topic: about: XCORE-200, IO, the rising edge and the falling edge
- Replies: 2
- Views: 1760
about: XCORE-200, IO, the rising edge and the falling edge
XCORE-200, How to set the IO port to sample data at the same time as the rising edge and the falling edge of the clock?
thx
thx
- Fri Mar 15, 2019 3:50 am
- Forum: Development Tools and Programming
- Topic: Suggestions for XMOS
- Replies: 1
- Views: 3212
Re: Suggestions for XMOS
There are many Chinese embedded application development engineers in the forum.