Hi everyone,
I want to measure the current flowing through a BLDC motor. The current can vary between 0.1A and 5A and I need a 0.1% accuracy. For this, I use an INA250EVM in order to measure the voltage.
I would like to measure the waveform at the INA output using the ADC12 of MSP430F5529 Launchpad. So, I used Energia but the result was not satisfying due to a too small sampling rate. I saw on the datasheet : fADC12CLK = 5.0 MHz but I don't know if I can increase the sampling rate on Energia.
Use CCS seems to be a good idea in order to measure the current waveform with a better sampling rate.
Do you have some example code or paste me some snippets?
Thank you for your help
Mehdi