- Category:
- SCM
- Tags:
-
[C/C++]
[源码]
- File Size:
- 56kb
- Update:
- 2012-11-26
- Downloads:
- 0 Times
- Uploaded by:
- c05liuj
Description: PSoC code sample: Precision Frequency Meter.
A high precision frequency meter. Using the hourly time signal broadcast over the public radio station, the local reference oscillator is accurately calibrated. The local frequency reference oscillator is contained in a temperature controlled housing. The meter also operates as a accurate clock synchronised to the national standard.
Development Environment:
This source code includes the PSoC design files as well as the source code.
It has been developed using PSoC designer (Version 4.1)
Port allocations:
p0.0 Ain Audio input (to PGA)
p0.1 Ain CompHigh & CompLow input (freq measure mode)
p0.2 Aout Vref (vcc/2) out
p0.3 Aout CompLow out
p0.4 Aout Amplified audio out
p0.5 Aout CompHigh out
p0.6 Dout Heater out
p0.7 Ain CompHigh & CompLow input (audio mode)- connect to p0.4
p1.0 Din Input to freq divider. Connect to CompHigh out (p0.5)
p1.1 Din Te
File list (Check if you may need any files):
freqmeter
.........\FreqMeter
.........\.........\FreqMeter
.........\.........\.........\backup
.........\.........\.........\......\boot.tpl
.........\.........\.........\boot.tpl
.........\.........\.........\BuildMsg.txt
.........\.........\.........\CrystalOven.c
.........\.........\.........\CrystalOven.h
.........\.........\.........\DebugPort.c
.........\.........\.........\DebugPort.h
.........\.........\.........\flashsecurity.txt
.........\.........\.........\FreqMeasure.c
.........\.........\.........\FreqMeasure.h
.........\.........\.........\FreqMeter.SOC
.........\.........\.........\FreqMeter.WNP
.........\.........\.........\lib
.........\.........\.........\...\ClockTimerINT.asm
.........\.........\.........\...\InputDividerINT.asm
.........\.........\.........\...\placeholder.txt
.........\.........\.........\...\TempCyclesINT.asm
.........\.........\.........\...\TempHighINT.asm
.........\.........\.........\...\TempLowINT.asm
.........\.........\.........\main.c
.........\.........\.........\mkdep
.........\.........\.........\project.dep
.........\.........\.........\project.mk
.........\.........\.........\PSoCConfig.xml
.........\.........\.........\readme.txt
.........\.........\.........\TimeSync.c
.........\.........\.........\TimeSync.h
.........\.........\.........\Timing.c
.........\.........\.........\Timing.h
.........\.........\.........\uint64_maths.c
.........\.........\.........\uint64_maths.h
.........\.........\FreqMeter.app
.........\.........\FreqMeter.cmx
.........\.........\FreqMeter.pep
.........\.........\Templates
.........\.........\VarOffset.xml