LCR
LCR copied to clipboard
Benchtop 100Hz to 200kHz LCR meter
To prepare for using another toolchain, I tried to bring your source code as much as possible to the C99 and C++11 standards. Perhaps this will be interesting for you.
The firmware kept crashing due to memory corruption in log_write() until I disabled logging. Now I've enabled logging and investigated the issue: If a floating-point number format format (such as...
Fontend.cpp says static constexpr uint32_t referenceVoltage = 1100000; I think this should be Vbias0 (1.11 V, ie, 1110000) rather than the reference voltage for the DAC (1.1 V, ie, 1100000)....
Start.cpp says constexpr float ReferenceTypical = 1.2f; but the typical value for the Internal reference voltage of the STM32F303 is 1.23 V according to the datasheet. Harmless.
In the schematic, reference resistor R9 has a value of 1 kΩ, in the source code (lines 587 and 588 of Frontend.cpp), a value of 1.5 kΩ is used for...
The STM32F303xC datasheet says: No external termination series resistors are required on USB_DP (D+) and USB_DM (D-), the matching impedance is already included in the embedded driver. In consequence, R21...
