Search found 130 matches
- Thu Jan 25, 2024 11:15 am
- Forum: Q&A
- Topic: I2C on two different Tiles
- Replies: 9
- Views: 116795
Re: I2C on two different Tiles
BTW. The latest lib_i2c versions on GitHub provide an additional asynchronos mode, function i2c_master_async. So a client is not blocking as I presume. I like this idea, but I keep using old i2c 4.0 due to some timing issue with my hardware ICs. I did not tested the latest 6.0 though.
- Thu Jan 25, 2024 10:40 am
- Forum: Development Tools and Programming
- Topic: Technical Guide to C for xcore - new YouTube tutorial
- Replies: 7
- Views: 6672
Re: Technical Guide to C for xcore - new YouTube tutorial
What are the practical benefits, if any, of switching to pure C? Compilation time? No internal compiler bugs? Better debugging environment? Do you have an out-of-the-box pure C IDE with a handy xConnect console? That would be greatly appreciated. For now, the XC sources look clearer and easier to de...
- Sat Jan 20, 2024 6:30 pm
- Forum: Q&A
- Topic: I2C on two different Tiles
- Replies: 9
- Views: 116795
Re: I2C on two different Tiles
It's very simple. That's the power of client-server model. Here is the code I use: customdefines.h #define USER_MAIN_DEFINES on tile[ports_tile]: port p_i2c_sda = PORT_I2C_SDA; \ on tile[ports_tile]: port p_i2c_scl = PORT_I2C_SCL; // Declare a i2c server. #define USER_MAIN_DECLARATIONS i2c_master_if...
- Sat Jan 20, 2024 6:18 pm
- Forum: Development Tools and Programming
- Topic: Flash XMOS Chip FreeDSP-Aurora board
- Replies: 4
- Views: 4687
- Sat Jan 20, 2024 6:13 pm
- Forum: Development Tools and Programming
- Topic: Flash XMOS Chip FreeDSP-Aurora board
- Replies: 4
- Views: 4687
Re: Flash XMOS Chip FreeDSP-Aurora board
It seems that the open sources for XMOS are dated back to about 5 years ago. This means xTimeComposer 14, not modern 15.
- Wed Oct 25, 2023 8:28 pm
- Forum: Development Tools and Programming
- Topic: Headset noise when printing
- Replies: 14
- Views: 34569
Re: Headset noise when printing
>> analog parts of PIM544 Uses PAM8908 with 100 dB SNR. But declared it could be powered directly from the digital part: "A high power-supply rejection ratio (80dB at 1kHz) allows this device to operate from noisy digital supplies without an additional linear regulator." Sounds a bit doubf...
- Wed Oct 25, 2023 8:07 pm
- Forum: Development Tools and Programming
- Topic: Headset noise when printing
- Replies: 14
- Views: 34569
Re: Headset noise when printing
>> since the sixties Modern headphones have very high sensitivity, up to 115 dB/mW, so now we hear what we didn't hear before. Nowadays, proper audio design means multilayer PCB and separation of analog and digital grounds. Highly recommended: https://youtu.be/ySuUZEjARPY?t=4461 P.S. I didn't mean t...
- Wed Oct 25, 2023 3:33 pm
- Forum: Development Tools and Programming
- Topic: Headset noise when printing
- Replies: 14
- Views: 34569
Re: Headset noise when printing
>> why do I get noise in the headset on every print to XTC? The most obvious explanation is ground loops. https://en.wikipedia.org/wiki/Ground_loop_(electricity) Noise and pickups from the digital part go to the ground bus and you hear it because the output voltage is a potential between a signal an...
- Mon Oct 23, 2023 2:34 pm
- Forum: Development Tools and Programming
- Topic: Build number in firmware version
- Replies: 3
- Views: 5368
Re: Build number in firmware version
That's a bit too much. I give up and prefer manual increment then. Thank you anyway.
- Sun Oct 22, 2023 10:35 am
- Forum: Development Tools and Programming
- Topic: Build number in firmware version
- Replies: 3
- Views: 5368
Build number in firmware version
How to automatically add build number in firmware version? It would also work if version automatically incremented every time I compiled a new firmware.