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.03 seconds; generated 19 minute(s) ago.

  1. Replies
    17
    Views
    307

    Maybe because he is not using a CAD SW?

    Maybe because he is not using a CAD SW?
  2. works for me thanks

    works for me
    thanks
  3. It seems that it searches Arduino only under...

    It seems that it searches Arduino only under C:/program Files etc. but I typically install Arduino in user space (C:-/users/.../...)
    mind to add this search path?
  4. All T4 related (pre release) discussion,...

    All T4 related (pre release) discussion, including code snippets etc, can be found in the monster thread. Best search in that thread.
  5. AS for MCU pin names, table...

    AS for MCU pin names, table https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193716&viewfull=1#post193716 has them in second column , no need of decoding source or schematic
  6. Replies
    12
    Views
    170

    yes, I have done it but only Serial is...

    yes,
    I have done it but only Serial is implemented
    Needs a 2nd usb SW stack (see also the huge T4-beta thread where Paul commented on that)

    Edit: I was referring for the USB2 as USB-device and...
  7. would BLE an option? there is SW for BLE on 2nd...

    would BLE an option? there is SW for BLE on 2nd USB port
  8. Replies
    12
    Views
    170

    The pads are for USB2, that can and has be used...

    The pads are for USB2, that can and has be used for USBHost SW
  9. Replies
    4,110
    Views
    416,530

    it may be Arduino definition, but IMHO at the...

    it may be Arduino definition, but IMHO at the same time the implementation stimulates bad programming style: Serial1.write(0x12345678) does not generate compile error but simply prints 0x12 (or 0x78...
  10. Replies
    4,110
    Views
    416,530

    Any reasoning why you simply truncate the...

    Any reasoning why you simply truncate the parameter to single byte?
    if API says that Serial.write only writes a single byte, the user should to the cast Serial1.write((uint8_t) 0x00); or proper...
  11. Replies
    13
    Views
    85

    I think so (I got it from include files)

    I think so (I got it from include files)
  12. Replies
    3
    Views
    61

    AFAIK, you need TD 1.47b6 for T4 , which you find...

    AFAIK, you need TD 1.47b6 for T4 , which you find via https://forum.pjrc.com/threads/54711-Teensy-4-0-First-Beta-Test?p=193715&viewfull=1#post193715
  13. Replies
    13
    Views
    85

    Maybe try to setup UART in teensy with inverse...

    Maybe try to setup UART in teensy with inverse polarity. (I needed that to use a RS232 cable to a T3.2)
  14. Replies
    4,110
    Views
    416,530

    was also for me completely unclear and it was...

    was also for me completely unclear and it was never obvious to me how to structure code to minimize differences between T3.6 and T4.0.
  15. Replies
    9
    Views
    87

    Yes, before this consumption was 'normal', after...

    Yes,
    before this consumption was 'normal', after 15s press consumption was lower, indicating to me that program was not running anymore, obviously I cannot verify
    did also look into power-up (0 to...
  16. Replies
    9
    Views
    87

    table 7.1...

    table 7.1 http://www.ti.com/lit/ds/symlink/tpd3s014.pdf
    and there is a diode in T3.6 schematic
  17. Replies
    9
    Views
    87

    Not using USB host. Teensy is USB device (MTP not...

    Not using USB host. Teensy is USB device (MTP not MSC protocol for data transfer)
    AFAIK the regulator for USB2 (TPD3S014) is rated max 6 V, so it should not break down
  18. Replies
    9
    Views
    87

    Another Broken T3.6?

    Scenario
    I have a T3.6 connected to an IMU and custom Audio board.
    Running on battery (DC-DC converted to 6V on Vin and Vin-USB cut)

    System is running for some time now (on demand power will be...
  19. Noted that this does not compile, as sdhc_isr is...

    Noted that this does not compile, as sdhc_isr is in kinetis.h declared as extern without the static attribute
    So I ended up to modify Greiman's code by simply adding a 'm' as in


    static void...
  20. does it compile if you declare in sdio_Teensy.cpp...

    does it compile if you declare in sdio_Teensy.cpp sdhc_isr as static ?

    static void sdhc()
    {...
    }
  21. Replies
    4,110
    Views
    416,530

    using USB1 and USB2 design question

    I started to use simultaneously USB1 _and_ USB2 in device mode.
    (It is really on T3.6 but I used code from T4, so I post here)

    I got it working with both ports defined for usb_serial.
    For this I...
  22. Replies
    5
    Views
    64

    maybe GND?

    maybe GND?
  23. Replies
    8
    Views
    136

    In your code (OP) you are not using SD specific...

    In your code (OP) you are not using SD specific Audio objects. So, you can mix you logger with SdFat.

    comment the include of SD.h and follow the the examples of Bill Greiman on how to access...
  24. Replies
    8
    Views
    136

    more precise reference!

    more precise reference!
  25. Replies
    8
    Views
    136

    use the audio record queue object.

    use the audio record queue object.
  26. Replies
    8
    Views
    136

    No, this is a well known 'feature' of any SD...

    No, this is a well known 'feature' of any SD card.
    they all have a build-in controller that is handling bad blocks, wear leveling, etc.
    do expect from time to time 'significant' delays. Good...
  27. Replies
    4
    Views
    87

    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...
  28. Yes, that I was thinking about

    Yes, that I was thinking about
  29. 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...
  30. Replies
    35
    Views
    9,615

    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...
  31. Replies
    4,110
    Views
    416,530

    You edit sd_config.h in uSDFS/utility

    You edit sd_config.h in uSDFS/utility
  32. Replies
    4,110
    Views
    416,530

    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?
  33. Replies
    4,110
    Views
    416,530

    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,...
  34. Thread: zeroFS

    by WMXZ
    Replies
    1
    Views
    133

    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...
  35. Replies
    4,110
    Views
    416,530

    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...
  36. Replies
    4,110
    Views
    416,530

    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++)
    ...
  37. Thread: Bat detector

    by WMXZ
    Replies
    433
    Views
    31,450

    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)...
  38. Replies
    4,110
    Views
    416,530

    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...
  39. Replies
    3
    Views
    132

    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...
  40. Replies
    304
    Views
    7,687

    found some issues that where introduced while...

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

    by WMXZ
    Replies
    433
    Views
    31,450

    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.
  42. 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)?
  43. Thread: Bat detector

    by WMXZ
    Replies
    433
    Views
    31,450

    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....
  44. Replies
    2
    Views
    177

    have a look at...

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

    by WMXZ
    Replies
    433
    Views
    31,450

    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)
  46. Thread: Bat detector

    by WMXZ
    Replies
    433
    Views
    31,450

    @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...
  47. 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...
  48. Thread: Bat detector

    by WMXZ
    Replies
    433
    Views
    31,450

    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...
  49. Thread: Bat detector

    by WMXZ
    Replies
    433
    Views
    31,450

    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...
  50. Thread: Bat detector

    by WMXZ
    Replies
    433
    Views
    31,450

    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...
Results 1 to 50 of 499
Page 1 of 10 1 2 3 4