Hello,
I understand that this project is to supply basic code that sets up and configures STM32F030 microcontroller to operate and use
1) ADC
2) USART
3) GPIO pin or pins.
I would include dummy ADC interrupt routine and example how to toggle GPIO pins and send data on USART. I would not provide any other code.
You would need to provide detailed specification for desired USART operation mode, GPIO electrical operating parameters as well as desired ADC parameters.
Does "continuous measurement" in project description refer to "continuous conversion mode" as specified in the chip reference manual?
There are several ways to use and configure ADC. It is necessary that I have good understanding of your requirements, so that I can implement the optimal variant.
Does the following accurately summarize your intentions?
1) You want several input channels to be measured
2) The channels can not be measured at the same time (because there is only one ADC) but should be measured close in time
3) The measurements happen 1000 times per second, in regular intervals, without any unnecessary jitter
4) Interrupt is invoked after all channels have been sampled
I have extensive experience with embedded programming and could also provide, outside of this project's scope, consulting related to analog-digital conversion, sensors or digital signal processing.
Let me know, if you have any questions.
Kindest regards,
Witold