20240124 Startup test

Disable relay
Statusmachine function
/* Set Relays On */
control_interrupt.h
Line 3449
((XMC_GPIO_PORT_t *) PORT3_BASE)->OMR = (uint32_t)XMC_GPIO_OUTPUT_LEVEL_HIGH << 0u;
((XMC_GPIO_PORT_t *) PORT3_BASE)->OMR = (uint32_t)XMC_GPIO_OUTPUT_LEVEL_HIGH << 1u;
//((XMC_GPIO_PORT_t *) PORT3_BASE)->OMR = (uint32_t)XMC_GPIO_OUTPUT_LEVEL_HIGH << 2u;

Line 3429
//status_reg = ST_START_EN;

/**To change voltage level of PFC startup calibration:
control_interrupt.h
line 81  #define OFFSET_VAC  432	//432 --> 36Vac

/**To change threhold level for AC voltage detection
init_bckgnd_funct.h
line 101 
/** ?Vrms, converter start threshold */
#define VIN_MIN_START_INIT	3304	//VIN_MIN_START_INIT = Vgrms*(6.8e3/(309e3*5))*(4096/3.3)*8*0.9		//84Vrms --> 3304
/** ?Vrms, converter start threshold */
#define VIN_MIN_START		3304	//VIN_MIN_START_INIT = Vgrms*(6.8e3/(309e3*5))*(4096/3.3)*8*0.9		//84Vrms --> 3304

/**To change threhold level for DC voltage detection
control_interrupt.h
line 107
/** Undervoltage protection 1P (2*325 V). 		Turns PFC off and open relay. (Q15) */
#define VOUT_UVP_MIN_1P 	20888	//21723 RTBOX value	//Q1.1.9.5 Format	2*325VDC/20888UL	VOUT_UVP_MIN_1P = 2*325*(10e3/(309e3*5))*(4096/3.3)*4
/** Undervoltage protection 3P (380*sqrt(2) V). Turns PFC off and open relay. (Q15) */
#define VOUT_UVP_MIN_3P		18178	//17946 RTBOX value //Q1.1.9.5 Format	400*sqrt(2)=566VDC/18178UL	VOUT_UVP_MIN_3P = 400*sqrt(2)*(10e3/(309e3*5))*(4096/3.3)*4