Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: duff

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    73
    Views
    1,565

    I think the IPG_PERCLK_ROOT (peripheral clock)...

    I think the IPG_PERCLK_ROOT (peripheral clock) can be derived from either the IPG_CLK_ROOT or the OSC_CLK at 24MHz. Out of reset if you look at the register CCM_CSCMR1[PERCLK_CLK_SEL] the...
  2. Questions about 24MHz operation and clockspeed.c:...

    Questions about 24MHz operation and clockspeed.c:


    Looking at clockspeed.c and when changing the clock speed to 24MHz is the BUS clock running 12MHz? I can't tell yet.
    Are we using the RC OSC...
  3. Replies
    55
    Views
    1,991

    Sticky: So it looks like I have the same problem that...

    So it looks like I have the same problem that @neurofun has with the Catalina version. When I try to open the Teensy.app it says it needs 10.14:
    18956
    18955
    Got it to work when I copied the 1.50...
  4. I'm hoping to have an update today on my GitHub....

    I'm hoping to have an update today on my GitHub. The changes are to make Snooze's main class decoupled from the underlying HAL for each Teensy chip. This broke a lot of things so I had to rewrite a...
  5. Did you look at the 'deepSleep_usb_serial'...

    Did you look at the 'deepSleep_usb_serial' example?
  6. Replies
    8
    Views
    1,697

    I wrote library that interfaces the ILI9341 and...

    I wrote library that interfaces the ILI9341 and XPT2046 to littleVGL, it has a novel 5 point touch calibration method that corrects scaling factors and mechanical misalignment of the screen using...
  7. Replies
    55
    Views
    1,991

    Sticky: Yes it does work on my 10.13.4 Mac with no...

    Yes it does work on my 10.13.4 Mac with no crashes that I saw.
  8. Replies
    55
    Views
    1,991

    Sticky: So I did finally got Teensyduino 1.5.0 to install...

    So I did finally got Teensyduino 1.5.0 to install correctly. For some reason my machine which is old (2012) and running Mac 10.13.4 Quarantines the Arduino ide when I download it. I checked with this...
  9. Replies
    55
    Views
    1,991

    Sticky: I get this error if I try from Terminal:

    I get this error if I try from Terminal:
  10. Replies
    55
    Views
    1,991

    Sticky: Downloaded Arduino 1.8.11 twice and ran it with...

    Downloaded Arduino 1.8.11 twice and ran it with no problems then downloaded and installed this Teensyduino and when I opened Arduino it crashes with this error every time now for both Arduino's I...
  11. Replies
    10
    Views
    118

    I'm going to work on this today, been out with...

    I'm going to work on this today, been out with the death flu for the last two weeks but starting to feel like half of myself again.
  12. Looks like any of the low power modes need to...

    Looks like any of the low power modes need to scale the PLL so that will limit your power mode you can go into according to your requirements. According to the documents Frank shared that would be...
  13. I have a newer version...

    I have a newer version (https://github.com/duff2013/AudioTuner) than the stock Teensy one that can reduce the cpu load by resampling the input signal at a lower sample rate and low pass filter (FIR)...
  14. Replies
    1
    Views
    187

    You need to copy the arm_math.h...

    You need to copy the arm_math.h, arm_const_structs.h and arm_comman_tables.h to the teensy ".../cores/teensy3/" directory in Arduino renaming or removing the old arm_math.h and arm_comman_tables.h....
  15. Haha, no problem. So the incoming audio...

    Haha, no problem.



    So the incoming audio is a human voice that you are trying to detect what frequency they are signing at? Not sure how you would "re-start the cycles" but you could look at...
  16. Sorry for offending your awesomeness, :cool:

    Sorry for offending your awesomeness, :cool:
  17. Correction: 24 Audio Blocks would be able to...

    Correction: 24 Audio Blocks would be able to detect a signal down to around 29 Hz actually, my bad:confused:

    85Hz would need about 10 Blocks for it to detected, this can be set here...
  18. No problem, I'll use the Audio library sample...

    No problem, I'll use the Audio library sample rate of 44117Hz, that means one sample takes around (1/44117) seconds and you will have 44117 samples in 1 second.

    An Audio block is a collection of...
  19. The number of detections would be related to the...

    The number of detections would be related to the frequency of the signal and the duration of the signal. A 85 Hz signal would at a very minimum take around 24 Audio Blocks of data to detect which is...
  20. The audio library sample rate is ~44100 Hz so...

    The audio library sample rate is ~44100 Hz so 200ms would have around 8828 samples of data or do you mean you only get 2-3 noteFrequency outputs? If the later what is the frequency range of sine...
  21. It uses a type of autocorrelation...

    It uses a type of autocorrelation (http://recherche.ircam.fr/equipes/pcm/cheveign/pss/2002_JASA_YIN.pdf) to detect the fundamental frequency of a signal mainly designed for music. The only tunable...
  22. Replies
    4
    Views
    580

    Ok I'll work on this again, it's going to be a...

    Ok I'll work on this again, it's going to be a slow slog though, there are so many things with the M7 processor that you have consider that you didn't in the arm M0/M4!
  23. Replies
    30
    Views
    2,246

    Not that its not appropriate just that you...

    Not that its not appropriate just that you probably be better served starting your own thread about this specific topic.

    As far as time stretching it looks like you know what your looking for...
  24. Replies
    30
    Views
    2,246

    I'm not exactly sure at the moment how this would...

    I'm not exactly sure at the moment how this would be done, are you looking to slow down the tempo of a piece of music while keeping the same pitch like the Amazing Slow Downer? In the future,...
  25. Replies
    4
    Views
    580

    Teensy 4.0 Low Power

    Hi All, just wanted to gauge the priority of low power operation of the Teeny 4.0? I have worked on it for Snooze off and on for a bit now and it's not exactly an easy thing to implement since it is...
  26. Replies
    30
    Views
    2,246

    Thanks for the link, I'll check out Java code to...

    Thanks for the link, I'll check out Java code to see the demodulation technique, did you implement it yet in your Audio Object?
  27. Replies
    30
    Views
    2,246

    .....Link?

    .....Link?
  28. Replies
    30
    Views
    2,246

    here is my first release of the vocoder for the...

    here is my first release of the vocoder for the Audio library -> https://github.com/duff2013/AudioEffectVocoder

    There are two examples that pitch shift (+- semitones) a female singing a short clip...
  29. Replies
    30
    Views
    2,246

    Do you have any wavelet code that runs on...

    Do you have any wavelet code that runs on Teensy3-4 using Audio library?
  30. Replies
    30
    Views
    2,246

    @MikeDB is correct, you can substantially speed...

    @MikeDB is correct, you can substantially speed up your (@Blackaddr) algorithm by using a trig equalities trick for a constant stepped sine, cos. That being said, in my work on the Oceans algorithm...
  31. Look at the example...

    Look at the example Low_power_push_Button_Hold_SD_Logger.
  32. millis/micros will be updated when woken if you...

    millis/micros will be updated when woken if you use the timer driver not the rtc driver inwhich you do currently. Try the Timer driver instead and see if that helps.
  33. Your example looks fine. I looked into this...

    Your example looks fine.


    I looked into this library a little and it uses micros to keep track of it's "os" time. When you hibernate sleep the clock that runs micros is off, so it won't be...
  34. Never used the LMIC Library but Serial printing...

    Never used the LMIC Library but Serial printing (USB) and sleeping are not going to work as you expect and could be some of your issues. For a more robust printing solution use the Hardware Serial...
  35. Ok looking at the setRtcTimer function in Snooze...

    Ok looking at the setRtcTimer function in Snooze the hours, minutes and seconds are defined uint8_t so the maximum value can only be 255 for each, so 14 days would be 336 hours! Since I'm doing a...
  36. This is very interesting, so the first RTC alarm...

    This is very interesting, so the first RTC alarm wakeup always works even if it's say three weeks away but after going back to sleep (for like a two weeks or longer), does it fail every time? Can you...
  37. It looks like you got it working but do you want...

    It looks like you got it working but do you want to add 100 msec to the timer each time you wake up? If not then you don't have to update the "TimerLength" or reset the timer it will keep that value...
  38. I've never used a gps module but it seems that...

    I've never used a gps module but it seems that you are reading the gps data then going to sleep, shouldn't you read the gps receiver after waking? Does this module toggle a pin when new data has...
  39. That time is from the gps module as far as I can...

    That time is from the gps module as far as I can see: "gps.time.minute()"
  40. Not sure why you are getting stale data, is this...

    Not sure why you are getting stale data, is this data coming from the GPS or from millis on the Teensy? Is this stale data what you are printing after waking, i.e.


    if (who == 16) {// pin wakeup...
  41. Can you try this: SnoozeBlock config(usb,...

    Can you try this:


    SnoozeBlock config(usb, digital);
  42. Replies
    4,367
    Views
    503,677

    Hi All, I've been pretty quite on the T4 as of...

    Hi All, I've been pretty quite on the T4 as of late but have made some progress with the low power features of this chip. I'm decoupling Snooze from the each of the teensy chips and putting all the...
  43. Replies
    17
    Views
    971

    I would just use one file and you can use...

    I would just use one file and you can use elapsedMillis for the timing.
  44. Replies
    17
    Views
    971

    That should work, how much more does it play...

    That should work, how much more does it play after that?
  45. Replies
    12
    Views
    547

    This script should take care of those 'USB...

    This script should take care of those 'USB Serial# #' devices.


    #!/bin/sh
    #https://www.jamf.com/jamf-nation/discussions/24815/deleting-usb-network-interfaces


    IFS=$'\n'...
  46. Replies
    4
    Views
    511

    Even with sleeping the Teensy you should look...

    Even with sleeping the Teensy you should look into shutting down all the external components when you want the Teensy to sleep. In my audio applications the Teensy 3.2 actually is the least power...
  47. Replies
    4,367
    Views
    503,677

    has anyone noticed that USB Serial doesn't work...

    has anyone noticed that USB Serial doesn't work if compile and upload a blank sketch?
  48. Replies
    4,367
    Views
    503,677

    Oh thanks I didn't look at the commit time I...

    Oh thanks I didn't look at the commit time I thought that Teensy GitHub mirrored the teensyduino installer.
  49. Replies
    4,367
    Views
    503,677

    Weird, just downloaded a fresh Arduino IDE and...

    Weird, just downloaded a fresh Arduino IDE and installed 1.46 and noticed that the githubs core_pins.h does not match the core_pins.h I just installed. Mine has no mention of #if...
  50. Replies
    4,367
    Views
    503,677

    Since putting the beta1 board on hold for awhile...

    Since putting the beta1 board on hold for awhile I've started looking at the low power features again and was wondering if the new beta2 boards will have the bootloader go into lower power mode....
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4