Here's a link to the tool:
https://playground.arduino.cc/Code/EEPROMWriteAnything/
Also, if you will store not single variables but structures, I suggest you to use __attribute__((__packed__)) as...
Type: Posts; User: Sandro
Here's a link to the tool:
https://playground.arduino.cc/Code/EEPROMWriteAnything/
Also, if you will store not single variables but structures, I suggest you to use __attribute__((__packed__)) as...
Hi Mark sorry for my late reply; it's a really nice schematics, I'll try to realize it :)
PWM secondary audio output testing: all good!! :)
27762
just for curiosity: if I don't mistake "normal" pwm pulses have a temporary fixed start point; we would prefer that the center of each pulse had a fixed position in time, so we modulate their phase...
Set up 1 instance, on a naked T41; sweeping a sinus tone from 20Hz to 15KHz I just notice an increase of distorsion above 2KHz (maybe due to the filter? I should at least compare with the Audio...
Now I just loaded AudioOutputNoiseShapedPWM, and set:
begin (3) [ instead of begin(2) ]
in order to use the existing connection to the output filter... It works fine! (sorry, but I always feel...
I'm sorry that I ignore the use of this tool... But interesting that it includes a 1pin/hi-frequency PWM ... Maybe it could be used as "simple" PWM audio output?
Ok, found the mistake in code... It was simply due to a wrong Audioconnection. So, actually AudioOutputPWM works fine on T41 togheter with Audio Board and all other objects I'm using!
Now, my last...
Yes, I'm working around it; as soon as I can I'll share the shortest code that suffers for the problem.
Thank you so much again!
Hi MarkT, my waveform is very different; this is the test code:
#include <Audio.h>
AudioSynthWaveformSine Tone;
AudioOutputPWM PWM;
AudioConnection patchCord1(Tone, 0,...
Hi MarkT, I just replaced the resistors, now their values are the same of the schematics above.. But it doesn't change much: looks like only pin3 is significant, pin4 only adds noise... I also tried...
Yes MarkT, the resistors I used had not the same values of the schematics, I neglected they are critical; I tried with the only MSB connected, as you suggested, and it works fine! Now I can route the...
Hi MarkT I tried the new object downloaded from https://github.com/PaulStoffregen/Audio/pull/432; I didn't modify the begin call:
void AudioOutputPWM::begin(void) { begin(3, 4); }
and connected...
Just read... Great news MarkT! Tomorrow I'll try the new PWM :)
Noway... I'm using SPI2 for n.2 PSRAM chips... Uff!! :/
I'm using SPI0 for Flash chip (not the SD card) but I assume the issue is the same... So, actually I have:
- Flash chip on SPI0
- SPI Display on SPI1
(both cannot share the same SPI bus, because...
More dubts: SPI0 is used as kind of PWM by MQS, so should be incompatible with any other device on it..
Thank you Paul for replying; I read about MQS, my dubt is about the possible "overload" of the SPI0 bus (used by MSQ, if I don't mistake) that will be shared with a Flash memory chip (intensively...
Dear Audio Library developers, actually AudioOutputPWM does not support Teensy 4.1: is there any chance for this feature? I'm using a T41 @600MHz + Audio Board for the main audio in/out, but I also...
Hi all, I'm trying to get a 2.8TFT SPI 240x320 touch display working with T41, SPI1.
If I use this code:
#include <XPT2046_Touchscreen.h>
#include <SPI.h>
// T_CLK --> 27
#define CS_PIN ...
Maybe I found the answer : noway (at least with my Winbond chip)...
1) On the datasheet of the flash chip W25Q512 it is repeatedly written that Erase operation disables both read and write...
Hi all,
reading SerialFlash official description I undestand that I can read the flash chip while erasing a (createErasable) file without any interruption; but (anyone know if) is there any...
I did some tests, using the following setups:
a) T41@600MHz + W25Q256FVFG
b) T41@600MHz + W25Q512JVFM
Both setup run the same code, an audio application reading a bunch of contiguous...
Checking again... SerialFlashChip.cpp does not need any change for W25Q512.
Just to correct the first post of this thread, using 25Q512JVFM the ID is:
id[0]:239
id[1]:112
id[2]:32 (not "56"...
Hi mjs512, I just forked SerialFlashChip.cpp with few additional lines which allow to recognize the W25Q512 and set the correct capacity value (64MB). Next days I'll check (and share here) the...
Problem solved.. W25Q512 is perfectly working with SerialFlash without any change.. my fault, there was an error in a connection...
Hi mjs513, thank you for your suggestions; I didn't change the original Write Enable command:
CSASSERT();
SPIPORT.transfer(0x06);
CSRELEASE();
I compared the W25Q256 (which is supported by...
Hi, yes I know but unfortunately littleFS is not fast enough for my application; so my desire is using SerialFlash and the "basic" file system.
Basically there is a write error with this chip;...
In SerialFlashDirectory.h, I noticed that check_signature() fails when attempts to write sig[0] = 0xFA96554C; adding some Serial.print the following SerialFlash.read(0, sig, 8) says that sig[0] is...
Hi all,
as long as I know the W25Q512 flash memory chip has not official support here.
This 64MB chip responds with:
id[0]:239
id[1]:112
id[2]:56
I sarted adding few lines to capacity(...)...
The function examinated parses a bidimensional array:
const char name[256][3]
looking for one element (the last one).
Using T4.1@600MHz and different combinations (as follows) the execution...
Thank you Kurt, now it's very clear. Also thank you for all these suggestions; I have some large const arrays, now all in PROGMEM, and a lot of not critical functions, that I've moved to FLASHMEM....
Hi all,
my application's code is growing and I'm very close to run out the RAM1 memory; this is the last report:
Memory Usage on Teensy 4.1:
FLASH: code:295492, data:28076, headers:8204 free...
Sorry... I got confused... The issue is that a single SerialFlash-file can be deleted only by deleting all the flash chip.
@Paul, @defragster: going back to the origin of my tests around LittleFS is the fact that a SerialFlash-file can be written only once, as @Paul wrote on Github:
Several limitations apply to...
@defragster: sorry for this late reply: if your question is (but I dubt I got the point) about the correct working in case of audio-reading applications, all the followings work fine: reading a file...
In my test, I prepared the flash chip with a deep format, than I copied from SD card just one file (41.raw, 1.18MB) ; maybe this file, even if alone, has been stored in not-adjacent blocks/sectors of...
Hi defragster, I'm using the Winbond 25Q128FVSG mounted on the Audio board.
Hi all,
please let me know if I'd better start a new post instead of writing here...
I went on with my tests, and wish to share the (even partial) result:
- copying .raw audio files from SD to...
**problem solved**
After an attempt (not resolutive) of deleting all files and registry records ("Arduino" and "Teensy" keywords), I solved the problem with a Windows 10 re-installation. Thank you...
Hi Paul, I tried many times installing and testing, always disabling Windows Defender's features; I also uninstalled my G-Data firewall-antivirus, updated Windows.. Unfortunately I didn't get any...
Hi all,
I've recently installed Arduino 1.8.15 with Teensyduino 1.54; using T4.1@600MHz, when I try to compile an audio application (I also checked standard examples like WavFilePlayer,...
Hi defragster, thank you for this infos: I haven't noticed the new examples for LittleFS, also in my application it will be usefull to use SD to save/retreive files from/to Flash memory as you...
Thank you mjs513, thank you defragster!; Sorry for this late feedback, I've just come back to work on my project; in the meanwhile new TD 1.55 has been published; all necessary features required by...
Hi all, I'm trying to experiment the LitteFS library's functionalities using this version:
https://github.com/PaulStoffregen/LittleFS
starting from the included example ListFiles. I'm using a...
I would queue to this post because I would try audio recording into external flash memory, avoiding the flash memory complete erase for every single-file write/rewrite operation. Belive that there is...
Hi beermat, the problem you describe looks quite the same problem I'm facing... At runtime there are many malfunctions, but my device doesn't block: display fade-in/fade-out effect becomes...
Hi all,
I recently added to my code a new simple function, apparently harmless; the code is correctly compiled with Arduino IDE using all compiler options. But, if I use "Fastest" option (and I need...
Actually Lilla includes some synth objects (delays, VCFs, LFOs); this is how looks like:
24752
24753
These synoptics show how delays, VCFs and LFOs are placed along the sound chain:
24754...
Great! It works perfectly! Thank you vjmuzik, also for your super quick answers :)
Sandro