
392 EMBEDDED SYSTEMS
most microcontrollers, examples are timers/counters, serial ports, general purpose I/O,
etc. More advanced MCUs have I2C, SPI, RTC, PWM units and so on as internal
peripherals. MCUs with more advanced cores have peripherals such as LCD controllers,
CAN controllers, USB controllers, etc.
In this chapter, we will take a look at the internal block diagram and internal buses
of some ARM MCUs, study a few selected peripherals and write a few programs for
these peripherals.
All the programs presented in the chapter have been tested and verifi ed on the LPC
2148 MCU using the Keil RVDK.
ARM MCUs are manufactured by diff erent fi rms ...