Hi all. I'm developing an application using rogowsky coils and the TI provided library softdidt. We are still waiting for our custom pcb but for now I'm using the evalkit for CTs. I know I won't have a reliable current and power values, but at least I can start development. I'm only connecting phase C that is used to power the board, so at least I should have a reliable Vrms for this channel as the others will be floating. But I don't get any value, I only get frequency in phase A no matter if I change the hardware definition in board.h. The rest is 0, but reading the SD24 registers I see that they are updated, so I think that it may be a problem in specifying how the hardware is connected, but I'm using the provided application so I shouldn't have any problem. My settings are: in Main.c static const sensor_routing_t m_adcwiring[3] = { HW_EVALKIT_ROUTING }; . . . DiDtInitLibrary(); ErrorCode = DiDtInitHardware(m_adcwiring); if ( ErrorCode != DIDT_OK) { return; } and in board.h: /* How the sensors are wired up */ #define HW_EVALKIT_ROUTING PHASE_ABC, /* 3 phases */ \ DIDT_HW_SD16_CH0, DIDT_HW_SD16_CH1, DIDT_HW_SD16_CH2, /* voltage inputs */ \ DIDT_HW_SD16_CH4, DIDT_HW_SD16_CH5, DIDT_HW_SD16_CH6, /* di/dt inputs */ \ DIDT_HW_SD16_PGA16 /* Preamp setting */ in softdidt.h: /* ADC channel numbers */ typedef enum { DIDT_HW_SD16_CH0 = 0, DIDT_HW_SD16_CH1 = 1, DIDT_HW_SD16_CH2 = 2, DIDT_HW_SD16_CH3 = 3, DIDT_HW_SD16_CH4 = 4, DIDT_HW_SD16_CH5 = 5, DIDT_HW_SD16_CH6 = 6, DIDT_HW_SD16_UNUSED } adcchannel_t; What am I missing? Can anyone help me with this? Regards, Jorge Cunha
↧