
Chapter 2
Hardware settings
This chapter describes how to set up the hardware of the evaulation board. The MCU peripherals' setup is described later on.
The IEC60730B library example for the LPC CM0 family supports the following development boards:
• LPCxpresso51U68
• LPCxpresso845Max
• LPCxpresso824Max
To run the IEC60730B example application, it is neccessary to make some hardware settings. For the default configuration of your
development board, see the corresponding board's user manual at
.
2.1 LPCXpresso824MAX
Debugger:
To use the on-board debugger, make sure that jumper JP1 (next to the USB connector) is open. Short this jumper to use an
external debug connector.
The default debugger in the example project is set to CMSIS-DAP.
FreeMASTER
FreeMASTER communication is used via an onboard debugger with a speed of 9600 bd.
The ADC module on LPCXpresso824MAX does not allow to connect the VrefH, VrefL, and Bandgap internally to the ADC input.
Connect these signals (for the Analog I/O test) as follows:
• VrefH - 3.3 V on PIO0_21(conn. J5-5).
• VrefL - GND on PIO0_20 (conn. J5-6).
• Bandgap - connect a custom reference (for example 1.65 V) to PIO0_22 (conn. J5-4). The expected value of the custom
bandgap can be set in the
safety_config.h
file (
#define ADC_BANDGAP_LEVEL 1.65
).
An example of the corresponding connection is shown in
NXP Semiconductors
LPC CM0 Safety Example , Rev. 3, 07/2021
User's Guide
4 / 28