Search found 18 matches
- Thu Feb 29, 2024 11:18 am
- Forum: Development Tools and Programming
- Topic: Strange assembly generated code depending on C/xC context
- Replies: 3
- Views: 1445
Re: Strange assembly generated code depending on C/xC context
To add a quick feedback, I confirm that working in xC with unsafe pointer, instead of inline assembly, does not work, as I assume it's in conflict with the movable attribute. My buffer swap function does not work in this case. Adding :"memory" in the inline assembly does not change the glo...
- Thu Feb 29, 2024 10:52 am
- Forum: Development Tools and Programming
- Topic: Strange assembly generated code depending on C/xC context
- Replies: 3
- Views: 1445
Re: Strange assembly generated code depending on C/xC context
Thanks fabriceo for this feedback. Sure there are some interesting things in your reply. But I will clarify my issue, as I understand that this is not easy to understand :D The change in assembly code is not directly related to the printf. Of course, with our without printf, different code is genera...
- Wed Feb 28, 2024 10:46 am
- Forum: Development Tools and Programming
- Topic: Strange assembly generated code depending on C/xC context
- Replies: 3
- Views: 1445
Strange assembly generated code depending on C/xC context
Hi there ! I'm working on an Rx/Tx interface between an FPGA and XMOS (XEF232). This is a custom interface, I write both FPGA and XMOS code, but it's mainly like a MII interface : a 8-bits bus, a data_valid and a clock (for one direction, same for the other). On my evaluation board, I have access on...
- Tue Apr 16, 2019 2:00 pm
- Forum: Q&A
- Topic: What may cause xscope_constructor() to stop
- Replies: 2
- Views: 6400
Re: What may cause xscope_constructor() to stop
Hi DemoniacMilk,
for my information, which wires did you swapped exactly ?
Thanks !
for my information, which wires did you swapped exactly ?
Thanks !
- Tue Jul 17, 2018 11:29 am
- Forum: Other Applications
- Topic: Using AVB library at speed != 48kHz
- Replies: 19
- Views: 17614
Re: Using AVB library at speed != 48kHz
Well, alright ! Now my AVB system is working @ 96kHz. I changed the FPGA TDM data out clock edge, to "win" half period time, then add 8ns delay on XMOS TDM input pins with set_pad_delay() in order to have a good setup and hold time (estimated with scope on TDM bus). Now I have good audio s...
- Tue Jul 17, 2018 10:03 am
- Forum: Other Applications
- Topic: Using AVB library at speed != 48kHz
- Replies: 19
- Views: 17614
Re: Using AVB library at speed != 48kHz
Thanks akp. But debug continues an have some news. Here is my audio flow : ASIO Sender -> FPGA device 1 --(TDM1)--> XMOS device 1 --------------------> AVB Network --------------------> XMOS device 2 --(TDM2)--> FPGA device 2 -> ASIO receiver I send a -144dBFS on ASIO sender to see the -1 / 0 / +1 v...
- Mon Jul 16, 2018 2:06 pm
- Forum: Other Applications
- Topic: Using AVB library at speed != 48kHz
- Replies: 19
- Views: 17614
Re: Using AVB library at speed != 48kHz
Output from the XMOS (XMOS TDM out) that is scoped
- Mon Jul 16, 2018 1:58 pm
- Forum: Other Applications
- Topic: Using AVB library at speed != 48kHz
- Replies: 19
- Views: 17614
Re: Using AVB library at speed != 48kHz
Correction : this is not a clock shift of 1-bit, this is the MSbit that is missing (i.e. the LSBit still ends at the correct position, this is not shifted). Test method : I send a -144dBFs signal, i.e. there is only 3 values that are output : 0x000000, 0x000001, 0xFFFFFF (i.e. 0, +1 and -1 respectiv...
- Mon Jul 16, 2018 10:43 am
- Forum: Other Applications
- Topic: Using AVB library at speed != 48kHz
- Replies: 19
- Views: 17614
Re: Using AVB library at speed != 48kHz
Well, it seem's that I have a 1-BCLK shift on my samples but.... not all the times ! I can have ~5 to ~30 samples that are corrects, then the next one is shifted by one BCLK, making an audio error ! This is random, absolutely not cyclic. Is it a "real-time" issue on the TDM interface ? May...
- Fri Jul 13, 2018 2:09 pm
- Forum: Other Applications
- Topic: Using AVB library at speed != 48kHz
- Replies: 19
- Views: 17614
Re: Using AVB library at speed != 48kHz
Okay thanks !
Dig...dig...dig !
Dig...dig...dig !