Arduino Forum
>
Using Arduino
>
Audio
>
Possibility of Doing a 2048 point DFT?
Print
Go Down
Pages:
[1]
Topic: Possibility of Doing a 2048 point DFT?
(Read 686 times)
previous topic
-
next topic
CamJackson
Newbie
Posts: 6
Karma: 0
[add]
Possibility of Doing a 2048 point DFT?
Feb 24, 2018, 03:20 am
Does anyone have experience doing a 2048 point DFT on an Mega 2560?
Grumpy_Mike
Brattain Member
Posts: 62,973
Karma: 2527
[add]
Solder is electric glue
http://www.thebox.myzen.co.uk
Re: Possibility of Doing a 2048 point DFT?
#1
Feb 24, 2018, 05:18 pm
Given you need a float data type for an FFT, that is 4 bytes, then a 2048 point array will consume all the 8K memory the meg has.
robtillaart
Global Moderator
Brattain Member
Posts: 19,694
Karma: 1164
[add]
In theory there is no difference between theory and practice, however in practice there are many...
Re: Possibility of Doing a 2048 point DFT?
#2
Feb 24, 2018, 07:57 pm
You might extend the RAM of the MEGA with FRAM -
https://www.adafruit.com/product/1895
OK, performance will be less than you want but it works, and you can tweak the I2C to at least 600KHz
Check -
https://github.com/RobTillaart/Arduino/tree/master/libraries/FRAM
Rob Tillaart
Nederlandse sectie -
http://arduino.cc/forum/index.php/board,77.0.html
-
(Please do not PM for private consultancy)
CamJackson
Newbie
Posts: 6
Karma: 0
[add]
Re: Possibility of Doing a 2048 point DFT?
#3
Feb 27, 2018, 03:31 am
What do you think of using a USB card, rather than FRAM due to the cost and memory size differences?
Grumpy_Mike
Brattain Member
Posts: 62,973
Karma: 2527
[add]
Solder is electric glue
http://www.thebox.myzen.co.uk
Re: Possibility of Doing a 2048 point DFT?
#4
Feb 27, 2018, 05:21 pm
Quote from: CamJackson on Feb 27, 2018, 03:31 am
What do you think of using a USB card, rather than FRAM due to the cost and memory size differences?
Not much. I assume you mean USB memory stick, not card. That requires a USB host shield.
While you can use FRAM, you don't need it to be non volatile so simple SRAM will do, something like a 23K256 SPI interfaced chip.
Print
Go Up
Pages:
[1]
Loading...