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.01 seconds.

  1. Replies
    4,201
    Views
    428,297

    Yes, that would something interesting, monitoring...

    Yes, that would something interesting, monitoring two or more serial ports (or serial + seremu) with single Arduino instance.
  2. Replies
    4
    Views
    40

    yes you could solder a USB wires to the bottom...

    yes you could solder a USB wires to the bottom pads (GND D+ D+) (NO 5V !) and pluck that into your mobile phone, and power your teensy with a charge only cable,
    OR
    you could cut the VUSB-VIN line...
  3. Replies
    15
    Views
    254

    When you use SPI library, you tell the code which...

    When you use SPI library, you tell the code which is the CS (IIRC with begin(CS)) and then the SW handles asserting CS for you
    you never do it by yourself
    So:
    (1 or first question): answer "yes"...
  4. Replies
    15
    Views
    254

    (1) yes (2) no

    (1) yes
    (2) no
  5. Replies
    417
    Views
    81,975

    Sounds to me that Serial.print is not thread...

    Sounds to me that Serial.print is not thread save.
    (I would be surprised if there are NO global variables in Serial/Stream/Print)
  6. maybe -lstdc++ -nostdlib is the source of...

    maybe

    -lstdc++ -nostdlib
    is the source of your problem?
    why linking to standard c++ library if you then say no std library

    Also, are you by chance using a newer gcc version than Teensyduino?
  7. When I wanted to understand how Arduino compiles...

    When I wanted to understand how Arduino compiles I simply make the IDE verbose, check the output and note the different compile and link options.
    Only after that I modify the make file.

    If you...
  8. In all these T4 serial-usb discussion, one should...

    In all these T4 serial-usb discussion, one should note that in addition to Paul's Sermon speed work, the USB implementation is 'completely' different and most likely not complete in a T4 compared to...
  9. Replies
    6
    Views
    109

    If you don't show us the source code, we cannot...

    If you don't show us the source code, we cannot tell.
  10. Replies
    4,201
    Views
    428,297

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

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

    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...
  12. Replies
    20
    Views
    582

    Maybe because he is not using a CAD SW?

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

    works for me
    thanks
  14. 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?
  15. 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.
  16. 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
  17. Replies
    12
    Views
    186

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

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

    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
  20. Replies
    4,201
    Views
    428,297

    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...
  21. Replies
    4,201
    Views
    428,297

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

    I think so (I got it from include files)

    I think so (I got it from include files)
  23. Replies
    3
    Views
    67

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

    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)
  25. Replies
    4,201
    Views
    428,297

    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.
  26. Replies
    9
    Views
    95

    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...
  27. Replies
    9
    Views
    95

    table 7.1...

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

    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
  29. Replies
    9
    Views
    95

    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...
  30. 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...
  31. 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()
    {...
    }
  32. Replies
    4,201
    Views
    428,297

    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...
  33. Replies
    5
    Views
    71

    maybe GND?

    maybe GND?
  34. Replies
    8
    Views
    145

    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...
  35. Replies
    8
    Views
    145

    more precise reference!

    more precise reference!
  36. Replies
    8
    Views
    145

    use the audio record queue object.

    use the audio record queue object.
  37. Replies
    8
    Views
    145

    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...
  38. Replies
    4
    Views
    93

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

    Yes, that I was thinking about
  40. 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...
  41. Replies
    35
    Views
    9,707

    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...
  42. Replies
    4,201
    Views
    428,297

    You edit sd_config.h in uSDFS/utility

    You edit sd_config.h in uSDFS/utility
  43. Replies
    4,201
    Views
    428,297

    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?
  44. Replies
    4,201
    Views
    428,297

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

    by WMXZ
    Replies
    1
    Views
    136

    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...
  46. Replies
    4,201
    Views
    428,297

    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...
  47. Replies
    4,201
    Views
    428,297

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

    by WMXZ
    Replies
    452
    Views
    32,330

    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)...
  49. Replies
    4,201
    Views
    428,297

    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...
  50. Replies
    3
    Views
    140

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