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. 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...
  2. Replies
    489
    Views
    51,950

    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.
  3. 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
  4. Replies
    4
    Views
    297

    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...
  5. @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...
  6. Replies
    89
    Views
    7,316

    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
  7. 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...
  8. 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);
  9. The error is in the code you do not show

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

    I though granularity is 16?
  11. Replies
    6
    Views
    181

    It's already included in latest Teensyduino...

    It's already included in latest Teensyduino (1.54-beta7) (don't worry about beta)
  12. Replies
    3
    Views
    182

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

    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....
  14. Replies
    19
    Views
    391

    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.
  15. Replies
    19
    Views
    391

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

    Did changing the CPU clock change anything on RF interference?
  16. Replies
    2
    Views
    97

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

    would it be easy to colour code histogram legend?

    would it be easy to colour code histogram legend?
  18. Replies
    16
    Views
    376

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

    @defragster, he said

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

    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?
  20. 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)
    {
    ...
  21. @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.
  22. 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...
  23. 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.
  24. 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...
  25. @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.
  26. Replies
    489
    Views
    51,950

    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
  27. Replies
    489
    Views
    51,950

    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...
  28. Replies
    15
    Views
    444

    IMHO, If it is not there it should not be used!...

    IMHO, If it is not there it should not be used!
    the fact that Arduino/Makefiles are not adapting to changing gcc is not the problem of gcc
    maybe there is an equivalent library, or installation of...
  29. Another way to look into this is For a 1Hz...

    Another way to look into this is
    For a 1Hz resolution you need an analysis window of 1 second or so and the signal must be stable for all this time.
    If the signal is only 0.1 s long, then the...
  30. Replies
    4
    Views
    297

    While I have no idea what RT101X/RT102X is, I...

    While I have no idea what RT101X/RT102X is, I would be very surprised if PJRC licenses the bootloader chip code, which, however, is not a question to the forum.
    All what I wanted to say is that, at...
  31. Thread: Memory hints

    by WMXZ
    Replies
    6
    Views
    248

    a side question in arm_dcache* functions we find...

    a side question
    in arm_dcache* functions we find

    asm volatile("": : :"memory");
    asm("dsb");
    if I take disable_irq() we have

    #define __disable_irq() __asm__ volatile("CPSID i":::"memory");...
  32. Thread: Memory hints

    by WMXZ
    Replies
    6
    Views
    248

    or something like this? in cmsis_gcc.h ...

    or something like this?
    in cmsis_gcc.h

    \brief Enable IRQ Interrupts
    \details Enables IRQ interrupts by clearing the I-bit in the CPSR.
    Can only be executed in Privileged modes....
  33. Thread: Raspberry Pi Pico

    by WMXZ
    Replies
    205
    Views
    14,013

    You do not need RTOS for IPC.

    You do not need RTOS for IPC.
  34. Replies
    17
    Views
    583

    But USA definitions of week are different (not...

    But USA definitions of week are different (not only when week starts)
  35. IMHO, using the audio datapath is better than...

    IMHO, using the audio datapath is better than RawHID, if you can live with the predefined sampling rate.
    IIRC, with RawHID you have up to 64 byte/ms.
    Obviously, with some low-level programming data...
  36. the reply #2 still holds. the best way to...

    the reply #2 still holds.
    the best way to transfer two queues to the is to use USB-Output and connect it to the two queues. This will take the data and transfer to PC.
    what you do with data on PC...
  37. You can easily avoid Arduino pre-processing but...

    You can easily avoid Arduino pre-processing but continue to use Arduino IDE
    Put all your code into a local .cpp file (main.cpp is fine, but can be anything.cpp) and let the sketch.ino file empty....
  38. Replies
    9
    Views
    655

    Please give the exact code to reproduce this...

    Please give the exact code to reproduce this observation.
  39. "Aliasing" the signal does indeed work (sampling...

    "Aliasing" the signal does indeed work (sampling a 40 kHz signal with 38kHz), but you still have to make sure that no unwanted signal passes through.
    In this case you must make sure that no signal...
  40. Replies
    4
    Views
    213

    Kurt, Frank, thanks for answer. Yes, in my DMA...

    Kurt, Frank,
    thanks for answer.
    Yes, in my DMA isr I'm using the arm_cache functions.

    I was only confused by the psram_memtest program that uses arm_dcache functions between write and read....
  41. Replies
    4
    Views
    213

    proper use of PSRAM

    I wanted to know what the proper use of PSRAM is in relation to data cache

    I use PSRAM as huge databuffer in my recorder
    for this I plan to use the following (simple) Queue object where buffer...
  42. Replies
    140
    Views
    4,144

    Question now is, is 1.7s freeze related with use...

    Question now is, is 1.7s freeze related with use of PSRAM or with doubling (or 'wrong'/huge size) in startup.c ?
    IOW, do all freeze code use PSRAM?
    Is access to PSRAM cached?, does this cache then...
  43. Replies
    140
    Views
    4,144

    out of curiosity, what is FlexSPI2 used for?...

    out of curiosity, what is FlexSPI2 used for? only psram?
    Yes, I use EXTMEM in my code.
  44. what is the required data rate?

    what is the required data rate?
  45. Replies
    140
    Views
    4,144

    It therefore seems that the overrun counter is...

    It therefore seems that the overrun counter is 2^28. i.e. freeze is 2^28 IPG cycles
  46. Replies
    140
    Views
    4,144

    Yes, I have a arm_dcache_flush_delete in my DMA...

    Yes, I have a arm_dcache_flush_delete in my DMA ISR
  47. Replies
    140
    Views
    4,144

    Serial.begin does not do anything (I even do not...

    Serial.begin does not do anything (I even do not use one)
    USB_serial is always used if usb_type is set to Serial. you could test using Seremu to see if it is the Serial implementation that freezes....
  48. Replies
    10
    Views
    325

    I2S port also works. done that years ago with a...

    I2S port also works.
    done that years ago with a 1 MHz ADS SAR chip.
    However, as it needs good AA filter, I dropped it.
  49. Replies
    140
    Views
    4,144

    I try since yesterday to generate stand-alone...

    I try since yesterday to generate stand-alone freeze example, but no success. All too deterministic.

    Unfortunately my freeze application, which does not freeze anymore (fortunately)
    uses as HW ...
  50. Replies
    1
    Views
    114

    as indicated on adafruit web page use only 3.3V...

    as indicated on adafruit web page use only 3.3V and no level shifters as 5V will kill T4.1
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4