0
\$\begingroup\$

Currently I am doing a project to develop a system with three external ADCs. I want to read the 3 ADCs at the same time.

I bought the following components

I want to configure the STM32 as 3 Master SPI controllers and connect every ADS1256 (with the highest sample rate) to the STM32 board.

All the data needs to be transfered over UART to a PC to do further data processing.

I was wondering if that would be possible and if someone has tips how to accomplish this.

Kind regards

Koen

\$\endgroup\$
  • \$\begingroup\$ Well, what is the highest sampling rate? Does the STM32's datasheet say it can be used as 3 SPI masters? How will you do the clock distribution? I think your question is a bit too broad if you're not showing more of your own research, and pinpoint what problems you're foreseeing. \$\endgroup\$ – Marcus Müller Mar 16 '18 at 21:27
  • \$\begingroup\$ UART maybe too slow depending on what sampling rate you expect to use. It appears STM32F7 has three SPI interfaces so that should not be a problem. \$\endgroup\$ – EE_socal Mar 16 '18 at 21:30
  • \$\begingroup\$ You can have single spi connection with 3 chip select pins, be aware of that baud rate of UART must be higher than that of SPI to avoid bottleneck. \$\endgroup\$ – Arun Joe Mar 17 '18 at 5:32
  • \$\begingroup\$ Thanks, so it would be possible to use the chip. Maybe I can cache the data and send it over UART \$\endgroup\$ – koenieee Mar 18 '18 at 0:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.