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
    3
    Views
    31

    Michael, Assume you wanted same sampling...

    Michael,
    Assume you wanted same sampling frequency (LRCLK and BCLK)
    you connect LRCLK and BCLK to both devices, you connect MCLK to devices that need MCLK (assuming both devices use the same...
  2. Replies
    5
    Views
    63

    Solved?

    doubling the set_arm_clock command seems to work

    #if defined(__IMXRT1062__)
    extern "C" uint32_t set_arm_clock(uint32_t frequency);
    #endif

    void setup() {
    // put your setup code here, to run...
  3. Replies
    5
    Views
    63

    the following code #if defined(__IMXRT1062__)...

    the following code

    #if defined(__IMXRT1062__)
    extern "C" uint32_t set_arm_clock(uint32_t frequency);
    #endif

    extern volatile uint32_t systick_cycle_count;

    uint32_t m_micros(void)
    {
  4. is not PMIC_ON_REQ enabling the LDO?

    is not PMIC_ON_REQ enabling the LDO?
  5. If you succeed with routing, that would be a...

    If you succeed with routing, that would be a great solution. I'm with it.
  6. It may have compiled to Arduino and not Teensy...

    It may have compiled to Arduino and not Teensy libraries, that are in a different folder and take precedence in compiling and linking.
    In the post I referred to, you were saying you installed ONLY...
  7. Strange that this compiled correctly. The audio...

    Strange that this compiled correctly. The audio library needs other libraries (e.g. Wire to talk to the SGTL5000). Try to install with ALL TD libraries.
  8. Replies
    5
    Views
    63

    T4 , set_arm_clock and micros()?

    I get wrong values using micros() after changing CPU speed with set_arm_clock on a T4.

    #if defined(__IMXRT1062__)
    extern "C" uint32_t set_arm_clock(uint32_t frequency);
    #endif

    void setup() {...
  9. Replies
    3
    Views
    64

    priority levels? There are in steps of 16 (at...

    priority levels?
    There are in steps of 16 (at least for T3.6, not checked yet for T4)
    e.g levels 16 to 31 are the same level
  10. what happens if you use "AudioNoInterrupts" ONLY...

    what happens if you use "AudioNoInterrupts" ONLY in the beginning and AudioInterrupts at the end of frequencyUpdate ?
    IMO that is the only place where it matters (you stop and restart audio...
  11. Thread: T4 RTC wake-up

    by WMXZ
    Replies
    0
    Views
    19

    T4 RTC wake-up

    maybe I missed it.
    I can program the RTC alarm and shutdown the RTC, but I miss the link that tells the imxrt1062 to reboot on RTC alarm.
    So any advice that is more specific than decoding the...
  12. sdio-uSD socket (sensu T3.6)?

    sdio-uSD socket (sensu T3.6)?
  13. it is in initSDHC() (file sdio_teensi.cpp) in my...

    it is in initSDHC() (file sdio_teensi.cpp)
    in my file line 706
    Walter
  14. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    Passive Acoustic Monitoring (PAM) on underwater...

    Passive Acoustic Monitoring (PAM) on underwater glider (6-channel volumetric array)
  15. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    I see what you aiming for, reactance per se does...

    I see what you aiming for, reactance per se does not increase noise (it is imaginary and not real), but changes gain, so impact of real noise sources have a higher impact.
    Will have to play with...
  16. Sorry Chip, did you find meanwhile the...

    Sorry Chip, did you find meanwhile the attachInterrupt line?
  17. @jpaudio I'm on travel right now, but can look...

    @jpaudio
    I'm on travel right now, but can look into the problem beginning next Tuesday.
    mean while could you please be a little bit more specific?
    maybe you could post the config.h file and give...
  18. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    mind to explain why?

    mind to explain why?
  19. Replies
    11
    Views
    221

    Adapted code to my T3.6 configuration to get it...

    Adapted code to my T3.6 configuration to get it running
    Cannot see your time jitter
    could you replace loop by

    void loop()
    {
    static uint32_t t0=0, t2=0, tx, ty;
    tx=micros(),
    ...
  20. Replies
    11
    Views
    221

    The solution to your puzzle seems to be: the...

    The solution to your puzzle seems to be:
    the time jitter, you are observing, is real and you do not loose data.

    Reason: you are starting/stopping recording based on recByteSaved, which in...
  21. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    I would decrease the values of C1 and C5 from 1uF...

    I would decrease the values of C1 and C5 from 1uF to 10nF, as I suggested in #504. This would suppress low frequencies that for Bat frequencies are not at all of interest.
    Play with a spice program...
  22. Replies
    37
    Views
    1,797

    As I have slightly different requirements (I need...

    As I have slightly different requirements (I need some mounting holes and connector to Audio and storage board), I make my own breakout board.
    For this I plan to use the blackketter approach but...
  23. Replies
    11
    Views
    221

    @ianmb can you provide the complete ino file,...

    @ianmb
    can you provide the complete ino file, you are using?
  24. Replies
    1
    Views
    72

    does it compile on ArduinoIDE? if yes, then...

    does it compile on ArduinoIDE?
    if yes, then check the .cpp file created by AruinoIDE (found in temp directory, as seen using verbose)
    Most likely you are missing some include files or are not...
  25. I tend to agree that situation becomes very...

    I tend to agree that situation becomes very confusing.
    My suggestion for a clean way forward is that Teensyduino ONLY provides the core functionality and PJRC maintains only a list of links to...
  26. Replies
    17
    Views
    406

    Bill, great to get SD_FAT with exFAT and SDIO...

    Bill,
    great to get SD_FAT with exFAT and SDIO for T4.0
    BTW, what is your suggestion for your SdFs library, are you planning to upgrade to T4.0?

    One thing I would be curious about is the power...
  27. Replies
    58
    Views
    1,906

    My basic wish list for T4.1 - added uSD card -...

    My basic wish list for T4.1
    - added uSD card
    - pins for USB1 (device)
    - pins for USB2 (with host protection)
    - LDO to allow 6- 16 V Vin
    - access to 1 MB of RAM (build in or external)
    - NO...
  28. would not call it very low power, but I could run...

    would not call it very low power, but I could run it from Teensy 3.3V (CSAC SA.45s from Symmetricon http://www.prc68.com/I/pdf/Symmetricom%27s_SA.45s_CSAC_updates.pdf)
    on the 30 C limit: it is not...
  29. How I di it, is to ignore the drift of the RTC,...

    How I di it, is to ignore the drift of the RTC, and CPU

    My files are all 1 minute long (closing driven by RTC seconds)
    every header contains the RTC but also millis and micros.
    Further I sample...
  30. You have to use the definitions from...

    You have to use the definitions from cores/teensy3/kinetis.h
    not definitions by non-teensy users
  31. Replies
    3
    Views
    94

    AFAIk, in the compiler commands are all options...

    AFAIk, in the compiler commands are all options -O3 for example
  32. Replies
    3
    Views
    94

    maybe have a check with actual compiler and...

    maybe have a check with actual compiler and linker options (verbose mode)
  33. Replies
    22
    Views
    571

    I'm happy to report a typo "locatoins" below the...

    I'm happy to report a typo "locatoins" below the signals table.
  34. Replies
    11
    Views
    365

    As you see from JBeale example, direct access to...

    As you see from JBeale example, direct access to analog ports is part of the Teensy core, so always implemented with ALL Teensies that have build-in ADC
  35. Replies
    8
    Views
    155

    UPS, I thought it is a T4.0. For a T3.2 6-7 V are...

    UPS, I thought it is a T4.0. For a T3.2 6-7 V are OK. Only T4.0 is limited.
  36. Replies
    8
    Views
    155

    Vin only accepts 3.6 to 5.5 V (there is NO...

    Vin only accepts 3.6 to 5.5 V (there is NO additional LDO as with previous Teensies (3.2 - 3.6)
    So connecting 2S LIPO (on controller) is calling for problems (distruction?). Add external dc/dc...
  37. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    BTW concerning integrated active HP and...

    BTW
    concerning integrated active HP and amplification, I found this
    https://hackaday.io/project/8353-worlds-smallest-bat-detector
  38. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    I know, the datasheet of the SGTL5000 is only...

    I know, the datasheet of the SGTL5000 is only inviting not to use it.
    The first thing I did was to test id there is a Sigma Delta or not. By sweeping over Nyquist, it seems that there is a sigma...
  39. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    correct. All sigma/delta ADC datasheets show a RC...

    correct. All sigma/delta ADC datasheets show a RC LP filter at in input, the values of which are tricky to be estimated. So, always best to follow the datasheet.
    As example see...
  40. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    Does it not depend on type of filter? Active...

    Does it not depend on type of filter?
    Active filter, absolutely yes, the must be avoided, but they could be constructed with gain, right?

    But there is space for passive filtering, reducing the...
  41. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    @aethertek did you say a picture is worth a...

    @aethertek
    did you say a picture is worth a thousand words?
    would you mind to draw your schematic suggested in #495?
  42. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    I concur with all you said. Unfortunately, the...

    I concur with all you said.
    Unfortunately, the SGTL5000 audioboard costs really nothing, compared to a genuine ultrasonic ADC board with proper signal conditioning.
  43. Replies
    9
    Views
    228

    Well, I use the same SAI for doing both (sending...

    Well, I use the same SAI for doing both (sending MCLK out and using L/R and BCLK as slave)
    here is a snippet of the code for a T3.6


    void i2s_rx_slave_setup(void)
    {
    SIM_SCGC6 |=...
  44. Replies
    9
    Views
    228

    I have the feeling, we have here some semantic...

    I have the feeling, we have here some semantic issues.
    I2S/SAI has 4 lines, say for RX or TX

    -MCLK (master clock)
    -BCLK (Bit clock)
    -L/R (left/right) clock, or Framesync
    -data

    we have two...
  45. You cannot easily use audioshield AND them I2S...

    You cannot easily use audioshield AND them I2S MEMS you are referring too. Both are using I2S.
    (I say easily, because in principle it is possible, as T3.2 has two I2S data ports, and if you control...
  46. Thread: Bat detector

    by WMXZ
    Replies
    527
    Views
    36,570

    Cor, as you are playing with SGTL5000, In case...

    Cor, as you are playing with SGTL5000,
    In case you missed it, you may be interested in
    https://forum.pjrc.com/threads/52798-Overclocking-SGTL5000?p=181609&viewfull=1#post181609
    Walter
  47. Replies
    12
    Views
    928

    I would doubt that, Teensy is registered by PJRC...

    I would doubt that, Teensy is registered by PJRC and if PJRC blows fuses, then IMO a Teensy 4.0 would need fuses blown. at most it Teensy 4.0 alike.
  48. Replies
    99
    Views
    2,840

    concerning CAP for uSD, Yes, writing to uSD...

    concerning CAP for uSD,
    Yes, writing to uSD needs significant mA for a short period of time and internal ADC could be effected.
    A 2nd version of the uSD breakout board, could feature a own 3.3V...
  49. Replies
    22
    Views
    474

    I have to look into that!

    I have to look into that!
  50. Sufficient for me

    Sufficient for me
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4