LPCXpresso54102
-
Cores
Cortex-M0+
Cortex-M4
-
Device
LPC54102J512
-
CMSIS Pack
LPCXpresso54102_BSP
-
lpc_usart_interrupt_transfer
µVision AC5The uart_interrupt example shows how to use uart driver in interrupt way:In this example, one uart instance connect to PC through uart, the board willsend back all characters that PC send to the board.Note: The example echo every 8 characters, so input 8 characters every time.
Download Pack -
lpc_usart_polling
µVision AC5The uart_polling example shows how to use uart driver in polling way:In this example, one uart instance connect to PC through uart, the board will send back all characters that PCsend to the board.
Download Pack -
lpc_usart_sync_transfer_master
µVision AC5The usart synchronous transfer example shows how to use usart driver in synchronous way.
Download Pack -
lpc_usart_sync_transfer_slave
µVision AC5The usart synchronous transfer example shows how to use usart driver in synchronous way.
Download Pack -
mailbox_interrupt_cm0plus
µVision AC5The mailbox_interrupt example shows how to use mailbox to exchange message.In this example:The core 0(CM4) writes value to mailbox for Core 1(CM0+), it causes mailbox interrupton CM0+ side. CM0+ reads value from mailbox increments and writes it to mailbox registerfor CM4, it causes mailbox interrupt on CM4 side. CM4 reads value from mailbox incrementsand writes it to mailbox register for CM0 again.
Download Pack -
mailbox_interrupt_cm4
µVision AC5The mailbox_interrupt example shows how to use mailbox to exchange message.In this example:The core 0(CM4) writes value to mailbox for Core 1(CM0+), it causes mailbox interrupton CM0+ side. CM0+ reads value from mailbox increments and writes it to mailbox registerfor CM4, it causes mailbox interrupt on CM4 side. CM4 reads value from mailbox incrementsand writes it to mailbox register for CM0 again.
Download Pack -
mailbox_mutex_cm0plus
µVision AC5The mailbox_mutex example shows how to use mailbox mutex.In this example:The core 0 sends address of shared variable to core 1 by mailbox.Both cores trying to get mutex in while loop, after that updates shared variableand sets mutex, to allow access other core to shared variable.
Download Pack -
mailbox_mutex_cm4
µVision AC5The mailbox_mutex example shows how to use mailbox mutex.In this example:The core 0 sends address of shared variable to core 1 by mailbox.Both cores trying to get mutex in while loop, after that updates shared variableand sets mutex, to allow access other core to shared variable.
Download Pack -
mrt_example
µVision AC5The 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 -
pint_pattern_match
µVision AC5This example shows how to use SDK drivers to use the Pin interrupt & pattern match peripheral.
Download Pack