Commit 55e0b7e9 authored by David Brandt's avatar David Brandt
Browse files

set BEMF to voltage feedback adcs

parent 028504a9
......@@ -126,14 +126,14 @@ extern const char bldcCommutationTableComp[16];
#define ADC1_AUX ADC_NO_CHAN
#else
/* BEMF phase A */
#define ADC0_PH_A (3)
#define ADC1_PH_A ADC_NO_CHAN
#define ADC0_PH_A ADC_NO_CHAN
#define ADC1_PH_A (3)
/* BEMF phase B */
#define ADC0_PH_B (6) //c
#define ADC1_PH_B ADC_NO_CHAN
#define ADC0_PH_B ADC_NO_CHAN
#define ADC1_PH_B (5)
/* BEMF phase C */
#define ADC0_PH_C (7) //c
#define ADC1_PH_C ADC_NO_CHAN
#define ADC0_PH_C ADC_NO_CHAN
#define ADC1_PH_C (4)
/* DC-bus voltage */
#define ADC0_UDCB ADC_NO_CHAN
#define ADC1_UDCB (2)
......@@ -141,7 +141,7 @@ extern const char bldcCommutationTableComp[16];
#define ADC0_IDCB (4)
#define ADC1_IDCB ADC_NO_CHAN
/* Aux channel */
#define ADC0_AUX (0)
#define ADC0_AUX (2)
#define ADC1_AUX ADC_NO_CHAN
#endif
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment