Hi,
I am really new to ARM development with RL-ARM.
I wonder where can I get examples of how to work with UART and SPI ports with interrupt using RL-ARM. I am working on a prototype that uses Cortex-M3 ARM with RL-ARM.
Thank you very much. Chee-Beng
How about kick-starting by looking at all the sample code you can find for using the UART. Huge amounts of information are available.
Have you spent any time looking at existing sample code yet? Scanned for Keil code? Scanned for code from the chip manufacturer? Scanned for code for other chips using same or similar peripherial hardware?
You haven't said what specific chip you're using, but (almost?) every chip manufacturer these days provides bundles of support libraries, examples, etc, etc - especially Cortex-M3 manufacturers, where the competition is so hot...
There's also plenty of reading matter here: http://www.keil.com/books
Thank you very much for all your helps. I am working on some examples that comes with the tools.
For your information, I am using STM32F103VB Cortex-M3 chip.
As previously noted, the Cortex-M3 is currently "hot" - as is the competition among vendors.
They are falling over themselves to get you using their product.
eg, www.arm.com/.../avnet-and-arm-launch-global-design-strategies-for-arm-systems-technical-seminars.php
I suggest that you look out for events near you!
See also: http://www.keil.com/events/
"I am using STM32F103VB Cortex-M3 chip"
ST provide a whole load of examples with their "Firmware Library"; there is a set of examples for each peripheral - including UART and SPI.
One thing to beware of: the version of ST Firmware Library shipped with your Keil installation may not be the latest. ST changed the structure of the Library quite significantly, so you can't just take examples off the ST site (intended for the "new" library) and have them "just work" in a Keil installation with the "old" library...