341 lines
23 KiB
XML
341 lines
23 KiB
XML
<?xml version="1.0" encoding= "UTF-8" ?>
|
|
<configuration name="LPC54102J512" xsi:schemaLocation="http://mcuxpresso.nxp.com/XSD/mex_configuration_12 http://mcuxpresso.nxp.com/XSD/mex_configuration_12.xsd" uuid="1ea9ba79-e007-415b-b3ad-7f5dc302a761" version="12" xmlns="http://mcuxpresso.nxp.com/XSD/mex_configuration_12" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
<common>
|
|
<processor>LPC54102J512</processor>
|
|
<package>LPC54102J512BD64</package>
|
|
<mcu_data>ksdk2_0</mcu_data>
|
|
<cores selected="cm4">
|
|
<core name="Cortex-M0P" id="cm0plus" description=""/>
|
|
<core name="Cortex-M4F" id="cm4" description=""/>
|
|
</cores>
|
|
<description></description>
|
|
</common>
|
|
<preferences>
|
|
<validate_boot_init_only>true</validate_boot_init_only>
|
|
<generate_extended_information>false</generate_extended_information>
|
|
<generate_code_modified_registers_only>false</generate_code_modified_registers_only>
|
|
<update_include_paths>true</update_include_paths>
|
|
<generate_registers_defines>false</generate_registers_defines>
|
|
</preferences>
|
|
<tools>
|
|
<pins name="Pins" version="12.0" enabled="true" update_project_code="true">
|
|
<generated_project_files>
|
|
<file path="board/pin_mux.c" update_enabled="true"/>
|
|
<file path="board/pin_mux.h" update_enabled="true"/>
|
|
</generated_project_files>
|
|
<pins_profile>
|
|
<processor_version>12.0.0</processor_version>
|
|
<pin_labels>
|
|
<pin_label pin_num="28" pin_signal="PIO1_8/ADC_11/SPI1_MISO/CT32B1_MAT3/CT32B1_CAP3" label="LED_R" identifier="LED_R"/>
|
|
<pin_label pin_num="41" pin_signal="PIO0_7/U1_SCLK/SCT0_OUT0/CT32B0_MAT2/CT32B0_CAP2" label="BMM_DRDY" identifier="BMM_DRDY"/>
|
|
</pin_labels>
|
|
</pins_profile>
|
|
<functions_list>
|
|
<function name="BOARD_InitPins">
|
|
<description>Configures pin routing and optionally pin electrical features.</description>
|
|
<options>
|
|
<callFromInitBoot>true</callFromInitBoot>
|
|
<coreID>cm4</coreID>
|
|
<enableClock>true</enableClock>
|
|
</options>
|
|
<dependencies>
|
|
<dependency resourceType="Peripheral" resourceId="USART0" description="Peripheral USART0 is not initialized" problem_level="1" source="Pins:BOARD_InitPins">
|
|
<feature name="initialized" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="Peripheral" resourceId="I2C0" description="Peripheral I2C0 is not initialized" problem_level="1" source="Pins:BOARD_InitPins">
|
|
<feature name="initialized" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="Peripheral" resourceId="PINT" description="Peripheral PINT is not initialized" problem_level="1" source="Pins:BOARD_InitPins">
|
|
<feature name="initialized" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Pins initialization requires the COMMON Driver in the project." problem_level="2" source="Pins:BOARD_InitPins">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.lpc_gpio" description="Pins initialization requires the LPC_GPIO Driver in the project." problem_level="2" source="Pins:BOARD_InitPins">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.inputmux" description="Pins initialization requires the INPUTMUX Driver in the project." problem_level="2" source="Pins:BOARD_InitPins">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
</dependencies>
|
|
<pins>
|
|
<pin peripheral="USART0" signal="RXD" pin_num="31" pin_signal="PIO0_0/U0_RXD/SPI0_SSEL0/CT32B0_CAP0/SCT0_OUT3"/>
|
|
<pin peripheral="USART0" signal="TXD" pin_num="32" pin_signal="PIO0_1/U0_TXD/SPI0_SSEL1/CT32B0_CAP1/SCT0_OUT1"/>
|
|
<pin peripheral="I2C0" signal="SCL" pin_num="1" pin_signal="PIO0_23/I2C0_SCL/CT32B0_CAP0"/>
|
|
<pin peripheral="I2C0" signal="SDA" pin_num="2" pin_signal="PIO0_24/I2C0_SDA/CT32B0_CAP1/CT32B0_MAT0"/>
|
|
<pin peripheral="GPIO" signal="PIO1, 8" pin_num="28" pin_signal="PIO1_8/ADC_11/SPI1_MISO/CT32B1_MAT3/CT32B1_CAP3">
|
|
<pin_features>
|
|
<pin_feature name="direction" value="OUTPUT"/>
|
|
<pin_feature name="gpio_init_state" value="true"/>
|
|
</pin_features>
|
|
</pin>
|
|
<pin peripheral="PINT" signal="PINT, 0" pin_num="41" pin_signal="PIO0_7/U1_SCLK/SCT0_OUT0/CT32B0_MAT2/CT32B0_CAP2"/>
|
|
</pins>
|
|
</function>
|
|
</functions_list>
|
|
</pins>
|
|
<clocks name="Clocks" version="10.0" enabled="true" update_project_code="true">
|
|
<generated_project_files>
|
|
<file path="board/clock_config.c" update_enabled="true"/>
|
|
<file path="board/clock_config.h" update_enabled="true"/>
|
|
</generated_project_files>
|
|
<clocks_profile>
|
|
<processor_version>12.0.0</processor_version>
|
|
</clocks_profile>
|
|
<clock_configurations>
|
|
<clock_configuration name="BOARD_BootClockIRC12M" id_prefix="" prefix_user_defined="false">
|
|
<description></description>
|
|
<options/>
|
|
<dependencies>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Clocks initialization requires the COMMON Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockIRC12M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm0plus">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Clocks initialization requires the COMMON Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockIRC12M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.power" description="Clocks initialization requires the POWER Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockIRC12M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm0plus">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.power" description="Clocks initialization requires the POWER Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockIRC12M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.clock" description="Clocks initialization requires the CLOCK Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockIRC12M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm0plus">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.clock" description="Clocks initialization requires the CLOCK Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockIRC12M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
</dependencies>
|
|
<clock_sources/>
|
|
<clock_outputs>
|
|
<clock_output id="ASYNCAPB_clock.outFreq" value="12 MHz" locked="false" accuracy=""/>
|
|
<clock_output id="FRG_clock.outFreq" value="12 MHz" locked="false" accuracy=""/>
|
|
<clock_output id="MAIN_clock.outFreq" value="12 MHz" locked="false" accuracy=""/>
|
|
<clock_output id="System_clock.outFreq" value="12 MHz" locked="false" accuracy=""/>
|
|
</clock_outputs>
|
|
<clock_settings/>
|
|
<called_from_default_init>false</called_from_default_init>
|
|
</clock_configuration>
|
|
<clock_configuration name="BOARD_BootClockPLL150M" id_prefix="" prefix_user_defined="false">
|
|
<description></description>
|
|
<options/>
|
|
<dependencies>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Clocks initialization requires the COMMON Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockPLL150M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm0plus">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.common" description="Clocks initialization requires the COMMON Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockPLL150M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.power" description="Clocks initialization requires the POWER Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockPLL150M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm0plus">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.power" description="Clocks initialization requires the POWER Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockPLL150M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.clock" description="Clocks initialization requires the CLOCK Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockPLL150M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm0plus">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.clock" description="Clocks initialization requires the CLOCK Driver in the project." problem_level="2" source="Clocks:BOARD_BootClockPLL150M">
|
|
<feature name="enabled" evaluation="equal" configuration="cm4">
|
|
<data>true</data>
|
|
</feature>
|
|
</dependency>
|
|
</dependencies>
|
|
<clock_sources/>
|
|
<clock_outputs>
|
|
<clock_output id="ASYNCAPB_clock.outFreq" value="50 MHz" locked="false" accuracy=""/>
|
|
<clock_output id="FRG_clock.outFreq" value="50 MHz" locked="false" accuracy=""/>
|
|
<clock_output id="MAIN_clock.outFreq" value="150 MHz" locked="false" accuracy=""/>
|
|
<clock_output id="SYSTICK_clock.outFreq" value="10 MHz" locked="false" accuracy=""/>
|
|
<clock_output id="System_clock.outFreq" value="150 MHz" locked="false" accuracy=""/>
|
|
</clock_outputs>
|
|
<clock_settings>
|
|
<setting id="PLL_Mode" value="Normal" locked="false"/>
|
|
<setting id="ASYNC_SYSCON.ASYNCAPBCLKSELB.sel" value="SYSCON.pll_clk" locked="false"/>
|
|
<setting id="ASYNC_SYSCON.ASYNCCLKDIV.scale" value="3" locked="false"/>
|
|
<setting id="SYSCON.CLKOUTDIV.scale" value="0" locked="true"/>
|
|
<setting id="SYSCON.DIRECTO.sel" value="SYSCON.PLL" locked="false"/>
|
|
<setting id="SYSCON.MAINCLKSELB.sel" value="SYSCON.PLL_BYPASS" locked="false"/>
|
|
<setting id="SYSCON.M_MULT.scale" value="50" locked="true"/>
|
|
<setting id="SYSCON.N_DIV.scale" value="4" locked="true"/>
|
|
<setting id="SYSCON.PLL_BYPASS.sel" value="SYSCON.DIRECTO" locked="false"/>
|
|
<setting id="SYSCON.SYSTICKCLKDIV.scale" value="15" locked="true"/>
|
|
</clock_settings>
|
|
<called_from_default_init>true</called_from_default_init>
|
|
</clock_configuration>
|
|
</clock_configurations>
|
|
</clocks>
|
|
<dcdx name="DCDx" version="3.0" enabled="false" update_project_code="true">
|
|
<generated_project_files/>
|
|
<dcdx_profile>
|
|
<processor_version>N/A</processor_version>
|
|
</dcdx_profile>
|
|
<dcdx_configurations/>
|
|
</dcdx>
|
|
<periphs name="Peripherals" version="11.0" enabled="true" update_project_code="true">
|
|
<dependencies>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.lpc_i2c" description="I2C Driver not found in the toolchain/IDE project. Project will not compile!" problem_level="2" source="Peripherals">
|
|
<feature name="enabled" evaluation="equal">
|
|
<data type="Boolean">true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.lpc_i2c" description="Unsupported version of the I2C Driver in the toolchain/IDE project. Required: ${required_value}, actual: ${actual_value}. Project might not compile correctly." problem_level="1" source="Peripherals">
|
|
<feature name="version" evaluation="greaterOrEqual">
|
|
<data type="Version">2.0.2</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.pint" description="PINT Driver not found in the toolchain/IDE project. Project will not compile!" problem_level="2" source="Peripherals">
|
|
<feature name="enabled" evaluation="equal">
|
|
<data type="Boolean">true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="SWComponent" resourceId="platform.drivers.pint" description="Unsupported version of the PINT Driver in the toolchain/IDE project. Required: ${required_value}, actual: ${actual_value}. Project might not compile correctly." problem_level="1" source="Peripherals">
|
|
<feature name="version" evaluation="equivalent">
|
|
<data type="Version">2.1.3</data>
|
|
</feature>
|
|
</dependency>
|
|
</dependencies>
|
|
<generated_project_files>
|
|
<file path="board/peripherals.c" update_enabled="true"/>
|
|
<file path="board/peripherals.h" update_enabled="true"/>
|
|
</generated_project_files>
|
|
<peripherals_profile>
|
|
<processor_version>12.0.0</processor_version>
|
|
</peripherals_profile>
|
|
<functional_groups>
|
|
<functional_group name="BOARD_InitPeripherals" uuid="bf976c30-387a-4c02-956c-44a37954526e" called_from_default_init="true" id_prefix="" core="cm4">
|
|
<description></description>
|
|
<options/>
|
|
<dependencies>
|
|
<dependency resourceType="PeripheralUnifiedSignal" resourceId="I2C0.i2c_scl" description="Signal I2C serial clock is not routed." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
|
|
<feature name="routed" evaluation="">
|
|
<data type="Boolean">true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="PeripheralUnifiedSignal" resourceId="I2C0.i2c_sda" description="Signal I2C serial data is not routed." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
|
|
<feature name="routed" evaluation="">
|
|
<data type="Boolean">true</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="ClockOutput" resourceId="ASYNCAPB_clock" description="Async APB clock is inactive." problem_level="2" source="Peripherals:BOARD_InitPeripherals">
|
|
<feature name="frequency" evaluation="greaterThan">
|
|
<data type="Frequency" unit="Hz">0</data>
|
|
</feature>
|
|
</dependency>
|
|
<dependency resourceType="PeripheralUnifiedSignal" resourceId="PINT.pint.0" description="Signal PINT, 0 is not routed." problem_level="1" source="Peripherals:BOARD_InitPeripherals">
|
|
<feature name="routed" evaluation="">
|
|
<data type="Boolean">true</data>
|
|
</feature>
|
|
</dependency>
|
|
</dependencies>
|
|
<instances>
|
|
<instance name="NVIC" uuid="95540aad-a83e-4f89-94d4-464eb84246d4" type="nvic" type_id="nvic_57b5eef3774cc60acaede6f5b8bddc67" mode="general" peripheral="NVIC" enabled="true" comment="" custom_name_enabled="false" editing_lock="false">
|
|
<config_set name="nvic">
|
|
<array name="interrupt_table">
|
|
<struct name="0"/>
|
|
</array>
|
|
<array name="interrupts"/>
|
|
</config_set>
|
|
</instance>
|
|
<instance name="I2C0" uuid="8c158812-8c36-435e-96a5-53333b28b733" type="lpc_i2c" type_id="lpc_i2c_f5051a0134792729f1007113ec6ddccd" mode="I2C_Polling" peripheral="I2C0" enabled="true" comment="" custom_name_enabled="false" editing_lock="false">
|
|
<config_set name="fsl_i2c">
|
|
<setting name="i2c_mode" value="kI2C_Master"/>
|
|
<setting name="clockSource" value="FunctionClock"/>
|
|
<setting name="clockSourceFreq" value="BOARD_BootClockPLL150M"/>
|
|
<struct name="i2c_master_config">
|
|
<setting name="enableMaster" value="true"/>
|
|
<setting name="baudRate_Bps" value="100000"/>
|
|
<setting name="enableTimeout" value="false"/>
|
|
</struct>
|
|
</config_set>
|
|
</instance>
|
|
<instance name="PINT" uuid="b8df67aa-993d-44ea-bd26-65aad827c55d" type="pint" type_id="pint_cf4a806bb2a6c1ffced58ae2ed7b43af" mode="interrupt_mode" peripheral="PINT" enabled="true" comment="" custom_name_enabled="false" editing_lock="false">
|
|
<config_set name="general">
|
|
<array name="interrupt_array">
|
|
<struct name="0">
|
|
<setting name="interrupt_id" value="INT_0"/>
|
|
<setting name="interrupt_selection" value="PINT.0"/>
|
|
<setting name="interrupt_type" value="kPINT_PinIntEnableFallEdge"/>
|
|
<setting name="callback_function" value="bmm_drdy_callback"/>
|
|
<setting name="enable_callback" value="true"/>
|
|
<struct name="interrupt">
|
|
<setting name="IRQn" value="PIN_INT0_IRQn"/>
|
|
<setting name="enable_priority" value="true"/>
|
|
<setting name="priority" value="4"/>
|
|
</struct>
|
|
</struct>
|
|
</array>
|
|
</config_set>
|
|
</instance>
|
|
</instances>
|
|
</functional_group>
|
|
</functional_groups>
|
|
<components>
|
|
<component name="system" uuid="cc67576e-3877-4631-9c7a-e1d9b9e83de8" type_id="system_54b53072540eeeb8f8e9343e71f28176">
|
|
<config_set_global name="global_system_definitions">
|
|
<setting name="user_definitions" value=""/>
|
|
<setting name="user_includes" value=""/>
|
|
</config_set_global>
|
|
</component>
|
|
<component name="generic_enet" uuid="5ffbd600-f4df-47f4-a24a-89f26ae3ed5d" type_id="generic_enet_74db5c914f0ddbe47d86af40cb77a619">
|
|
<config_set_global name="global_enet"/>
|
|
</component>
|
|
<component name="gpio_adapter_common" uuid="5c9d5317-8314-492b-a7aa-30770c852e97" type_id="gpio_adapter_common_57579b9ac814fe26bf95df0a384c36b6">
|
|
<config_set_global name="global_gpio_adapter_common" quick_selection="default"/>
|
|
</component>
|
|
<component name="generic_uart" uuid="bec6b8dc-b0c5-4d78-abf3-d017e2ce7fb5" type_id="generic_uart_8cae00565451cf2346eb1b8c624e73a6">
|
|
<config_set_global name="global_uart"/>
|
|
</component>
|
|
<component name="msg" uuid="e18af729-56ac-47f2-8d00-92b4ba3f397c" type_id="msg_6e2baaf3b97dbeef01c0043275f9a0e7">
|
|
<config_set_global name="global_messages"/>
|
|
</component>
|
|
<component name="uart_cmsis_common" uuid="479c3868-fe65-4e98-8a49-98e528e48024" type_id="uart_cmsis_common_9cb8e302497aa696fdbb5a4fd622c2a8">
|
|
<config_set_global name="global_USART_CMSIS_common" quick_selection="default"/>
|
|
</component>
|
|
<component name="generic_can" uuid="0cb95633-444b-4c6d-aa5f-880a06665ab5" type_id="generic_can_1bfdd78b1af214566c1f23cf6a582d80">
|
|
<config_set_global name="global_can"/>
|
|
</component>
|
|
</components>
|
|
</periphs>
|
|
<tee name="TEE" version="4.0" enabled="false" update_project_code="true">
|
|
<generated_project_files/>
|
|
<tee_profile>
|
|
<processor_version>N/A</processor_version>
|
|
</tee_profile>
|
|
</tee>
|
|
</tools>
|
|
</configuration> |