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

Search:

Type: Posts; User: analog&RFmodels

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. 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...
  2. 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...
  3. 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...
  4. 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...
  5. 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...
  6. 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.
  7. 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...
  8. 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...
  9. 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...
  10. Replies
    30
    Views
    1,593

    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...
  11. Replies
    30
    Views
    1,593

    sadly ma

    just remade the msmnts - they are good. if you look in IMXRT1060CEC.PDF which is the technical datasheet
    111 pages 1.9 megabyte on page 26 table 13 they list some of the idle mode currents and if...
  12. Replies
    30
    Views
    1,593

    please look three posts up for all of those...

    please look three posts up for all of those currents. if you can stand a cold start every time, see the link two posts up.
    i have used the cold start method w rtc on T4 and average "sleep" current...
  13. Replies
    51
    Views
    2,248

    Sticky: ADC problem TD 1.52 with TLC is resolved kind of,...

    ADC problem TD 1.52 with TLC is resolved kind of, KurtE - i took your advice and tried to fix AnalogBufferDMA.cpp,
    commented out line 163 which is in a TLC only if. just for completeness tested back...
  14. Replies
    51
    Views
    2,248

    Sticky: thanks for all of the feedback KurtE and...

    thanks for all of the feedback KurtE and Silverlock. looked at github - none of the files have changed for 2 months but i do
    not know how that might relate to the freeze date for 1.52. not sure what...
  15. Replies
    51
    Views
    2,248

    Sticky: TD 1.52 prob with TLC doing AtoD - worked 1.41 and 1.48

    the fixes for T36 to do ADC setup also worked for T4. almost work for TLC.

    in the code below the disableDMA call was my feeble attemp at a fix - did not work. code below is an excerpt
    from larger...
  16. Replies
    51
    Views
    2,248

    Sticky: Silverlock, that did it - i had looked thru the...

    Silverlock,
    that did it - i had looked thru the documentation and lib files but overlooked that - amateur programmer who does
    not know CPP - only C - so i think whenever i see -> or : or :: my...
  17. Replies
    51
    Views
    2,248

    Sticky: Teensyduino 1.52 problem w ADC backward compat ?

    the code below is a small excerpt from a program that compiled fine under 1.48 but not under 1.52
    i am hoping i am doing something wrong and that it is not a problem with backward compat because...
  18. Replies
    30
    Views
    1,593

    T4 snooze data including hibernate

    ---rtc--deepsleep= 9.8 ma---sleep=19.6 ma
    --lptmr-deepsleep=14.4 ma---sleep=24.3 ma

    hibernate with all references to timers and timer drivers turned off is 11.8 ma
    if i use code that was...
  19. Replies
    30
    Views
    1,593

    Is that to say that hib only wakes with a reset...

    Is that to say that hib only wakes with a reset and not any timers? I can measure the hib current.
    Good luck w home automation.
  20. Replies
    30
    Views
    1,593

    T4.0 deep sleep / sleep more data

    here is more data for T4 sleep all done w 5.0 volts, TD 1.52, ARD 1.8.5, WIN7pro64, TEENSY 4.0,
    currents are during snooze, currents seem independent of clock speed

    ---rtc--deepsleep= 9.8...
  21. Replies
    30
    Views
    1,593

    T4 deep sleep and sleep resolved

    thank you defragster - used sleep and found the real problem was mine.

    Both (sytem idle) sleep and deepsleep work just fine with just +5 and ground.

    I get the dumb*** of the day award - the usb...
  22. Replies
    30
    Views
    1,593

    T4 deep sleep problem ? limitation ? under td 1.52

    just installed td 1.52 over 1.48. had to delete the "utilities" folder in snooze lib when compiler said cannot use src and utility folder both - utility folder was i guess
    a leftover from 1.48 which...
  23. Replies
    51
    Views
    2,248

    Sticky: Frank B - I am chomping at the bit to play with...

    Frank B - I am chomping at the bit to play with Duff's snooze lib included in 1.52 for Teensy 4. Do you think that the
    serial monitor is so broken that someone with only medium Teensy experience...
  24. Replies
    18
    Views
    873

    XFer has a oood point - there is a lot to like...

    XFer has a oood point - there is a lot to like with TeensyLC. I like the really low hibernate current - 11-12 ua compared to T35 at 53ua and T36 60 ua.
    Also, I have found that TeensyLC can get quite...
  25. i have had good luck in the past using "surf...

    i have had good luck in the past using "surf boards" that i get from digikey. i usually trim them to remove UN-needed space.
    use very small tip 20 watt iron, pre-tin the board and the part legs, and...
  26. very good idea - could even be extended to two...

    very good idea - could even be extended to two break lines - like maybe dacs closest to cpu and 5v tolerance parts
    out on the end so that if you wanted dacs but didn't need 5v tolerance you use the...
  27. or even a diode so that the voltage is

    or even a diode so that the voltage is <6 new cells and drop is semi constant with current
    either junction for 0.5-0.6 or barrier for 0.3-0.5 volt drop
  28. did some tests three years ago - temp are ir spot...

    did some tests three years ago - temp are ir spot meter looking at top center of cpu while air around board is slowly heated

    at 240 mhz current was 92 ma and ok until top of chip 90 deg c
    at 256...
  29. i don't think he is speaking of the 1170, but...

    i don't think he is speaking of the 1170, but rather a bigger T4 with 1062 mpu

    nice to know 1170 has an internal dac
  30. if there is room i would vote for single or dual...

    if there is room i would vote for single or dual dac similar in performance to tlc/t3.5/t3.6
  31. Replies
    30
    Views
    1,593

    when you say this just after my post it makes me...

    when you say this just after my post it makes me feel guilty!
  32. one or more dac rather than none comes in handy...

    one or more dac rather than none comes in handy for creating pseudo sin waves for modulating a radio. will work over a wide frequency range and
    compared to square waves requires far less external...
  33. Replies
    30
    Views
    1,593

    your Snooze library is fantastic! it will...

    your Snooze library is fantastic!

    it will certainly be welcome when it happens for Teensy4. i have been compiling and running on Teensy4 for 3 weeks now and have become at least a little
    familiar...
  34. Replies
    4,367
    Views
    531,372

    your voltages look very much like what worked...

    your voltages look very much like what worked here - my final ver tested like this:

    720 75 mv lower than std, 2% reduction in current, about 2.0:1 longer life
    816 100 mv lower than std, ...
  35. Replies
    4,367
    Views
    531,372

    vcore vs overclock vs life

    am i putting this in the right place?

    just some food for thought... in attempting to fit the data in NXP app note AN12170,
    to an equation, it seems that when warm, T4 mcu life is on average in...
  36. Replies
    10
    Views
    1,375

    i'm sure you know this already, but V0 will not...

    i'm sure you know this already, but V0 will not compile some adc code if target is Teensy LC
    (and i suspect same for Teensy 3.6) altho just fine w Teensy4 (see my earlier post this thread
    re how...
  37. Replies
    31
    Views
    1,549

    thank you for looking on and off - as i said in a...

    thank you for looking on and off - as i said in a previous post - almost of the library code is way above my pay grade.

    the work arounds we have found are good enuf for relatively slow work like...
  38. Replies
    31
    Views
    1,549

    there is a place early in the code where it...

    there is a place early in the code where it watches for a change on the pin - loop label is wtchg or something like that - did not do a timeout on elapsed millis because the radio messages are
    often...
  39. Replies
    31
    Views
    1,549

    in thread "Teensy 4 FreqCount compile error" one...

    in thread "Teensy 4 FreqCount compile error" one of the posts has a github link
    you only have to do minor editing to 2 files in the lib and then T4 under 1.48
    will compile FreqCount functions
  40. Replies
    31
    Views
    1,549

    i got in too big a hurry doing editing of post...

    i got in too big a hurry doing editing of post #25 this thread - did some "harmless" editing that i posted and did not compile it (sloppy sloppy)

    of the two pgms in post 25 the first pgm (does not...
  41. Replies
    6
    Views
    514

    i agree, however, i have glanced thru the library...

    i agree, however, i have glanced thru the library files and can only say - way above my pay grade.

    i think you or some other professional programmer will have to tackle that.
  42. Replies
    31
    Views
    1,549

    these are the codes i am testing with lately ...

    these are the codes i am testing with lately

    after you tie the two input pins together per the comments near top of code, apply sq wave 0-3.3 or 0.1-2.8 v fin there
    t4 10k series each pin then...
  43. Replies
    31
    Views
    1,549

    here is an update to post #20 this thread: ...

    here is an update to post #20 this thread:

    caught TLC w first two FreqMeas measurements that did not match once in a blue moon so:

    TLC 48 mhz smallest 40 microsec delay after last ..begin ...
  44. Replies
    6
    Views
    514

    confused

    i am confused by post 2 and 3 - the whole reason i created "FreqCount caution" was to call attention to the FreqCount funny
    whereas post 2 and 3 focus on FreqMmeas which maybe belong under "teensy4...
  45. Replies
    6
    Views
    514

    FreqCount caution

    after running several hundred cold starts the 100% safe thing to do is on FreqMeas, delay for 40 microsec just after ...begin AND do two dummy cycles before real measurements,
    this only costs about...
  46. Replies
    31
    Views
    1,549

    after running several hundred cold starts the...

    after running several hundred cold starts the 100% safe thing to do is on FreqMeas, delay for 40 microsec just after ...begin AND do two dummy cycles before real measurements,
    this only costs about...
  47. Replies
    31
    Views
    1,549

    it took me so long to get back to the bench that...

    it took me so long to get back to the bench that you had already run and improved the code you had posted in post #13.
    but my results with it were first one or two samples in error then all ok and...
  48. Replies
    31
    Views
    1,549

    here is a piece of t4 code that shows the fmeas...

    here is a piece of t4 code that shows the fmeas problem i am seeing,
    and seems to at least isolate the nature of the problem. and turns out
    tlc does it too - in my old application it was...
  49. Replies
    31
    Views
    1,549

    the number returned has terrible wander - ie not...

    the number returned has terrible wander - ie not repeatable - as if the timer is not getting reset each time or is not synchronized

    that output is listed in the orig report

    a couple of posts...
  50. Replies
    31
    Views
    1,549

    manitou, thank you for the feedback ...

    manitou,

    thank you for the feedback

    defragster,

    thank you for the feedback

    i ran the code you were nice enuf to post w 22 and 23 tied together - ran fine very near 800.0 every time
Results 1 to 50 of 74
Page 1 of 2 1 2