Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: Sandro

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Here's a link to the tool:...

    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...
  2. Replies
    40
    Views
    1,349

    Hi Mark sorry for my late reply; it's a really...

    Hi Mark sorry for my late reply; it's a really nice schematics, I'll try to realize it :)
  3. Replies
    40
    Views
    1,349

    PWM secondary audio output testing: all good!! :)...

    PWM secondary audio output testing: all good!! :)
    27762
  4. Replies
    40
    Views
    1,349

    just for curiosity: if I don't mistake "normal"...

    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...
  5. Replies
    40
    Views
    1,349

    Set up 1 instance, on a naked T41; sweeping a...

    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...
  6. Replies
    40
    Views
    1,349

    Now I just loaded AudioOutputNoiseShapedPWM, and...

    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...
  7. Replies
    40
    Views
    1,349

    I'm sorry that I ignore the use of this tool......

    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?
  8. Replies
    40
    Views
    1,349

    Ok, found the mistake in code... It was simply...

    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...
  9. Replies
    40
    Views
    1,349

    Yes, I'm working around it; as soon as I can I'll...

    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!
  10. Replies
    40
    Views
    1,349

    Hi MarkT, my waveform is very different; this is...

    Hi MarkT, my waveform is very different; this is the test code:



    #include <Audio.h>
    AudioSynthWaveformSine Tone;
    AudioOutputPWM PWM;
    AudioConnection patchCord1(Tone, 0,...
  11. Replies
    40
    Views
    1,349

    Hi MarkT, I just replaced the resistors, now...

    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...
  12. Replies
    40
    Views
    1,349

    Yes MarkT, the resistors I used had not the same...

    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...
  13. Replies
    40
    Views
    1,349

    Hi MarkT I tried the new object downloaded from...

    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...
  14. Replies
    40
    Views
    1,349

    Just read... Great news MarkT! Tomorrow I'll try...

    Just read... Great news MarkT! Tomorrow I'll try the new PWM :)
  15. Replies
    40
    Views
    1,349

    Noway... I'm using SPI2 for n.2 PSRAM chips......

    Noway... I'm using SPI2 for n.2 PSRAM chips... Uff!! :/
  16. Replies
    40
    Views
    1,349

    I'm using SPI0 for Flash chip (not the SD card)...

    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...
  17. Replies
    40
    Views
    1,349

    More dubts: SPI0 is used as kind of PWM by MQS,...

    More dubts: SPI0 is used as kind of PWM by MQS, so should be incompatible with any other device on it..
  18. Replies
    40
    Views
    1,349

    Thank you Paul for replying; I read about MQS, my...

    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...
  19. Replies
    40
    Views
    1,349

    Additional audio output for Teensy 4.1

    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...
  20. Replies
    0
    Views
    296

    XPT2046 touchscreen problem

    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 ...
  21. Maybe I found the answer : noway (at least with...

    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...
  22. SerialFlash: can erase command have lower precedence than 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...
  23. Replies
    12
    Views
    1,116

    I did some tests, using the following setups: a)...

    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...
  24. Replies
    12
    Views
    1,116

    Checking again... SerialFlashChip.cpp does not...

    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"...
  25. Replies
    12
    Views
    1,116

    Hi mjs512, I just forked SerialFlashChip.cpp with...

    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...
  26. Replies
    12
    Views
    1,116

    Problem solved.. W25Q512 is perfectly working...

    Problem solved.. W25Q512 is perfectly working with SerialFlash without any change.. my fault, there was an error in a connection...
  27. Replies
    12
    Views
    1,116

    Hi mjs513, thank you for your suggestions; I...

    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...
  28. Replies
    12
    Views
    1,116

    Hi, yes I know but unfortunately littleFS is not...

    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;...
  29. Replies
    12
    Views
    1,116

    In SerialFlashDirectory.h, I noticed that...

    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...
  30. Replies
    12
    Views
    1,116

    Winbond W25Q512 Flash support

    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(...)...
  31. Replies
    3
    Views
    564

    The function examinated parses a bidimensional...

    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...
  32. Replies
    3
    Views
    564

    Thank you Kurt, now it's very clear. Also thank...

    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....
  33. Replies
    3
    Views
    564

    Code compilation: what is "padding"?

    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...
  34. Replies
    940
    Views
    118,974

    Sorry... I got confused... The issue is that a...

    Sorry... I got confused... The issue is that a single SerialFlash-file can be deleted only by deleting all the flash chip.
  35. Replies
    940
    Views
    118,974

    @Paul, @defragster: going back to the origin of...

    @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...
  36. Replies
    8
    Views
    1,437

    @defragster: sorry for this late reply: if your...

    @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...
  37. Replies
    940
    Views
    118,974

    In my test, I prepared the flash chip with a deep...

    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...
  38. Replies
    940
    Views
    118,974

    Hi defragster, I'm using the Winbond 25Q128FVSG...

    Hi defragster, I'm using the Winbond 25Q128FVSG mounted on the Audio board.
  39. Replies
    940
    Views
    118,974

    A practical example of LitteFS on Flash chip, with performance comparision.

    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...
  40. Replies
    4
    Views
    719

    **problem solved** After an attempt (not...

    **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...
  41. Replies
    4
    Views
    719

    Hi Paul, I tried many times installing and...

    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...
  42. Replies
    4
    Views
    719

    Audio applications error

    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,...
  43. Replies
    8
    Views
    1,437

    Hi defragster, thank you for this infos: I...

    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...
  44. Replies
    8
    Views
    1,437

    Thank you mjs513, thank you defragster!; Sorry...

    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...
  45. Replies
    8
    Views
    1,437

    LittleFS for Winbond W25Q128 flash memory

    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...
  46. I would queue to this post because I would try...

    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...
  47. Replies
    2
    Views
    448

    Hi beermat, the problem you describe looks quite...

    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...
  48. Replies
    2
    Views
    448

    Debugging problem

    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...
  49. Thread: [posted] Lilla

    by Sandro
    Replies
    8
    Views
    5,619

    New look, new functions

    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...
  50. Replies
    16
    Views
    2,698

    Great! It works perfectly! Thank you vjmuzik,...

    Great! It works perfectly! Thank you vjmuzik, also for your super quick answers :)
    Sandro
Results 1 to 50 of 167
Page 1 of 4 1 2 3 4