• Welcome to Rotar E@rth!
  • Feel free to look around and comment~
  • Tin - for a better fantasy life!
  • TinTimer - for an even better fantasy life!

Digital system lab session, struggled to make the program to run correctly

Study Rotar 461 Views 0 Comment

The objective of the program is to generate a 10MHz square wave at P0.3 on an LPC2119 board. Our lecturer Bryan helped me to check the code but everything seems to be correct except for the result.
Here’s the c code:

As a result, the LED was on but there’s no wave coming from P0.3. Bryan told me that in terms of getting full mark in the test, this program will just work because nothing’s wrong. However, another group of student managed to generate the wave using timer1. So it must be that we’ve missed something very silly


Like (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址