MCU measurement project #306
Replies: 2 comments 8 replies
-
See the code I posted in your other thread - it's almost there for some (but not all) of the things on your list. One of the key points for processing is output one chip per line, with a comma and no space between each datapoint. Copy paste it it of HTerm, regex away the CRLF sequences, save as CSV, open in excel and graph to your hearts discontent. I have basically been stunned by how good the internal oscillators are on the new parts. Virtually no voltage depenmdance and very little temperature dependance |
Beta Was this translation helpful? Give feedback.
-
The jtag2updi sketch under File -> Examples "works for me" using a clone Nano with a Mega328p on board. That nano lives on a breadboard and is my backup plan if I get frustrated with pymcuprog / serialupdi. Check out the NAU7802 ADC... it's not very fast but it has a lot of features and comes in very hand-solder friendly SO14 package, or even DIP for that old school vibe, plus it is SUPER cheap. |
Beta Was this translation helpful? Give feedback.
-
I’m thinking about doing a calibration and data collection project against 10-50 samples for some subset of the following MCUs:
Avr32dd14
Attiny1614
Attiny3224
Avr64db32
Avr64dd32
Avr128db32
Attiny412
This will involve building a test board that has some programming sockets on it that connects some external reference hardware to the dut (device under test). Still in the brainstorm phase but since doing this is going to be a lot of manual work (putting chips in and out of the test sockets) I thought I would post the concept here and see what ideas others have for interesting measurements and importantly whether any of those ideas require additional hardware on the test board.
The current list of things I intend to measure are:
Serial#
Clock frequency error
Calibration step size
Best clkcal value
ADC reading of a precision voltage reference + a few divided down voltages against each internal reference
Test temperature via precision sensor
MCU temperature via internal measurement
(Temperatures are a control, the intent is to hold them as constant as I can without adding steps)
Things I am considering measuring are:
DAC output, unloaded
DAC output, loaded
BOD accuracy
VLM accuracy
Power consumption (over what workload?)
All of the above at 3.3v and 2.8v
All of the above across a wider range of voltages
This implies the following hardware on the test board:
Precision voltage reference
Divided voltage refeerence
GPS derived time reference
Temperature sensor
ADC if testing DAC accuracy
Control MCU + SD card
Either a pair of regulators with enable inputs or a more complex variable supply
I’ll store some subset of the data in the user row and/or EEPROM and full data in either JSON or CSV on a SD card. Going forward I intend to drop MCUs into this test rig before soldering them down to continue collecting data (and have calibration parameters).
Open questions:
Beta Was this translation helpful? Give feedback.
All reactions