AnsweredAssumed Answered

NHS3152 ADK: Error exists in active configuration

Question asked by leo torchia on Jun 28, 2020
Latest reply on Jul 1, 2020 by Dries Moors

I am using NHS3152ADK, LPC-link2 and LPCXpresso IDE. 

 

I am trying to run example adcdac_nss_example_1. 

When i debug, i get the following message: 

 

After i click proceed: 

 

 

How do i fix this? 

 

This is the code: 


#include "board.h"
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-variable"

void adcdac_nss_example_1(void)
{
//! [adcdac_nss_example_1]
Chip_IOCON_SetPinConfig(NSS_IOCON, IOCON_ANA0_0, IOCON_FUNC_1);
Chip_ADCDAC_Init(NSS_ADCDAC0);
Chip_ADCDAC_SetMuxDAC(NSS_ADCDAC0, ADCDAC_IO_ANA0_0);
Chip_ADCDAC_SetModeDAC(NSS_ADCDAC0, ADCDAC_CONTINUOUS);
Chip_ADCDAC_WriteOutputDAC(NSS_ADCDAC0, 3000);
//! [adcdac_nss_example_1]
}

#pragma GCC diagnostic pop

Outcomes