LPCXpresso802
-
Core
Cortex-M0+
-
Device
LPC802M001JDH20 -
CMSIS Pack
LPCXpresso802_BSP
-
mrt_example
Keil Studio AC6, GCC, IARThe MRT project is a simple demonstration program of the SDK MRT driver. It sets up the MRThardware block to trigger a periodic interrupt after every 250 milliseconds. When the PIT interrupt is triggereda message a printed on the UART terminal and an LED is toggled on the board.
Download Pack -
new_project
Keil Studio AC6, GCC, IARThe new project is provided as starting point for user to add with customized flow.
Download Pack -
new_project
µVision AC6The new project is provided as starting point for user to add with customized flow.
Download Pack -
pint_pattern_match
Keil Studio, µVision AC6This example shows how to use SDK drivers to use the Pin interrupt & pattern match peripheral.
Download Pack -
pint_pattern_match
Keil Studio AC6, GCC, IARThis example shows how to use SDK drivers to use the Pin interrupt & pattern match peripheral.
Download Pack -
pint_pin_interrupt
Keil Studio, µVision AC6This example shows how to use SDK drivers to use the Pin interrupt & pattern match peripheral.
Download Pack -
pint_pin_interrupt
Keil Studio AC6, GCC, IARThis example shows how to use SDK drivers to use the Pin interrupt & pattern match peripheral.
Download Pack -
power_mode_switch_lpc
Keil Studio AC6, GCC, IARThe power_mode_switch application shows the usage of normal power mode control APIs for entering the three kinds oflow power mode: Sleep mode, Deep Sleep mode and Power Down mode, deep power down mode. When the application runs to each low powermode, the device would cut off the power for specific modules to save energy. The device can be also waken up by prepared wakeup source from external event. Tips: This demo is to show how the various power mode can switch to each other. However, in actual low power use case, to save energy and reduce the consumption even more, many things can be done including: - Disable the clock for unnecessary module during low power mode. That means, programmer can disable the clocks before entering the low power mode and re-enable them after exiting the low power mode when necessary. - Disable the function for unnecessary part of a module when other part would keep working in low power mode. At the most time, more powerful function means more power consumption. For example, disable the digital function for the unnecessary pin mux, and so on. - Set the proper pin state (direction and logic level) according to the actual application hardware. Otherwise, the pin cirrent would be activied unexpectedly waste some energy. - Other low power consideration based on the actual application hardware. - In order to meet typedef power consumption of DateSheet manual, Please configure MCU under the following conditions. 鈥? Configure all pins as GPIO with pull-up resistor disabled in the IOCON block. 鈥? Configure GPIO pins as outputs using the GPIO DIR register. 鈥?Write 1 to the GPIO CLR register to drive the outputs LOW. 鈥?All peripherals disabled.
Download Pack -
power_mode_switch_lpc
Keil Studio, µVision AC6The power_mode_switch application shows the usage of normal power mode control APIs for entering the three kinds oflow power mode: Sleep mode, Deep Sleep mode and Power Down mode, deep power down mode. When the application runs to each low powermode, the device would cut off the power for specific modules to save energy. The device can be also waken up by prepared wakeup source from external event. Tips: This demo is to show how the various power mode can switch to each other. However, in actual low power use case, to save energy and reduce the consumption even more, many things can be done including: - Disable the clock for unnecessary module during low power mode. That means, programmer can disable the clocks before entering the low power mode and re-enable them after exiting the low power mode when necessary. - Disable the function for unnecessary part of a module when other part would keep working in low power mode. At the most time, more powerful function means more power consumption. For example, disable the digital function for the unnecessary pin mux, and so on. - Set the proper pin state (direction and logic level) according to the actual application hardware. Otherwise, the pin cirrent would be activied unexpectedly waste some energy. - Other low power consideration based on the actual application hardware. - In order to meet typedef power consumption of DateSheet manual, Please configure MCU under the following conditions. 鈥? Configure all pins as GPIO with pull-up resistor disabled in the IOCON block. 鈥? Configure GPIO pins as outputs using the GPIO DIR register. 鈥?Write 1 to the GPIO CLR register to drive the outputs LOW. 鈥?All peripherals disabled.
Download Pack -
spi_interrupt_master
Keil Studio, µVision AC6The spi_interrupt_master example shows how to use spi functional API to do interrupt transfer as a master:In this example, the spi instance as master. Master sends a piece of data to slave, receive data from slave,and check if the data master received is correct. This example needs to work with spi_interrupt_slave example.
Download Pack