If I'm using a NUCLEO-F401RE with ADC throughput rate greater than 2 MSPS and storing the value in an array/memory, will the UART baud rate affect transmission of the signals from memory? How are they related? The ADC resolution is 12 bit. The data format is 1 startbit,8 databits & 1 stopbit. I want a 200 kHz input signal sampled at 2 MSPS & transmitted through UART. Is it possible, if not why?
closed as unclear what you're asking by brhans, Dmitry Grigoryev, RoyC, Voltage Spike, Finbarr May 20 at 23:04
Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
2 million samples of 12 bits (ADC resolution) each means 3 MBytes/second. One byte is transferred as 10 bits (8 bits data, 1 start bit, 1 stop bit), so you'd need 30 MBits/s transfer rate.
STM32F401RE MCU on the board has a maximum APB2 clock frequency of 84 MHz. The maximal UART bitrate is 1/8 of the clock, that's 10.5 MBits/s.