We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all I'm using an arm 7 series microcontroller(AT91SAM7S256) for my experiment. I'm going to calculate running time of my code, but I cannot use SWI related functions(like time()), so I'm interested in using microcontroller's internal timer for calculating running time. Is there anybody who could help me for this problem?
Regards
To be accurate all of them... :P I'm new in keil(and in ARM architecture), and I don't know how I can use microcontroller's timer.
In that case, you need to start by getting to know the tools. To that end, study the following:
http://www.keil.com/support/man/docs/gsac/
http://www.keil.com/support/man/docs/uv4/uv4_ex_hello.htm
http://www.keil.com/support/man/docs/uv4/uv4_examples.htm
Note that there are tutorial examples for you to work through - don't just read them!
"and in ARM architecture"
See, for example: http://www.keil.com/books/ There is plenty of tutorial material about the ARM architectures all over the internet - including, of course, ARM's own site: http://www.arm.com/
Also look out for seminars, etc, from local distributors; eg, 't know how I can use microcontroller's timer."
That has nothing to do with Keil; for specific details about a particular chip, you need to consult its Datasheet and other supporting information from its manufacturer.
The manufacturer's website will have examples, application notes, etc.
Keil also provide many examples here: http://www.keil.com/download/