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. not sure, if there is dithering. SGTL commands...

    not sure, if there is dithering.
    SGTL commands are found in Audio library. AudioConnection is found in cores AudioStream.(h/cpp). (IIRC, it is simply a linked list that is worked at software...
  2. Yes, see...

    Yes, see https://forum.pjrc.com/threads/52798-Overclocking-SGTL5000?p=181609&viewfull=1#post181609
    this was done for T3.x but shows method.
  3. Replies
    1
    Views
    110

    This is an Arduino problem not a SdFat problem. ...

    This is an Arduino problem not a SdFat problem.

    For some reason the Arduino people accepted the TimeLib library with inside a Time.h file, that now only calls TimeLib.h (and gives the warning you...
  4. Replies
    190
    Views
    15,376

    Yes, IMO, you are missing a fundamental point....

    Yes, IMO, you are missing a fundamental point.
    VisualTeensy generates a Makefile environment, that you can easily modify, adapt to your own make preferences. I do that continuously. Yes, @luni...
  5. In fact, putting SPI pins (SCK,MOSI,MISO) into...

    In fact, putting SPI pins (SCK,MOSI,MISO) into OUTPUT disables SPI transfer.
  6. Replies
    14
    Views
    293

    disconnect Teensy and use device manager to...

    disconnect Teensy and use device manager to remove all in-active HID (and maybe also all COM devices) to clean up Win10 device memory
  7. only assumption: input signal is

    only assumption: input signal is <0.6 V. possible DC-offset is taken care by AC coupling
  8. there is no must, but this seems only to indicate...

    there is no must, but this seems only to indicate if serial_write is failing
    As @luni indicates there are better ways to echo to PC
  9. OK, I should have be more specific, my piezos are...

    OK, I should have be more specific, my piezos are piezoceramic hydrophones, there is some inductance, but mostly capacitance.
    Yes, I'm aware of all the noise sources, including reverse current of...
  10. Yes, that is a shame, also as paralleling FETs...

    Yes, that is a shame, also as paralleling FETs could bring noise down to really sub nV/√Hz.
    so we must stick with opamps
    At the moment I try to test a AD8656 stereo piezo-preamp for a TLV320ADC6140...
  11. Replies
    3
    Views
    167

    But in theory could be programmed as a USB...

    But in theory could be programmed as a USB device, see https://github.com/WMXZ-EU/USB2/tree/master/examples/test-usb2 as an example for T3.6. Did not try it on T4, as I had no need.
  12. AFAIK, Paul uses a combination of information of...

    AFAIK,
    Paul uses a combination of information of exactly the chips existing Teensies are using. So replacing the MKL26Z64 by a MKL26Z128 will not work.
  13. Would it make sense, to define right now a...

    Would it make sense, to define right now a virtual base class that implements a user interface? Next we could try to think about the different implementations.
    Not sure if the old Arduino interface...
  14. Access to T4.1 Sd card is faster (it uses 4-bit...

    Access to T4.1 Sd card is faster (it uses 4-bit parallel SDIO protocol, while AudioAdapter user 1-bit SPI prorocol)
    Analog input on Teensy are independent from Audio I/O of Audio Adapter
    yes you...
  15. Replies
    23
    Views
    993

    in particular the dominating user pictures turn...

    in particular the dominating user pictures turn me off.
  16. mind to elaborate? is 20 kHz BW not equiv to 43...

    mind to elaborate? is 20 kHz BW not equiv to 43 dB (10log10(BW))?
  17. maybe the problem lies in Using previously...

    maybe the problem lies in

    Using previously compiled file: /var/folders/kr/g2dq1nfj5r3g9fqgvn440m1m0000gn/T/arduino_build_859156/libraries/ADC/AnalogBufferDMA.cpp.o
    to force a complete rebuild...
  18. Replies
    2
    Views
    139

    if you are happy with FAT32 formats, then go with...

    if you are happy with FAT32 formats, then go with build-in TD SD library. it works for all TD libraries T3 and T4
  19. AFAIK, all but eeprom and recovery program space

    AFAIK, all but eeprom and recovery program space
  20. That is my reasoning too, so decision to use...

    That is my reasoning too, so decision to use floating points for ADC data (max signal range is known) is always pushed into future. Also FPU could consumed in the past more power than fixed point...
  21. That is why I use T3.x and T4.x. OK, there are...

    That is why I use T3.x and T4.x. OK, there are still T2.x around and sold.

    The question for me (on T4.x) is to keep, say signal detection and the related averaging (to estimate background noise)...
  22. This statement far too much application and...

    This statement far too much application and hardware oriented (low quality ADC and 8-bit MCU).
    EMA is not only used to filter IMU accelerators and other 10bit data, but is used in sound signal...
  23. if data are 16 bit, then IMO the state variable...

    if data are 16 bit, then IMO the state variable (effectively sample<<K) should be declared as 32 bit
  24. Replies
    25
    Views
    4,171

    you order them from Paul

    you order them from Paul
  25. So, I learned is with tmp = avg*A -avg is (I...

    So, I learned


    is with tmp = avg*A -avg is (I think) equivalent to

    tmp = tmp + x
    avg = tmp/A
    tmp = tmp - avg
    ...
  26. Not sure if it is the same, but I implement exp....

    Not sure if it is the same, but I implement exp. averaging as

    float:
    avg = avg +aa*(x-avg), where aa is a small number 0<aa<1 and x in the input

    integer:
    avg = (avg*A + (x-avg))/A, where A...
  27. Replies
    27
    Views
    682

    I would flip the back image the other way around,...

    I would flip the back image the other way around, even if Teensy 4.1 is written upside down
  28. microsoundrecorder is written for T3.6 but could...

    microsoundrecorder is written for T3.6 but could be ported to T4.1, if really needed.
    For T4.1 I would consider to start from https://github.com/WMXZ-EU/MTP_t4/tree/master/examples/mtp-logger
    it...
  29. https://www.loggerhead.com/snap-underwater-acousti...

    https://www.loggerhead.com/snap-underwater-acoustic-recorder

    He integrated Teensy3.2 with custom SGTL5000.
  30. That is why I'm interested in seeing field data....

    That is why I'm interested in seeing field data.
    OK, I know at least one company that uses SGTL5000 and Teensy for a hydrophone recorder.
  31. To me it seems OK. The H2a (not seen H2c)...

    To me it seems OK.
    The H2a (not seen H2c) simulates a electret microphone (it has also only 2 lines). So I would simply connect as it were a microphone.
    to set the mic go to audio library where you...
  32. OK for more reference, but there are hydrophone...

    OK for more reference, but there are hydrophone pre-amps that 'simulate' a electret mic. In fact they only have a FET and some protection diodes (ignoring source and bias resistor)
  33. OK, which model are you using, which pre-amp?

    OK,
    which model are you using, which pre-amp?
  34. I assume you are referring to PIP Series by...

    I assume you are referring to PIP Series by virgo.
    You simply connect to Line-in (not sure about AC coupling)
  35. Replies
    10
    Views
    276

    C code is generating entry points as is, while...

    C code is generating entry points as is, while cpp modifies function names to contain also type of parameters and return value.
    So all code that e.g. is called from assembler, should be c-code or (I...
  36. Replies
    3
    Views
    172

    https://forum.pjrc.com/threads/61288-define-to-dif...

    https://forum.pjrc.com/threads/61288-define-to-differentiate-between-Teensy-4-0-and-4-1?p=242618&viewfull=1#post242618
  37. Replies
    11
    Views
    259

    maybe there is some residual .o files force...

    maybe there is some residual .o files
    force rebuild
    either exit and restart Arduino
    or change a parameter in tools (e.g.F_CPU)
    or delete temp arduino build folder
  38. Why are you asking? the header file always says...

    Why are you asking?
    the header file always says 2.0.0

    Anyhow on jun18 Bill commented
    "..... I have lost interest in developing SdFat."

    So I doubt SdFat we=ill ever become "official"

    BTW,...
  39. So, what about "WebUSB was enabled by default in...

    So, what about
    "WebUSB was enabled by default in Chrome 61 on September 5 2017, but was disabled after privacy and security concerns were raised" (Wikipedia) ?
    Is that still the case?
  40. If you mean by official, that it replaces the SD...

    If you mean by official, that it replaces the SD library in Teensyduino, then someone has to ensure that ALL existing code, that follows the ARDUINO SD API, is running with SdFat-beta.
    Maybe Paul is...
  41. Exactly, all this "programming style" speed...

    Exactly, all this "programming style" speed issues should consider compiler optimization.
  42. So, lets get rid of the stupid 8 bit bool! I,...

    So, lets get rid of the stupid 8 bit bool!
    I, personally thought, to use 16 bit, but maybe should only use 32bit variables.
  43. Replies
    86
    Views
    2,406

    BTW, there is an example mtp-logger in MTP_t4,...

    BTW, there is an example mtp-logger in MTP_t4, which could also be used to test/develp mtp aware data logger.
  44. Thread: Teensy Qt

    by WMXZ
    Replies
    445
    Views
    135,980

    one of the '+' members (e.g. KurtE) can do that

    one of the '+' members (e.g. KurtE) can do that
  45. Replies
    321
    Views
    41,066

    USB2 is setup as a library and should go...

    USB2 is setup as a library and should go completely into local libraries. Not to be selectively copied. Of course, you are free to to so, but that was not the intended operation.

    re usb_desc.h...
  46. Replies
    321
    Views
    41,066

    Cannot comment on MAC, but MTP is NOT a File...

    Cannot comment on MAC, but MTP is NOT a File system, so it would not show up as storage. It should show up as portable device.
    If you search the web for MTP on MAC-OS, you will find that Apple only...
  47. Replies
    1
    Views
    159

    AFAIK, there are no *driver*.h files for Teensy....

    AFAIK, there are no *driver*.h files for Teensy.
    I2C interfaces are named different.
    See examples in libraries i2c_t3 and wire
  48. Replies
    75
    Views
    2,819

    PID for MTP-Disk/Serial

    Paul,
    could you please assign a own PID for an experimental MTP Serial that is recognized by Teensy loader, Teensy monitor and would allow automatic reprogramming?
    It would also allow simpler SW...
  49. Replies
    8
    Views
    404

    You cannot manipulate Pin13 after initializing...

    You cannot manipulate Pin13 after initializing SPI. So you cannot set it to high by digitalWrite or by using pinMode.
  50. Replies
    321
    Views
    41,066

    @xenington, I see, you have a session close,...

    @xenington,
    I see, you have a session close, this seems 'typical' for Linux. I have on Windows never encountered session close. So, there may be some side effects.
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4