I understand your frustration, but don't give up yet. Your teacher has it working so it is not impossible.
New question, you say you need 2uSec percision, but then you talk about using an 8uSec time base. this will not be able to provide 2uSec percision. So is the 8uSec ok?
lets look at some math for a minute. you have a 10Mhz clock, so thats 2.5MIPS. each instruction will take .4uSec, so for 8uSec time base, you have 20 inscrutions worth of time to decide what to do.
If you don't want to give up, lets keep working on this.




Bookmarks