nxp_imxrt1170-evk:Use LPADC

This commit is contained in:
David Sidrane
2023-06-13 09:52:01 -07:00
parent a18102d639
commit b17ec31c8c
3 changed files with 8 additions and 10 deletions
@@ -99,14 +99,14 @@ const struct clock_configuration_s g_initial_clkconfig = {
.adc1_clk_root =
{
.enable = 1,
.div = 1,
.mux = ADC1_CLK_ROOT_OSC_RC_48M_DIV2,
.div = 6,
.mux = ADC1_CLK_ROOT_SYS_PLL2_CLK,
},
.adc2_clk_root =
{
.enable = 1,
.div = 1,
.mux = ADC2_CLK_ROOT_OSC_RC_48M_DIV2,
.div = 6,
.mux = ADC2_CLK_ROOT_SYS_PLL2_CLK,
},
.acmp_clk_root =
{
+1 -4
View File
@@ -253,8 +253,7 @@ __EXPORT int board_app_initialize(uintptr_t arg)
int ret = OK;
//board_spi_reset(10, 0xffff);
#if 0
board_spi_reset(10, 0xffff);
if (OK == board_determine_hw_info()) {
syslog(LOG_INFO, "[boot] Rev 0x%1x : Ver 0x%1x %s\n", board_get_hw_revision(), board_get_hw_version(),
@@ -264,8 +263,6 @@ __EXPORT int board_app_initialize(uintptr_t arg)
syslog(LOG_ERR, "[boot] Failed to read HW revision and version\n");
}
#endif
px4_platform_init();
/* configure the DMA allocator */