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
    89
    Views
    6,015

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

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

    I though granularity is 16?
  6. Replies
    6
    Views
    147

    It's already included in latest Teensyduino...

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

    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.
  8. Replies
    3
    Views
    156

    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....
  9. Replies
    19
    Views
    372

    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.
  10. Replies
    19
    Views
    372

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

    Did changing the CPU clock change anything on RF interference?
  11. Replies
    2
    Views
    90

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

    would it be easy to colour code histogram legend?

    would it be easy to colour code histogram legend?
  13. Replies
    16
    Views
    349

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

    @defragster, he said

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

    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?
  15. 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)
    {
    ...
  16. @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.
  17. 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...
  18. 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.
  19. 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...
  20. @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.
  21. Replies
    475
    Views
    50,746

    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
  22. Replies
    475
    Views
    50,746

    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...
  23. Replies
    15
    Views
    400

    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...
  24. 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...
  25. Replies
    2
    Views
    209

    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...
  26. Thread: Memory hints

    by WMXZ
    Replies
    6
    Views
    227

    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");...
  27. Thread: Memory hints

    by WMXZ
    Replies
    6
    Views
    227

    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....
  28. Thread: Raspberry Pi Pico

    by WMXZ
    Replies
    204
    Views
    13,645

    You do not need RTOS for IPC.

    You do not need RTOS for IPC.
  29. Replies
    17
    Views
    548

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

    But USA definitions of week are different (not only when week starts)
  30. 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...
  31. 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...
  32. 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....
  33. Replies
    9
    Views
    630

    Please give the exact code to reproduce this...

    Please give the exact code to reproduce this observation.
  34. "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...
  35. Replies
    4
    Views
    191

    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....
  36. Replies
    4
    Views
    191

    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...
  37. Replies
    139
    Views
    3,855

    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...
  38. Replies
    139
    Views
    3,855

    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.
  39. what is the required data rate?

    what is the required data rate?
  40. Replies
    139
    Views
    3,855

    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
  41. Replies
    139
    Views
    3,855

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

    Yes, I have a arm_dcache_flush_delete in my DMA ISR
  42. Replies
    139
    Views
    3,855

    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....
  43. Replies
    10
    Views
    305

    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.
  44. Replies
    139
    Views
    3,855

    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 ...
  45. Replies
    1
    Views
    105

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

    In may case it happens middle in the program ...

    In may case it happens middle in the program

    24040
  47. Replies
    2
    Views
    153

    NS Blank RT Family

    while trying to improve my code I got on Serial line the following message

    "(NS Blank RT Family (SE Blank RT Family (SP Blank RT Family (FR Blank RT Family"
    and
    ":NXP SemiConductors Inc :" ...
  48. Thread: Bat detector

    by WMXZ
    Replies
    839
    Views
    88,496

    while I completely understand German, would you...

    while I completely understand German, would you please add a link to the schematic you are referencing to?
    Edit: OK, I'm Bavarian
  49. Replies
    139
    Views
    3,855

    Yes, that is correct, even micros() gives the...

    Yes, that is correct, even micros() gives the correct answer (i.e. consistent with freeze duration)
  50. Replies
    139
    Views
    3,855

    To be completely honest, I had always issues...

    To be completely honest,
    I had always issues with USB after T3.2 times.
    In my freeze case I thought it maybe PC, so I run program from battery, disconnecting PC but wrote log to uSD. 1.7s freeze...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4