Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • analog&RFmodels's Avatar
    Yesterday, 11:21 PM
    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 coin battery, and if...
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    Yesterday, 06:17 PM
    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 against the lptmr...
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    Yesterday, 07:33 AM
    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 figure out how to read...
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    Yesterday, 04:00 AM
    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 no hang time slice...
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    Yesterday, 02:02 AM
    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 - if not at least...
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    Yesterday, 12:14 AM
    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.
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    06-04-2020, 11:48 PM
    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 code knowing that...
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    06-04-2020, 10:31 PM
    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 is and do that task...
    19 replies | 132 view(s)
  • analog&RFmodels's Avatar
    06-02-2020, 05:22 AM
    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 interval timer - the fix...
    0 replies | 25 view(s)
  • analog&RFmodels's Avatar
    05-31-2020, 11:35 PM
    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 as 11-14 ua but that...
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-31-2020, 09:43 PM
    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 you assume that on...
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-31-2020, 06:09 PM
    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 is 220 ua. if you...
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-30-2020, 07:17 AM
    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 again to T36 and T4...
    51 replies | 2248 view(s)
  • analog&RFmodels's Avatar
    05-30-2020, 12:30 AM
    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 "raise an issue...
    51 replies | 2248 view(s)
  • analog&RFmodels's Avatar
    05-29-2020, 10:38 PM
    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 code that does fft...
    51 replies | 2248 view(s)
  • analog&RFmodels's Avatar
    05-29-2020, 07:59 PM
    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 brain goes into a very...
    51 replies | 2248 view(s)
  • analog&RFmodels's Avatar
    05-29-2020, 06:40 PM
    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 there is a lot of...
    51 replies | 2248 view(s)
  • analog&RFmodels's Avatar
    05-28-2020, 06:15 PM
    ---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 deepsleep waking from rtc...
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-28-2020, 05:43 PM
    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.
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-28-2020, 06:28 AM
    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 ma---sleep=19.6 ma...
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-28-2020, 02:49 AM
    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 to bench supply...
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-27-2020, 11:13 PM
    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 did not get removed...
    30 replies | 1593 view(s)
  • analog&RFmodels's Avatar
    05-27-2020, 06:33 AM
    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 (2.5 year) and medium...
    51 replies | 2248 view(s)
  • analog&RFmodels's Avatar
    05-27-2020, 05:59 AM
    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 a bit done for $12...
    18 replies | 873 view(s)
No More Results
About analog&RFmodels

Basic Information

About analog&RFmodels
Biography:
long time desert dweller
Location:
southwest USA
Interests:
weight lifter
Occupation:
analog circuit designer and Spice model builder

Statistics


Total Posts
Total Posts
74
Posts Per Day
0.25
Last Post
please help w code to NOT initialize variables Yesterday 11:21 PM
General Information
Last Activity
Yesterday 11:30 PM
Join Date
08-16-2019