MCUXpresso_LPC804/boards/lpcxpresso804/driver_examples/bod
Yilin Sun 991051a00a
Updated to SDK v2.14
Signed-off-by: Yilin Sun <imi415@imi.moe>
2023-08-05 13:53:57 +08:00
..
armgcc Updated to SDK v2.14 2023-08-05 13:53:57 +08:00
board.c Initial commit v2.13.0 2023-05-25 15:51:41 +08:00
board.h Initial commit v2.13.0 2023-05-25 15:51:41 +08:00
bod.c Initial commit v2.13.0 2023-05-25 15:51:41 +08:00
clock_config.c Initial commit v2.13.0 2023-05-25 15:51:41 +08:00
clock_config.h Initial commit v2.13.0 2023-05-25 15:51:41 +08:00
lpc_bod_v3_13.xml Updated to SDK v2.14 2023-08-05 13:53:57 +08:00
pin_mux.c Initial commit v2.13.0 2023-05-25 15:51:41 +08:00
pin_mux.h Initial commit v2.13.0 2023-05-25 15:51:41 +08:00
readme.txt Initial commit v2.13.0 2023-05-25 15:51:41 +08:00

## Toolchain supported
---------------------
- IAR embedded Workbench 8.50.5
- Keil MDK 5.31
- GCC ARM Embedded  9.2.1
- MCUXpresso 11.2.0

## Hardware Requirements
------------------------
- Mini/micro USB cable
- LPCXpresso804 board
- Personal Computer

## Board Settings
------------------------
Remove jumpers for JP7 and JP8, connect adjustable input voltage to JP8-2.

## Run the Demo
------------------------
1. Connect a micro USB cable between the PC host and the CMSIS DAP port(CN2 on the board).

2. Open a serial terminal with the following settings:
   - 9600 baud rate
   - 8 data bits
   - No parity
   - One stop bit
   - No flow control

3. Choose an IDE, building the project and download the program to the target board.
   More information about how to compile and program the project can refer to the 

   [Getting Started with MCUXpresso SDK](../../../../docs/Getting Started with MCUXpresso SDK.pdf).

4. Launch the debugger in your IDE to begin running the demo.

## Expected Result
------------------------
The log below shows the output of the BOD demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BOD INTERRUPT EXAMPLE.
Please adjust input voltage low than 2.24V to trigger BOD interrupt.

BOD interrupt occurred, input voltage is low than 2.24V.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~