wuruize 发表于 2015-9-1 09:34:45

STM32单电阻采样

// First sampling point
    wAux =(s32)(ADC1->JDR2 << 1) - (s32)(hPhaseOffset);
   
    switch (csCurrentSampled.sampCur1)
    {
    case SAMP_IA:
    case SAMP_IB:
    case SAMP_IC:
            break;
    case SAMP_NIA:
    case SAMP_NIB:
    case SAMP_NIC:
            wAux = -wAux;
            break;
    default:
            wAux = 0;
请问一下为什么第一个采样点的,其值怎么来自第二注入数据寄存器
单电阻采样


wuruize 发表于 2015-9-10 09:17:05

求各位大神指点一下啊

你好我好大家好! 发表于 2015-9-17 21:25:05

我也正在做单电阻采样,方便的话加qq3270689225多多交流
页: [1]
查看完整版本: STM32单电阻采样