Interest in an FPGA SDRAM SPI controller for the Prop
fullspeceng
Posts: 76
1) More RAM is always good.
2) The Propeller doesn't have much memory.
3) Microchip 32kB SPI SRAM is easy to use.
4) PC Notebook PC133 2GB SDRAM SODIMMs are cheap.
5) FPGAs have SDRAM IP Cores.
Add these all together and you have a good project.
I'm thinking about putting out an SPI RAM based on an FPGA that can take a 2GB notebook 2GB sodimms.
The FPGA isn't that cheap and needs to be professionally assembled so probably $150ish price.·
The goal will be to make it as simple as possible to use.· I'm thinking 2x5 .100" headers so similar to SD cards.
Also, I was going to add in more modes:
min 25mhz clk
1bit autoincrementing SPI RAM mode (4pins CLK SI SO CS)
4bit·autoincrementing BUS RAM mode (6pins CLK DI0-4 CS)
1 or 4 bit Stack mode (push/pop memory)
1 or 4 bit FIFO mode
Any interest or requests?
2) The Propeller doesn't have much memory.
3) Microchip 32kB SPI SRAM is easy to use.
4) PC Notebook PC133 2GB SDRAM SODIMMs are cheap.
5) FPGAs have SDRAM IP Cores.
Add these all together and you have a good project.
I'm thinking about putting out an SPI RAM based on an FPGA that can take a 2GB notebook 2GB sodimms.
The FPGA isn't that cheap and needs to be professionally assembled so probably $150ish price.·
The goal will be to make it as simple as possible to use.· I'm thinking 2x5 .100" headers so similar to SD cards.
Also, I was going to add in more modes:
min 25mhz clk
1bit autoincrementing SPI RAM mode (4pins CLK SI SO CS)
4bit·autoincrementing BUS RAM mode (6pins CLK DI0-4 CS)
1 or 4 bit Stack mode (push/pop memory)
1 or 4 bit FIFO mode
Any interest or requests?
Comments
* Could it work with the SD driver / fsrw (also SPI?) (or a more or less compatible driver, fat compability shouldn't be needed etc ?) ?
* Perhaps even connect via a li-ion coin-cell or a cap. to provide power during shorter reboots?
/M.E.S.H
Interface will be simple. CS low. Send 2 bits op code (00=read, 10=write 0, 11=write 1) + 30 bits address + 32 clock cycles to readin or write Data. Pointer will auto increment to next address until CS high.
Function code for propeller is simple < 10lines. I'll provide objects to read/write.
I like the idea of Push/Pop stack and FIFO datastructures as advanced modes. 32bit Register 0 will hold configuration values and rest will just be general 32bit memory.
/M.E.S.H
FPGAs are hardware that you can program to turn into something, Let me quote here """""Field Programmable means that the FPGA's function is defined by a user's program rather than by the manufacturer of the device. A typical integrated circuit performs a particular function defined at the time of manufacture. In contrast, the FPGA's function is defined by a program written by someone other than the device manufacturer. Depending on the particular device, the program is either 'burned' in permanently or semi-permanently as part of a board assembly process, or is loaded from an external memory each time the device is powered up. This user programmability gives the user access to complex integrated designs without the high engineering costs associated with application specific integrated circuits.
So what some of the things you can do is use it the FPGA to design say more RAM for the Prop boards. That's what FullSpec is talking about doing I hope that helps a little the board we are talking about is the Spartan 3A the kit is $49.00 dollars and comes with everything for a beginner,, but beware for a Noob they are very complicated at least for me never having seen one before this kit it can be overwhelming thats why I would be happy to see FullSpec do aproject so I can learn from hands on
www.xmos.com/applications/memory/sdram
It only takes a couple of threads, and could be implemented on a $7.50 single-core device. This would be much simpler and cheaper than using an FPGA.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
/M.E.S.H
SD card driver can fetch a bit per instruction for a while. If you switch to 4 bit mode this is no longer possible except you use one COG per data line. If not you have bigger efford in reading the data which makes reading slower. So even if you have 4 times more bits, transfer-rate is at best doubled - or not ;o)
Somewhen in future I'll follow Leon and see what an XMOS can do for the propeller - acting as a "graphics card" for example.
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Because M.E.S.H. stated "but more RAM and better graphics is always interesting",
I only wanted to mention that this kind of FPGA-RAM interface might not work for frame buffers. You hardly get enough transfer speed to refresh the display at a reasonable refresh rate - with the low res/low color graphics. And you also want to have read/write access for updating content independent from the refresh cycle. No chance for high res/high color!
640x480 uses at least 25MHz dot clock. 1bpp would need 25mbps data rate, with address setup thats ~30mbps SPI. No dice.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Morpheusdual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory IO board kit $89.95, both kits $189.95
Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
http://forums.parallax.com/forums/default.aspx?f=25&p=1&m=398563
I have the module now and am in the testing faze. People were saying 16MB for $40 was to much and to expensive. I am using a fast paralel bus. yes serial would be cheaper on pins but you will lose on bandwidth.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
24 bit LCD Breakout Board now in. $21.99 has backlight driver and touch sensitive decoder.
(by the way, am I the only one that noticed that 160MHx * 3 = 480Mpbs...? ie High Speed USB clock rate? I wonder if the new PLL's will go that high...)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Morpheusdual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory IO board kit $89.95, both kits $189.95
Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.mikronauts.com Please use mikronauts _at_ gmail _dot_ com to contact me off-forum, my PM is almost totally full
Morpheusdual Prop SBC w/ 512KB kit $119.95, Mem+2MB memory IO board kit $89.95, both kits $189.95
Propteus and Proteus for Propeller prototyping 6.250MHz custom Crystals run Propellers at 100MHz
Las - Large model assembler for the Propeller Largos - a feature full nano operating system for the Propeller
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM