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

Search:

Type: Posts; User: WMXZ

Page 1 of 10 1 2 3 4

Search: Search took 0.02 seconds.

  1. Replies
    4
    Views
    50

    Well, imagine you are modifying the header file...

    Well, imagine you are modifying the header file of a library, then you wanted to have a simple rebuild button (Arduino seems not to recognize this change).
    standard method of changing Tools' menu...
  2. Yes, that I was thinking about

    Yes, that I was thinking about
  3. Are you using microphones? in that case you...

    Are you using microphones?
    in that case you could use digital mems microphones and daisy chain them into a 8-chan TDM system. Teensy 3.(2,5,6) have 2 I2S data ports, so you could use up to 16...
  4. Replies
    35
    Views
    9,327

    better multi-block processing?

    Alternatively to partial calculation of very large FFT's (here fft4096) one could run the FFT on a lower priority level (triggered also by SW interrupt). This would need an extension of the audio...
  5. Replies
    3,768
    Views
    389,580

    You edit sd_config.h in uSDFS/utility

    You edit sd_config.h in uSDFS/utility
  6. Replies
    3,768
    Views
    389,580

    uSDFS is basically based on FatFS...

    uSDFS is basically based on FatFS which provides a lower-level API and is written in plain C.
    Adsing a SD-style API is possible, but is it needed?
  7. Replies
    3,768
    Views
    389,580

    But in...

    But in https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=203973&viewfull=1#post203973 you said it is working.
    The original port was for T4b1 and needed obviously modified for T4b2,...
  8. Thread: zeroFS

    by WMXZ
    Replies
    1
    Views
    102

    zeroFS

    I wanted to improve disk write speed for data loggers (minimizing FS based delays) and came up with zeroFS. It writes data strictly (nearly) sequential to disk. It provides filing without the...
  9. Replies
    3,768
    Views
    389,580

    Turned out, that double calling of isr was not an...

    Turned out, that double calling of isr was not an issue for me (in my code isrCount1 and isrCount2 are always the same, apart from rare race condition). maybe because TFLG was polled?
    So, I played...
  10. Replies
    3,768
    Views
    389,580

    thanks @manitu, I completely missed this with...

    thanks @manitu, I completely missed this with forum search.
    I did some adaption and got this code


    uint32_t isrCount1=0;
    uint32_t isrCount2=0;
    void pitIsr()
    {
    for (int i = 0; i < 4; i++)
    ...
  11. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    OK, let us do it the following way: you get...

    OK,
    let us do it the following way: you get latest uSDFS from my github and batdetector from CorBee's github
    move uSDFS into your local Arduino library (removing the "-master" from the file)...
  12. Replies
    3,768
    Views
    389,580

    Simple PIT interupt example

    I'm struggling to setup a simple PIT example that generates, say every 1ms an interrupt (IRQ_PIT)
    I know the example that triggers the ADC, that uses xbar_connect(56, 103); und I understand where...
  13. Replies
    3
    Views
    102

    struct tm is NOT defined in "Time.h" (TD lib) but...

    struct tm is NOT defined in "Time.h" (TD lib) but in <time.h> (system lib)
    Time.h is called from TimeLib.h
    unfortunately windows in case insensitive so struct tm is not reachable. solution: copy...
  14. Replies
    302
    Views
    7,113

    found some issues that where introduced while...

    found some issues that where introduced while handling other thread (bat recorder) compilation issues.
    updated github
  15. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    this seems to be an installation issue, as it...

    this seems to be an installation issue, as it compiles on my Win10 system

    first, can you please follow the Arduino instructions and remove the '-master' from the library.
  16. you can confirm that post...

    you can confirm that post https://forum.pjrc.com/threads/56597-Teensy-3-5-not-showing-up-on-Arduino-IDE-1-8-9?p=208307&viewfull=1#post208307 does not apply (i.e. no Arduino from Windows store)?
  17. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    You do not remove #include "TimeLib.h", as it is...

    You do not remove #include "TimeLib.h", as it is needed in your code.
    You need the #define HAVETM to tell the compiler, when he later includes uSDFS that it has already the structure tm defined....
  18. Replies
    2
    Views
    151

    have a look at...

    have a look at https://www.electronics-tutorials.ws/transistor/tran_7.html
    IMO,you need always a common ground
  19. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    Do not uncomment the define but use #define...

    Do not uncomment the define but use

    #define USE_MSC 0

    (Note sure what '#if USE_MSC==1' does later in the code, when USE_MSC is not defined)
  20. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    @pe1pwf The issue is with the timelib library,...

    @pe1pwf
    The issue is with the timelib library, which has an include file "Time.h" which conflicts with system library "time.h" (Windows only problem?)

    As I only need the tm struct from the system...
  21. AFAIK, setting Tools->USB Type sets the type for...

    AFAIK,
    setting Tools->USB Type sets the type for USB device, which is connecting the teensy to a PC USBHost
    if you attach to a teensy another USB device, for which you use the 2nd USB port as a USB...
  22. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    I typically use visualcode for editing. for...

    I typically use visualcode for editing.
    for compile I use sometimes makefile from visualcode but most Arduino ide, as download and terminal work better for me
    but for forum issues I only compile...
  23. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    The isr problem remis ported does not exist with...

    The isr problem remis ported does not exist with latest uSDFS (is there called sd_isr)
    Not sure about latest pe1pwf problem (the undeclared FRESULT)

    BTW, I changed effectGranular where done as...
  24. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    that is weird the lines before line 1085 read ...

    that is weird
    the lines before line 1085 read

    #ifdef USESD1 //uSDFS used for recording (edit uSDFS/utility/sd_config.h)
    #include "uSDFS.h" // uSDFS lib
    FRESULT rc; /* Result...
  25. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    Was out whole day #define USE_MSC 0 worked...

    Was out whole day

    #define USE_MSC 0
    worked for me, with Arduino IDE
    ( I see libuSDFS_ID2957.a: could there be a 2nd library?)
    Same with mAudioEffectGranular.
    I use the trick regularly:...
  26. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    I made some changes to the code 16829 I combined...

    I made some changes to the code 16829
    I combined the SD routines together
    I also changes the granular effect class to coexist with stock library
    The ff_utils files are not used and should be...
  27. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    it should, obviously you remove all includes ff.h...

    it should, obviously you remove all includes ff.h and ff_itils.h
    OK, I see you did not.

    I wiil later suggest mods to use bat detector with uSDFS (USESD1)
  28. Replies
    3,768
    Views
    389,580

    I will at least try, but without desperation.

    I will at least try, but without desperation.
  29. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    I repeat, what I said earlier, do NOT use uSDFS...

    I repeat, what I said earlier, do NOT use uSDFS together with SD and if you only need the tm2seconds or seconds2tm functions it is better to copy the function from ff_utils.h
  30. Replies
    3,768
    Views
    389,580

    If I wanted to try USB device on T3.6's 2nd USB...

    If I wanted to try USB device on T3.6's 2nd USB port, what do you recommend, to work on usb.c (from T4) or usb_dev.c (T3)?
    for the time being, I only need Seremu and MTP, so that should be...
  31. makes no sense. the reed switch is doing what?...

    makes no sense.
    the reed switch is doing what? switching the programming or do you have the reed on reset pin?

    for further comments, we need to see a complete program that generates the effect.
  32. deployment time is not the issue, but what is the...

    deployment time is not the issue, but what is the max sleep time, or better what is the sleep time where it does not work anymore?
    Also what means it is getting stuck? does it not wake-up od does...
  33. Replies
    3,768
    Views
    389,580

    On dual USB device: As I only use the data...

    On dual USB device:


    As I only use the data lines from USB- device, I will try that.
  34. Replies
    3,768
    Views
    389,580

    USBHost - USB Device

    Q. can the USB Host pads (D+ D-) that are at location of Old USB Device pad also be used vor USB device mode?
    Can a T4 have two USB device ports (one for programming and standard USB activity and...
  35. Replies
    15
    Views
    453

    Maybe, because your question is not clear? Are...

    Maybe, because your question is not clear?
    Are you sure you wanted to connect a USB-stick to a Teensy 3.2?
    How you wanted to do that?
    AFAIK, T3.2 is only a USB-Device and does not support...
  36. Replies
    3,768
    Views
    389,580

    Frank, is on the T4 the ribbon pointing forward...

    Frank,
    is on the T4 the ribbon pointing forward or backward?
    IOW, it fat cable is inserted, does it goes towards the USB connector or towards the botton?
  37. Replies
    3,768
    Views
    389,580

    maybe something like RD#, TD# ?

    maybe something like RD#, TD# ?
  38. Replies
    3,768
    Views
    389,580

    Q: Vin 3.5 to 5.2 Volts: So a power supply of 6V...

    Q: Vin 3.5 to 5.2 Volts: So a power supply of 6V does not work? (was using it for T3.6)
  39. Replies
    3,768
    Views
    389,580

    you could use SAI instead (this is as it also...

    you could use SAI instead (this is as it also called in NXP document)
    but dropping SAI as with actual card should be OK
  40. Replies
    3,768
    Views
    389,580

    Maybe this should be changed in post #4 as...

    Maybe this should be changed in post #4 as USBHost ehci does not work (hangs) for data transfer with buffers >=16k
    PR issued
  41. Replies
    3,768
    Views
    389,580

    Did you check USBHost to HDD with...

    Did you check USBHost to HDD with buffersize>=16k?
    AFAICS, the PR concerning the 16k buffer issue has not been merged in USBHost_t36
    (did not apply yet 1.47b4)
  42. Replies
    302
    Views
    7,113

    if there is a match, then there is a good answer

    if there is a match, then there is a good answer
  43. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    simply copy tm2seconds to sketch, or use stock...

    simply copy tm2seconds to sketch, or use stock time conversions
    I created tm2seconds because I did not like the arduino time library, but your mileage may vary.
  44. Thread: Bat detector

    by WMXZ
    Replies
    347
    Views
    28,771

    FRESULT is specific to uSDFS If you do bot use...

    FRESULT is specific to uSDFS
    If you do bot use uSDFS then you should also remove also all definitions in the main sketch.
  45. Replies
    302
    Views
    7,113

    may this be connected with the 16384 Byte limit...

    may this be connected with the 16384 Byte limit in aueue_Data_Transfer in ehci.cpp?
    (I know you said 8192 but i know FS is sending lager blocks (I recall a transfer of 64*512))
  46. Replies
    3,768
    Views
    389,580

    Removed all RTC code as this is now done with TD...

    Removed all RTC code as this is now done with TD (I assume also for T3.x)
    Also the access to sd_config.h is removed
  47. Replies
    3,768
    Views
    389,580

    Must still clean up the "_FS.ino" examples...

    Must still clean up the "_FS.ino" examples (sorry)
  48. Replies
    3,768
    Views
    389,580

    MSC on T4 with latest TD? Does someone from the...

    MSC on T4 with latest TD?
    Does someone from the MSC thread have MSC running with latest TD update?
    In my case my program logger_RawWrite stops when writing the first data buffer (64 blocks)
    I use...
  49. Replies
    3,768
    Views
    389,580

    Update: modified uSDFS to handle RTC also for T4

    Update:
    modified uSDFS to handle RTC also for T4
  50. Replies
    3,768
    Views
    389,580

    Will have a look

    Will have a look
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4