Consider a microcontroller (atmega328 family)-based system design that has

Consider a microcontroller (atmega328 family)-based system design that has the following topology (input-process-output). The system may come from your existing project, or you may propose a new one. Discuss the followings:
1.       Input Interface: A sensor-microcontroller interface (either ADC, digital pulse, serial I2C, SPI, etc).
Show the connection involved.
Explain how the microprocessor receives data from the sensor (highlight the microcontroller internal module involved).
Discuss the sampling rate involved, what is the current value and the maximum limit the microcontroller can handle. Highlight any other constraints.
Provide codes related to this Input Interface (Initializations, registers involved, operation/function involve)
What is the time taken (total number of clock cycle)  to complete this process (the process of getting input data)
2.       Data processing: Briefly describe what happens to the data (what are the operations involve).
Provide codes related to this process (Initializations, registers involved, operation/function, library).
What is the time taken (total number of clock cycle) to complete data processing? How long does the microprocessor take to complete the operations before the result can be displayed or output from the microcontroller.
Suggest how data processing can be improved?
3.       Output Interface: Microcontroller-output (serial, LCD, 7 segment)
Show the connections involved.
Explain how the results or the processed data is channeled to the output (what is the microcontroller internal module involved in this process)
Discuss the output data rate, what is the current data rate and maximum data rate the microcontroller can handle. Highlight any constrains.
Provide codes related to this Input Interface (Initializations, registers involved, operation/function involve)
What is the time taken (total number of clock cycle)  to complete this process (the process of completing on cycle of output data)
Use modern tool (Microchip/Atmel studio to compile the above program. Use this tool to obtain timing information ask above.
Now let’s simulate using SIMULIDE: Show the complete circuits in SIMULIDE. Load the hex file (generated from the compiler) and run simulation.
How the program can be improved (give individual suggestion, at least one method, use your own words)?

answer:

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值