Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • MattH's Avatar
    03-11-2019, 04:26 PM
    Crystal clear, thanks ! As for a separate power rail for digital and analog, do you think it is worth it if I am using force sensitive resistors (hence low frequency) for my analog application ? I am not sure how I...
    3 replies | 90 view(s)
  • MattH's Avatar
    03-11-2019, 01:39 PM
    Hello, I am looking at voltage regulators for a different project and I was trying to understand what exactly was AGND on my Teensy. Looking at the schematics it seems that there is only one power line and AGND is...
    3 replies | 90 view(s)
  • MattH's Avatar
    02-22-2019, 12:10 PM
    I also tested the FreeMemory function which I included in a separate library to save some space in my code. It's very neat and seems to work (I got 60596 free RAM in an empty sketch and 59824 when I run my project, so I...
    13 replies | 267 view(s)
  • MattH's Avatar
    02-22-2019, 08:10 AM
    good point. I printed the end result (data) and I also sprinkled FreeRAM() throughout the code (I realised that dynamic memory usage was... dynamic). I ended up with a minimum free RAM of 59883 that is to say 716...
    13 replies | 267 view(s)
  • MattH's Avatar
    02-21-2019, 03:48 PM
    Hey Jacob, That's much better, but it's weird that CPU usage is higher @96MHz than 72... I whole thing twice (i.e. changing the clock speed up and down) and got exactly the same values. empty: 96MHz -> 0.8 %...
    13 replies | 267 view(s)
  • MattH's Avatar
    02-21-2019, 07:58 AM
    **cpuload Empty : 96MHz -> 22.1% 72MHz -> 29.2% 48MHz -> 43.5% 24MHz -> 85.7% Project : 96MHz -> 38.4%
    13 replies | 267 view(s)
  • MattH's Avatar
    02-19-2019, 08:58 PM
    Thanks Jacob, Stupid question: where do I insert my code ? Where "// do other useful stuff...." is or in the wastesometime method ? Obviously I need to add all the relevant stuff in the setup too. Cheers !
    13 replies | 267 view(s)
  • MattH's Avatar
    02-19-2019, 01:06 PM
    Hello, I was trying to see how much resources my small project was taking using this sketch: https://forum.pjrc.com/threads/31664-measure-your-teensy-3-x-cpu-and-ram-usage! I found another one here...
    13 replies | 267 view(s)
  • MattH's Avatar
    02-16-2019, 01:15 PM
    You could try with d=random(min, max) instead of 0 (I let you decide which min and max are best), so that the MCU has to do the math every single time in your infinite loop.
    4 replies | 96 view(s)
  • MattH's Avatar
    02-08-2019, 06:38 AM
    You're all making very good points. My project is rather simple. I did not make an extensive use of Teensy's libraries except for I2C and BLE which can be found for the vast majority of chips. I am definitely aware...
    10 replies | 258 view(s)
  • MattH's Avatar
    02-07-2019, 02:48 PM
    Spot on ! I owe you the success of my POC prototype Paul. Thanks a million !
    10 replies | 258 view(s)
  • MattH's Avatar
    02-07-2019, 07:58 AM
    Very interesting article thanks GW ! Again I won't be the one doing it but I want to know the general principle of MCU firmware development and what sort of skillset I should be looking for. As I expected development...
    10 replies | 258 view(s)
  • MattH's Avatar
    02-06-2019, 07:28 PM
    Too bad, I was about to go for another MCU, a low power one such as the STM32 ;) Regardless, my question was more of a general one. What do you have to do programming-wise when you buy a chip directly from the...
    10 replies | 258 view(s)
  • MattH's Avatar
    02-06-2019, 06:28 PM
    Hi all, I have made a successful proof-of-concept prototype based on a Teensy3.2 (thanks Paul BTW). Now I would like to turn that into a pre-industrial minimum viable product. It is extremely likely that I am going...
    10 replies | 258 view(s)
  • MattH's Avatar
    02-06-2019, 06:15 PM
    Is there a way to read the state of an input (i.e. enabled/disabled ?)
    6 replies | 117 view(s)
  • MattH's Avatar
    02-06-2019, 06:14 PM
    Good point, I should have mentioned that I was using a Teensy 3.2 It makes sense then if I was actually enabling the pins... What about Serial.end, is it worth it ? Any other tip to save juice ? Cheers
    6 replies | 117 view(s)
  • MattH's Avatar
    02-06-2019, 03:55 PM
    Hello, I was trying to reduce power consumption following the advice given here : https://www.pjrc.com/teensy/low_power.html so I implemented this : if (LOW_POWER_MODE) { Serial.end(); for (int i=0;...
    6 replies | 117 view(s)
No More Results
About MattH

Basic Information

Statistics


Total Posts
Total Posts
36
Posts Per Day
0.11
Last Post
what makes AGND "analog" ? 03-11-2019 04:26 PM
General Information
Last Activity
03-19-2019 04:33 PM
Join Date
04-20-2018