"A textbook can be defined as a book unsuitable for reading" (B. Shaw)
Tautology is humor in "this" place (Vigo Carpathian)
Есть, конечно. Я аналогичным способом вытаскивал показания stm32L151. Правда, у меня не было задачи посчитать разряды, только общую форму сигнала.Есть ли надежда вытащить разрядность на плате Blue Pill? Таким алгоритмом.
Не проще откалибровать по известным значениям? Сомневаюсь, что удастся подобрать обвязку с достаточной точностью чтобы вся погрешность обеспечивалась АЦП.где взять образцовый ЦАП для калибровки АЦП
если уж STM32, то можно просто взять STM32F373 - там есть 16-bit sigma-delta ADC с внутренним и внешним Vref и внутренним програмируемым усилителем. Есть 48-ногий корпус, скорее всего совместимый по ногам с STM32F103CBT6ADC Noise Canceler
The ADC of the megaAVR has a noise canceler that enables conversion during sleep mode, which
reduces the noise induced from the CPU core and other peripherals. This feature is available in the ADC
Noise Reduction and Idle mode. To use this feature:
• Ensure that ADC is enabled and not busy converting. Single conversion mode must be selected
and the ADC conversion complete interrupt must be enabled.
• Enter ADC noise reduction or idle mode. The ADC will start a conversion once the CPU has been
halted.
• If no other interrupts occur before the ADC conversion completes, the ADC interrupt will wake-up
the CPU and execute the ADC conversion complete interrupt routine. If another interrupt wakes up
the CPU before the ADC conversion is complete, that interrupt will be executed, and an ADC
conversion complete interrupt request will be generated when the ADC conversion completes. The
CPU will remain in active mode until a new sleep command is executed.