카이스트 전자공학실험2 실험6 A/D and D/A converter for digital filter 결과보고서
- 최초 등록일
- 2011.11.06
- 최종 저작일
- 2008.11
- 14페이지/ 한컴오피스
- 가격 2,500원
소개글
카이스트 전자공학실험2 실험6 결과보고서 입니다.
목차
5. Experimental procedure
1) A/D Converting
2) Simple FIR filter experiment
6. Reference
7. 고찰
본문내용
5. Experimental procedure
1) A/D Converting
(1) Decide the waiting time after A/D converting command.
As explained previously, you should read value of A/D converting after some fixed time, when you put A/D converting start command. Find appropriate waiting time.
▷ A/D converting이 마칠 때까지는 일정 시간의 지연이 필요하다. 이 값은 delay() 함수를 생성하여 측정할 수 있다. 생성한 delay()함수를 이용하여 안정적으로 A/D 컨버터가 동작하는 최소의 시간, 즉 waiting time을 찾는다.
▷ A/D 컨버터의 변환 시간은 100㎲이다.(data sheet 참조) 여기에 A/D 컨버터의 동작을 수행하는데 사용되는 control signal들로 인하여 A/D 컨버터의 waiting time은 100㎲보다 커진다.(waiting time = ADC conversion time + interrupt execution time)
ADC0804는 CS, WR, RD, INTR의 입력과 출력을 지원한다. CS=0이면 ADC0804는 동작을 시작한다. CS=0이 된 후 WR이 0이 될 경우 변환을 수행하고 변환이 완료되면 INTR=0이 되고 RD가 0일 경우 변환 값을 출력 한다.
(2) Implement waiting time.
Then, decide how to wait some fixed time. As explained previously, you can use timer interrupt or finite loop. When you wait some fixed time using Finite loop, observe delayed time through finite loop by using oscilloscope and confirm that waiting time is accurate.
참고 자료
8051 User’s manual
DAC0804 manual
ADC0804 manual
COMPACT51 실험보드 회로도
8051 & C Programming, 문왕환, 도서출판 세화
cmpt51.h 헤더파일
KEIL uVisionIII manual (HELP)