Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

CPLD ADC oscilloscope

Status
Not open for further replies.

5282

Junior Member level 2
Joined
Dec 5, 2015
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
160
i want to make oscilloscope
stm32 with cpld epm240 and ad9288@100mhz

i will use 320*240 lcd

the question is
i want to save and record adc buffer only
320byte(for lcd)
the epm240 have internal memory 8192 bit
can i use it in my project or it's rom not ram
 

It is flash memory.

If you plan on using it as a buffer for the ADC expect the flash to wear out and the epm240 needing to be replaced periodically (depending on usage). You'll also suffer from long erase times to clear out each of the 4096-bit sectors so don't expect to have any real time update of you oscilloscope.

You might want to consider something more like a Zynq which has a built in ARM along with FPGA resources (including lots of RAM) to support the AD9288 interfacing.

If you really want to stick to a CPLD then get an actual external SRAM device to store the ADC data.
 
  • Like
Reactions: 5282

    5282

    Points: 2
    Helpful Answer Positive Rating
thank you
then i will use fpga
because the cost of $sram+$cpld=$fpga
with fpga i not need external sram ?????
i need 240 byte only at 100mhz write speed
 
Last edited:

Use a Cyclone or a Spartan/Artix part, they can also support implementing an embedded processor if you are inclined to reduce the parts count further. Even the smallest of the parts will have 100's or more Kbits of SRAM (internal block RAMs) that can be used.
 
  • Like
Reactions: 5282

    5282

    Points: 2
    Helpful Answer Positive Rating
From Altera portfolio, a small MAX10 "CPLD" (actually a small Cyclone III/IV FPGA core with flash configuration memory and single supply option) can be used as DSO controller and storage solution.
 
  • Like
Reactions: 5282

    5282

    Points: 2
    Helpful Answer Positive Rating
Nice they also seem to have block RAM. They could also go with say a Lattice Semiconductor part or an Actel/Microsemi part both of those are generally very very inexpensive compared to what you typically see from both Altera and Xilinx, though the tools tend to be rubbish in comparison to the big two.
 
  • Like
Reactions: 5282

    5282

    Points: 2
    Helpful Answer Positive Rating
thank to all
but i'm new with cpld
epm240 cpld have special function pin or all pin is general purpose
i will connect sram and ad9288 100mhz to cpld
 

thank to all
but i'm new with cpld
epm240 cpld have special function pin or all pin is general purpose
i will connect sram and ad9288 100mhz to cpld

The majority of the pins are general purpose I/O, along with dedicated pins. Read the datasheet to understand what the different pins are.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top