Commit Graph

16 Commits

Author SHA1 Message Date
jim
af9b2b1ce4 Fake 10-bit mode, using random number lookup for low bits.
Untested.  Need to test 16-bit mode (current compilation) first
then go back to 10-bit.

git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@8027 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2009-11-04 00:19:44 +00:00
jim
8b3041faec Fixes
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7698 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2009-07-21 22:02:27 +00:00
jim
af0cc2dbfb misc fixes
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7689 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2009-07-21 06:34:53 +00:00
jim
3becc85976 git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7597 ddd99763-3ecb-0310-9145-efcb8ce7c51f 2009-07-08 22:15:24 +00:00
jim
45afdd15ba transfer again
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7596 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2009-07-08 21:21:25 +00:00
jim
15c0ce55c0 git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7587 ddd99763-3ecb-0310-9145-efcb8ce7c51f 2009-07-01 19:26:39 +00:00
jim
b4375aeab2 Tweak some build options, add -O1
Make PC output send 0x8000 if there was ever an ADC overflow or underflow.
(The ADC underflow check might be more strict than necessary).


git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7068 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2009-01-13 05:45:45 +00:00
jim
8977dea014 Include .lst files in output
Add dac_to_current scaling so we can set limits easily.
Change interrupt to do everything in terms of current.  Much simpler to understand, and is preferable if we can get away with using the cycles.


git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7067 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2009-01-13 05:11:00 +00:00
jim
19f41a087b Add degauss mode, scaling helpers, better handling of ADC result
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@7009 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2008-12-05 02:04:04 +00:00
jim
b95491274d Set up 128 KHz 12-bit ADC sampling with DMA, and send to UART at 0.5 Mbps.
Seems to work well.
Next step is to process ADC data at 128 KHz to determine DAC stepping,
and send DAC + ADC to PC at 8 KHz.




git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@5931 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2008-02-12 05:24:34 +00:00
jim
136fb77276 Start refactoring timer stuff for internal ADC
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@5928 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2008-02-12 02:58:54 +00:00
jim
d341d1ef6b calibration test
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@5806 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2008-01-23 04:29:07 +00:00
jim
bb5cfb8cac add dac/adc skeletons
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@5457 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2007-11-01 23:49:30 +00:00
jim
a1afdee08a Updates
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@5374 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2007-10-16 23:31:48 +00:00
jim
33fbeb4335 start adding uart stuff
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@5372 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2007-10-16 23:15:41 +00:00
jim
f8bf63ce92 initial import
git-svn-id: https://bucket.mit.edu/svn/nilm/zoom@5371 ddd99763-3ecb-0310-9145-efcb8ce7c51f
2007-10-16 22:43:26 +00:00