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,122
    Views
    423,404

    Simply set pin to MISO and it will override all...

    Simply set pin to MISO and it will override all previous usage
  2. Replies
    20
    Views
    538

    Have a look at...

    Have a look at https://forum.pjrc.com/threads/35253-Odd-question-2-What-programs-do-you-use-for-schematic-capture-and-board-layout?p=108451&viewfull=1#post108451
    Conclusion, if you know your...
  3. Replies
    20
    Views
    538

    Maybe because he is not using a CAD SW?

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

    works for me
    thanks
  5. 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?
  6. 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.
  7. 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
  8. Replies
    12
    Views
    178

    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...
  9. would BLE an option? there is SW for BLE on 2nd...

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

    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
  11. Replies
    4,122
    Views
    423,404

    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...
  12. Replies
    4,122
    Views
    423,404

    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...
  13. Replies
    13
    Views
    90

    I think so (I got it from include files)

    I think so (I got it from include files)
  14. Replies
    3
    Views
    65

    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
  15. Replies
    13
    Views
    90

    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)
  16. Replies
    4,122
    Views
    423,404

    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.
  17. Replies
    9
    Views
    90

    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...
  18. Replies
    9
    Views
    90

    table 7.1...

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

    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
  20. Replies
    9
    Views
    90

    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...
  21. 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...
  22. 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()
    {...
    }
  23. Replies
    4,122
    Views
    423,404

    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...
  24. Replies
    5
    Views
    66

    maybe GND?

    maybe GND?
  25. Replies
    8
    Views
    139

    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...
  26. Replies
    8
    Views
    139

    more precise reference!

    more precise reference!
  27. Replies
    8
    Views
    139

    use the audio record queue object.

    use the audio record queue object.
  28. Replies
    8
    Views
    139

    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...
  29. Replies
    4
    Views
    88

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

    Yes, that I was thinking about
  31. 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...
  32. Replies
    35
    Views
    9,641

    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...
  33. Replies
    4,122
    Views
    423,404

    You edit sd_config.h in uSDFS/utility

    You edit sd_config.h in uSDFS/utility
  34. Replies
    4,122
    Views
    423,404

    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?
  35. Replies
    4,122
    Views
    423,404

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

    by WMXZ
    Replies
    1
    Views
    134

    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...
  37. Replies
    4,122
    Views
    423,404

    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...
  38. Replies
    4,122
    Views
    423,404

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

    by WMXZ
    Replies
    439
    Views
    31,648

    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)...
  40. Replies
    4,122
    Views
    423,404

    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...
  41. Replies
    3
    Views
    136

    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...
  42. Replies
    304
    Views
    7,883

    found some issues that where introduced while...

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

    by WMXZ
    Replies
    439
    Views
    31,648

    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.
  44. 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)?
  45. Thread: Bat detector

    by WMXZ
    Replies
    439
    Views
    31,648

    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....
  46. Replies
    2
    Views
    179

    have a look at...

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

    by WMXZ
    Replies
    439
    Views
    31,648

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

    by WMXZ
    Replies
    439
    Views
    31,648

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

    by WMXZ
    Replies
    439
    Views
    31,648

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