what is the maximum size of an array (float data[R][C] ) that I can use it with STM32F407 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-08 4:15 PM
Hi,
I use STM32F407 to acquire and process data from sensors, this data is very large approximately I need to define array (float Data[12][15000]) with 12 row and 15000 column
but, STM32F407 mcu can't define this array.
Did I exceed the maximum size of data memory ? and how I can determine the maximum size of an array of type float?
Thanks..
Solved! Go to Solution.
- Labels:
-
Flash
-
RAM
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-09 12:04 AM
sizeof(float) is 4, so if float foo[a][b]; sizeof(foo) is a*b*4 bytes.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-04-09 12:04 AM
sizeof(float) is 4, so if float foo[a][b]; sizeof(foo) is a*b*4 bytes.
JW
