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.

  1. Maybe the following may help you...

    Maybe the following may help you
    https://github.com/WMXZ-EU/MTP_t4
    where a new device is added to USB
    in order to see that modification in Arduino IDE, you must modify also boards.txt
  2. Replies
    547
    Views
    35,741

    AFAIK, this thread addresses the use of Teensy as...

    AFAIK, this thread addresses the use of Teensy as a host to a mass storage device, and not the teensy or its microSD card as a mass storage device.
    I have not seen that someone implemented a mass...
  3. Replies
    3
    Views
    107

    I was there and decided to go with exFAT....

    I was there and decided to go with exFAT.
    problem with FAT32 is that you have to maintain the file allocation table (i.e. whenever you write to a new cluster you have to modify the FAT). So what you...
  4. Replies
    11
    Views
    381

    I'm just wondering if a simpler program than the...

    I'm just wondering if a simpler program than the microSoundRecorder would be more appropriate for you application.
    e.g. starting with the audio/examples/Recorder
    which does nearly what you wanted.
  5. Replies
    11
    Views
    381

    The above should not happen, how did you install...

    The above should not happen, how did you install Arduino, TD on which OS?


    Yes

    Don't edit Audio Library but call the relative methods


    That would need some code in loop().
    There are a...
  6. This is asked over and over again. Let me...

    This is asked over and over again.

    Let me answer this way:
    the definition of a Teensy, among others, is that you only upload program via USB. For this it uses a dedicated bootloader chip.

    Of...
  7. Replies
    912
    Views
    74,961

    Colleagues of mine have used MTP successfully...

    Colleagues of mine have used MTP successfully with linux (ubuntu)
    please note: MTP responder answers to a proper implemented MTP initiator. It seems that not all Linux implementations behave the...
  8. Looking quickly through your code (have no time...

    Looking quickly through your code (have no time now to run program, adapt to my hardware) could not see a smoking gun.
    Obviously you know that for 384 and 768 kHz you must reconfigure your channels...
  9. Please provide FULL code to reproduce the problem...

    Please provide FULL code to reproduce the problem
    (including the routines you modified in TD)

    I'm using the same ADC, it may not be the same connection but rest could be similar
  10. Replies
    12
    Views
    296

    In your Filter Decimation object, I would not...

    In your Filter Decimation object, I would not re-use the input data blocks, but allocate a new one for output. This way you have better control on what is transmitted further.
    you will then transmit...
  11. Replies
    16
    Views
    1,143

    I do not understand the purpose of this...

    I do not understand the purpose of this logarithmic transformation (call it wave-shaping or "compression")
    being non-linear it creates a lot of intermodulation products, that cannot be un-done (as...
  12. Try with less current (e.g. 33k/(16k+33k))

    Try with less current (e.g. 33k/(16k+33k))
  13. Replies
    11
    Views
    381

    An audio recorder that is activated by button...

    An audio recorder that is activated by button press (record while button press), if that is what you want, could easily be added.
  14. Replies
    4
    Views
    139

    should that not be inverted: MISO Master In Slave...

    should that not be inverted: MISO Master In Slave OUT (DO of SD)?
  15. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    You have two options: - start with examples of...

    You have two options:
    - start with examples of ADC libraries.
    - use Audio library
    in both cases try to read first a single channel,
    if that works increase numbers of channels to three
    if you...
  16. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    The Arduino FFT implementation is using double,...

    The Arduino FFT implementation is using double, which is OK for Teensy 4.x

    Now we see also the whole code, which is not clear and most likely will not work as intended.
    e.g. you call from...
  17. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    which teensy are you using?

    which teensy are you using?
  18. Replies
    12
    Views
    252

    also, it is useful to study exactly...

    also, it is useful to study exactly implementation (direct I or direct II, use of b0 etc)
    In other words, compare the CMSIS implementation with the routines (e.g. Matlab) used to create biquads
  19. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    implicit periodicity due to FFT is one of these...

    implicit periodicity due to FFT is one of these assumptions that is not always satisfied.
    But, some scientific areas (seismology, vibration testing, acoustics, etc) like to work in spectral domain.
  20. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    As you know accelerometer give you length/sec^2...

    As you know accelerometer give you length/sec^2 (acceleration). If you wanted velocity (mm/s in your case) you need to integrate your data
    The so-called spectral method does not integrate the...
  21. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    what's the application?

    what's the application?
  22. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    multiply FFT value with sensitivity and divide by...

    multiply FFT value with sensitivity and divide by i*omega to integrate accelerometer to get particle velocity
  23. Thread: Fft

    by WMXZ
    Replies
    19
    Views
    409

    can you also give a reference for the FFT class?

    can you also give a reference for the FFT class?
  24. I would try BCLK - SCK LRCLK - WS IN1 - SD ...

    I would try

    BCLK - SCK
    LRCLK - WS
    IN1 - SD


    See also https://github.com/WMXZ-EU/microSoundRecorder/wiki/Hardware-setup
    for attachment of other MEMS microphones
    Edit: The pin numbers in...
  25. Replies
    490
    Views
    54,736

    Only if there are no bottom mounted components,...

    Only if there are no bottom mounted components, or you must use cut-outs and then it does not matter much if there are through holes.
  26. That information is a typo (aka wrong) AFAIK:...

    That information is a typo (aka wrong)

    AFAIK:
    T4.x:
    MCLK 23
    BCLK 21
    LRCLK 20
    IN1 8
  27. Replies
    4
    Views
    359

    Ahh, you mean IMXRT10xx, that makes more sense....

    Ahh, you mean IMXRT10xx, that makes more sense.
    Concerning Bootloader chip, history showed that Paul is only supporting (hard coded) MCU chips he is using for Teensies. Different models of the same...
  28. @DD4WH, If you wanted to use I2S and also use...

    @DD4WH,
    If you wanted to use I2S and also use LED for messaging, You should use

    CORE_PIN13_CONFIG = PORT_PCR_MUX(4); // PTC5, I2S0_RXD0

    after you are done with LEDing and move on...
  29. Replies
    92
    Views
    8,649

    Please stick with title of thread (comments on,...

    Please stick with title of thread (comments on, issues with TD1.54b7) and create different thread for detailed discussion on your program implementation
  30. After Paul integrated SdFat-V2 I updated code to...

    After Paul integrated SdFat-V2 I updated code to include directly TD SdFat.h (no -beta anymore)
    No need to download Bill's beta version.
    Best to remove SdFat-beta from local Arduino Libs and only...
  31. Anyhow, this is a question to TeensyThread...

    Anyhow, this is a question to TeensyThread (ftrias)
    maybe you cannot have TeensyTread AND loop together?
    I would first try another thread that only does delay(1000);
  32. The error is in the code you do not show

    The error is in the code you do not show
  33. I though granularity is 16?

    I though granularity is 16?
  34. Replies
    6
    Views
    250

    It's already included in latest Teensyduino...

    It's already included in latest Teensyduino (1.54-beta7) (don't worry about beta)
  35. Replies
    11
    Views
    381

    Good, Do you have a particular application,...

    Good,
    Do you have a particular application, microphone, sensor?
    If you are using a Windows PC you may try to use VisualCode to open directory.
  36. Replies
    11
    Views
    381

    Normally I would say: - download code - edit...

    Normally I would say:
    - download code
    - edit config.h to reflect your adc situation
    open microSoundRecorder.ino with Arduino IDE and compile (Verify)

    Don't get worried about include files....
  37. Replies
    19
    Views
    489

    You will be surprised, how much you can do with a...

    You will be surprised, how much you can do with a lower CPU speed.
  38. Replies
    19
    Views
    489

    Did changing the CPU clock change anything on RF...

    Did changing the CPU clock change anything on RF interference?
  39. Replies
    2
    Views
    120

    It seems that the example was using a very...

    It seems that the example was using a very transient implementation of SdFat as indicated by


    SdioCardEX card;

    maybe you try first the SDFormatter examples provided with SdFat library.
    or ask...
  40. Replies
    7
    Views
    404

    would it be easy to colour code histogram legend?

    would it be easy to colour code histogram legend?
  41. Replies
    16
    Views
    450

    @defragster, he said not sure if the...

    @defragster, he said

    not sure if the wipe+reload test is already implemented last summer?
  42. Replies
    16
    Views
    450

    Did pressing the program mode button help? Is...

    Did pressing the program mode button help?
    Is there another connection to Teensy running as zombie and locking USB port?
  43. I did some correction and updated ...

    I did some correction and updated https://github.com/WMXZ-EU/MTP_t4/
    For @KurtE et al that have WIP forks, this is the new code

    void MTPStorage_SD::removeFile(uint32_t store, char *file)
    {
    ...
  44. @sw_hunt I hooked up a T3.6 and run mtp_test,...

    @sw_hunt
    I hooked up a T3.6 and run mtp_test, deleted test1.txt using MTP, removed uSD and checked on PC. File is still there. I will investigate.
  45. Does the same operation work on T4? (Have not...

    Does the same operation work on T4? (Have not used T3.6 for a while)
    what exactly do you mean by copy: PC to T3.6, T3.6 to PC, T3.6 to T3.6 same directory level, different directory level?
    file...
  46. For the record, uSDFS is ELM-CHaN's FatFs file...

    For the record, uSDFS is ELM-CHaN's FatFs file system that together with MSC from @wwatson can be used with USBHost.
  47. Let's ignore that DFT formula is y_k = Σ...

    Let's ignore that DFT formula is
    y_k = Σ 0,...,N-1 (x_n * e^-i2πkn/N )
    i.e. no left-hand side sum

    FFT is called Fast because it does not implement this formula, which has O(N^2) complex...
  48. @mala96, As far as I can see you did not ask any...

    @mala96,
    As far as I can see you did not ask any question in this thread
    but your post is full of insults, so I urge superusers to take note.
  49. Replies
    490
    Views
    54,736

    agree completely. Fun with Teensy is as it is...

    agree completely.
    Fun with Teensy is as it is now
    All compiled from source code with full control of features
  50. Replies
    490
    Views
    54,736

    On castellation. I understand while it could...

    On castellation.
    I understand while it could useful, but it would not be useful in presence of bottom mounted components, as done on T4.1.
    Also inboard pin soldering would not be possible.
    On the...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4