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

Search:

Type: Posts; User: analog&RFmodels

Page 1 of 3 1 2 3

Search: Search took 0.00 seconds.

  1. Replies
    19
    Views
    413

    luni's advice to stock so as to bridge the gap is...

    luni's advice to stock so as to bridge the gap is a good one, altho you have probably waited too long.
    i have been designing hardware since 1975 and in the old days you could actually avoid single...
  2. seems feasible to me - give it a go. i had...

    seems feasible to me - give it a go. i had similar doubts about using Teensy LC to produce nice pseudo sine
    waves at up to 2 khz for modulation of an RF carrier (rather than sq waves to reduce...
  3. sometimes - i just last week had to remove one...

    sometimes - i just last week had to remove one pole after an op amp and before adc input on t4 to get
    a 3-6 db improvement in signal to noise. the t4 seems to spit more charge out the adc input than...
  4. yes - i have aref tied to 3.3 and should have...

    yes - i have aref tied to 3.3 and should have mentioned it and yes - that must be the default for reference because
    i never have used the adc_reference........

    glad you are on the air - don't...
  5. jonr - thanks for the feedback i got in a t4...

    jonr - thanks for the feedback

    i got in a t4 code that is a spectrum analyzer, fed in a very clean 10 khz 3vp-p sinewave, and saw the same 2nd harmonic
    size with and without those lines - so in...
  6. Replies
    11
    Views
    1,364

    Sticky: tested teensyduino with arduino 1.8.13 this am -...

    tested teensyduino with arduino 1.8.13 this am - all ok w compile/run/serial monitor using codes
    containing adc functions for tlc, t36, t4. install 153 on top of 153b3, win7pro64

    do not know...
  7. here are excerpts from that code - even tho i did...

    here are excerpts from that code - even tho i did not need bandwidth i left conversion, sampling, and averaging
    as they had been for fast operation in a previous code because i am lazy - you will...
  8. design the divider for low current draw on the...

    design the divider for low current draw on the battery - in an almost identical situation where i needed
    to read batt v up to at least 14v (there was an ulta low iq regulator between batt and tlc) i...
  9. Replies
    31
    Views
    1,783

    more on 1.8.13 maybe the guys at Arduino are ok...

    more on 1.8.13
    maybe the guys at Arduino are ok after all - if you go into preferences and turn off
    "check for updates on start", get out of Arduino, shut down windows, reboot
    windows then that...
  10. Replies
    4
    Views
    192

    maybe not a miracle - Murphy never sleeps

    maybe not a miracle - Murphy never sleeps
  11. Replies
    31
    Views
    1,783

    thanks for the feedback that is right - arduino...

    thanks for the feedback
    that is right - arduino 1.8.13 - since there is only one adc library in the teensy stuff i wonder why it had to think so hard

    very annoying item 1.8.13 - the engineering...
  12. Replies
    31
    Views
    1,783

    did closer inspection of compile reports re ADC...

    did closer inspection of compile reports re ADC under 1.53 beta 3 and found something that is not an error,
    not a warning, but i don't remember it from past releases. as per previous post TLC T36 T4...
  13. Replies
    31
    Views
    1,783

    compiles using ADC library worked ok TLC, T35,...

    compiles using ADC library worked ok TLC, T35, T4. (of course using the new settings syntax i had to do for 1.52)
    ala
    adc->adc0->setAveraging(1);
    etc
    have not timed any ADC yet
  14. Replies
    31
    Views
    1,783

    under win7pro64: uninstall arduino 1.8.5 (and...

    under win7pro64: uninstall arduino 1.8.5 (and teensyduino 1.52), install arduino 1.8.13, install teensyduino 1.53 beta 3,
    compiled and ran just fine several programs each for TLC, T36, T4. some TLC...
  15. Replies
    4
    Views
    192

    if your generator is 0 to 3.3 no load and 0 to...

    if your generator is 0 to 3.3 no load and 0 to 3.3 when hooked to teensy then current load is not a player.
    have you looked at the gen both before and after connection to teensy? also - just be be...
  16. Replies
    10
    Views
    378

    i would not say easy - depends on what kind of...

    i would not say easy - depends on what kind of soldering/de-soldering tools you have. good news it only has six leads,
    bad news is it has a thermal pad center bottom that i bet is soldered down...
  17. Replies
    10
    Views
    378

    that is the 3.3 v regulator how very hot but no...

    that is the 3.3 v regulator
    how very hot but no current ? - it normally takes LOTS of current to get real hot

    i have a thermal image to send you - how did you attach that photo?
    never mind - i...
  18. Replies
    75
    Views
    2,727

    i saw some syntax changes between TD 1.48 and...

    i saw some syntax changes between TD 1.48 and 1.52 that may relate to 1.53 betas?

    needed in 1.48
    adc->setAveraging(1,ADC_0);

    needed in 1.52
    adc->adc0->setAveraging(1);

    also - total crash...
  19. Replies
    14
    Views
    404

    oddson - i agree carlosemello - you used the...

    oddson - i agree

    carlosemello - you used the word "piezo" - at a glance it might seem that you can just hook the output of a piezo
    sensor (high C high Z) to a mux/atod but that is problematic for...
  20. Replies
    14
    Views
    404

    is a8 a default analog in? i have only used...

    is a8 a default analog in?

    i have only used a10 and a11 TLC and have used this declaration:
    const int readPin = A10;
    const int readPin2 = A11;

    and then this setup:
    pinMode(A10,...
  21. jonr is right - but if you have a scope check for...

    jonr is right - but if you have a scope check for oscillation on the regulator output after you add the
    cap - many low drop out regulators are sensitive to Cl and the esr of Cl ala they become...
  22. Replies
    12
    Views
    404

    i have never used a 3.2, have never used the a/d...

    i have never used a 3.2, have never used the a/d in the LC in a situation where i really cared about usable resolution,
    but with the 3.6 i have gotten a dynamic range of 70db which is equiv to 11.6...
  23. Replies
    37
    Views
    2,422

    campbell - that is an interesting observation. in...

    campbell - that is an interesting observation. in 1977 Motorola had a trademark term for their newest family
    of processors - "systems on silicon" - wrong. but things like the ridiculously complex ...
  24. Replies
    37
    Views
    2,422

    it it is any help, when i was testing T4 snooze i...

    it it is any help, when i was testing T4 snooze i started with example code Duff had put in the Snooze library
    such as some thing like DeepSleep_all_wakeups - you might compare your code with that -...
  25. cleaned up redundant code, no longer needs code...

    cleaned up redundant code, no longer needs code changes in isr2 depending on slow/fast task time, and the
    comments include editing one of the teensy core files so that the abort/recover time goes...
  26. there is a 2.2 ufd on the T4 board on that pin -...

    there is a 2.2 ufd on the T4 board on that pin - that is probably enough - leave room in your artwork for
    and external 10-22 ufd but you probably won't need it.
  27. when i sped it up to us=6250 and lg=625 the line...

    when i sped it up to us=6250 and lg=625 the line in isr2() "++tc" had to be commented to prevent skipping
    one task on a restart - who knows, at even faster task intervals it might have to become...
  28. as a final summary point here is the code for 8...

    as a final summary point here is the code for 8 timeslices/4 tasks using noinit. i am sure that a real C programmer
    could tighten it up and shrink it even further.

    in task2 either comment or...
  29. to add to that summary - the 4 task 8 timeslice...

    to add to that summary - the 4 task 8 timeslice (01020103) version using the noinit attribute method uses these TLC resources:
    pgm space 12%, ram space 26%, both pit timers, and the abort-recover...
  30. KurtE - have you run out of time for this? here...

    KurtE - have you run out of time for this? here instead of a code snippet is an entire pgm that boils it all down
    comes up tries to recover from maybe_saved - prints result,waits 5 seconds, re...
  31. KurtE - here is the top section of my pgm so you...

    KurtE - here is the top section of my pgm so you can see where i put your statements
    and also the compiler error listing - earlier in this thread you can see an eeprom solution
    that is the complete...
  32. jonr - this version compiles no warnings and the...

    jonr - this version compiles no warnings and the contents of the variables it is used on do live thru the soft restart !!!
    - best solution so far - thank you

    KurtE - compiler not happy - after...
  33. no dice - compiler comes back w "warning 'noinit'...

    no dice - compiler comes back w "warning 'noinit' attribute directive ignored -
    it compiles and of course variables are all zero after restart - but thank you
  34. thanks - will try and let you know

    thanks - will try and let you know
  35. it turns out there is some register storage in...

    it turns out there is some register storage in Teensy LC that will live thru a software restart
    - 16 bits of the lptmr compare register. at one point defragster told me not to try to use it
    unless...
  36. please record the drop (both swing hi and swing...

    please record the drop (both swing hi and swing low) - and work from the low current end so that if the internal
    driver evaporates you will already have quite a bit of data. if you have time to kill...
  37. looked in ... CEC - not sure what is going on or...

    looked in ... CEC - not sure what is going on or what errors may exist in table 22 but 1 ua is absurd and impossible.
    try to calculate output swing/drop from the output resistance values in tables...
  38. Mark, you can't have too many unused pins !!...

    Mark,
    you can't have too many unused pins !! gotta admit i went cross-eyed debugging my code for care and feeding of
    serial in/serial out (haven't used a "circular memory" since the 70's). i hate...
  39. Replies
    5
    Views
    197

    look for vin low (max) and vin high (min) for the...

    look for vin low (max) and vin high (min) for the data input pin
  40. at $0.57 singles and 0.49 10's the TLC + HC595...

    at $0.57 singles and 0.49 10's the TLC + HC595 wins the cost battle - had a 595 in junk box - works fine - using as serial in serial out
    remember that you need to re-write a shift register as you...
  41. defragster, Frank, Mark, Paul - thanks for all...

    defragster, Frank, Mark, Paul - thanks for all the good feedback. i will look at all of the relative cost size etc but i would
    not be surprised if TLC + shift register wins -- one external chip, no...
  42. too much work for a duffer - when i set up a...

    too much work for a duffer - when i set up a pointer to the ram area - either 25 bytes from bottom or
    25 bytes from top, compiles fine, hang on run - must be somebody trying to keep me out. decided...
  43. good point - i will enable lptmr first and see if...

    good point - i will enable lptmr first and see if solves, but worry that once enabled it might start incrementing
    every millisecond and destroy my data.
    have not tried unused ram yet - need to...
  44. here is what i have since you suggested trying to...

    here is what i have since you suggested trying to use timer register - see comments middle of deck - reading timer does not work ?
    keep in mind that as a programmer i am a duffer



    // teensy lc...
  45. all good deeds must be punished. i had to do this...

    all good deeds must be punished. i had to do this once before w pic w application such that it
    needed to be robust as possible and if a task runs long skip to next one - if the fault heals so
    be it...
  46. thanks again - yes now i get what you mean - it...

    thanks again - yes now i get what you mean - it would almost have to either get lost or grow the stack to infinity.

    i will look into lptmr and sort thru the ld file.
  47. thanks for the feedback i have done this...

    thanks for the feedback

    i have done this before in a small pic. it does not matter what stack pointers or internal registers or hardware get reset/preset
    - it only matters that you write your...
  48. please help w code to NOT initialize variables

    i am trying to write a pgm for Teensy LC that time slices tasks and that part is easy
    via interval timer routine that increments the task number and main code that looks
    to see what the task number...
  49. TD 1.52 ATOD compile error for TLC

    getting compile error on code that was previously good before 1.52
    code excerpt is small code to show error - ATOD i normally do is as shown except
    often inside a function that is called by an...
  50. Replies
    37
    Views
    2,422

    found in my archives two documents - the...

    found in my archives two documents - the previously mentioned IMXRT1060CEC.PDF and also IMXRT1060IEC.pdf
    basically identical at a glance.

    also sometime recently i described TLC hibernate current...
Results 1 to 50 of 115
Page 1 of 3 1 2 3