Keil 5 Create Project

For creating a project, select Project -> New µVision Project in menu.

2015-11-03_071655

Then, select the directory path for storage of project.

2015-11-03_071936

After choosing the project path, a window for selecting MCU model will popup.

2015-11-03_072219

Type in the model number that you’re using. If it don’t show the model you want, please double check you have install the device package in CMSIS pack installer.

2015-11-03_072411

The package icon show green that means the device package had been installed.

2015-11-03_073221

Start to learn M3 MCU

For the reference broad, I got Open1768 from WaveShare. It cost me around $90 USD. NXP LPC1768 is the core of this board.

LPC1768:

  • ARM Cortex-M3
  • Maximum clock frequency : 100Mhz
  • 64KB Ram
  • 512KB Flash memory

Open1768 BoardOpen1768 Board

It lead out all the pin which is convenience for user to access those function. It provide lot of interface, such as SPI, I2C, I2S, UART, PS2 and CAN. Also, it has GPIO, ADC and some of GPIO grouped to from a LCD interface. Although, the LCD interface is non-standard, it works quite good with LCD shield which WaveShare provided.

The crsytal on board is 12Mhz. With PLL on chips, this core clock can be set to the maximum of 100Mhz. The JTAG/SWD port is quite useful for debug.