interi 发表于 2010-6-28 00:24:18

用状态机实现对A/D转换器ADC0809的采样控制电路

本帖最后由 fpgaw 于 2010-11-18 16:07 编辑

老师给我留了一道题,实在是不会啊,求助高手帮忙,题目如下:
用状态机实现对A/D转换器ADC0809的采样控制电路。
在控制A/D进行采样的周期中,必须完成的操作是:①初始化;②启动采样;③等待转换;④发出读数命令;⑤把经转换好的数据从ADC0809中读出;⑥将此数存入外部RAM存储器中;⑦外部RAM存储器地址加1,此后再进行第2次采样周期的控制。

inter 发表于 2010-6-28 00:35:20

一般的单片机教程都有ADC0809的事例,

CHANG 发表于 2010-6-28 01:08:26

画出状态转移图, 很快就写出来了~~~

HANG 发表于 2010-6-28 02:17:18

In fact,it is not&nbsp;&nbsp;so difficult as you think.<br>
First, you must know the inputs and outputs you need. Secondly, you must know the states you will use, which the teacher had already gave you (seven or more).Then choose&nbsp;&nbsp;FSM mode (Mealy or Moore) and decide how to effectively program with Verilog or VHDL.<br>
Just so so, but the most important thing you should do is to try and try again, confidently and courageously, through which you will learn as more and more as you want and the teacher hope.

usd 发表于 2010-6-28 03:31:01

谢谢您对我的启发!
页: [1]
查看完整版本: 用状态机实现对A/D转换器ADC0809的采样控制电路