cancel
Showing results for 
Search instead for 
Did you mean: 

Six SPI continuously monitoring

MDeva.1
Associate II

Hello,

I am working on STM32H7 series controller, I have to continuously reading the data of dac through spi and vtg ,and send over an GUI application so every 50 microsecond I have read the values of 6 spi , so I have do the calculation in stm32 or I have to send the data to GUI and the calculation is done over on GUI which is preferred ?

4 REPLIES 4

Which one has the bandwidth to do it?

How much time is consumed by what you're currently doing?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

All spi is working on 50MHZ clock, the 2 spi is configured for DAc and 4 spi is ADC compatiable which is used for reading the vtg and current of battery.

@MDeva.1​ "the calculation is done"

What calculation?

It's your system, so it's your job to decide/determine where it makes most sense to do the calculation - according to your requirements & constraints.

Think about the pros & cons of each case; where are your bottlenecks; etc.

Maybe benchmark some tests.

We have no idea about your system, so can't possibly advise.

But how long does that take, and what percentage of the CPU utilization does that represent?

Does the amount of data sent to the GUI go up or down if you do the computation and calculations on the H7?​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..