Hi Sebastian, I apologize for the delay in responding to your questions. You shouldn't need a separate function call to select the 1.4V ref. Provided you enable the VREF and select 1.4v, select the reference voltage for an ADC conversion memory configuration as shown below. If doing a sequence (more than one channel), you need to setup each one to the desired reference voltage. Regarding waiting for the VREF to be ready, there is a selection in Sysconfig that enables a configurable delay. Here is the generated Sysconfig code:
↧