Search Engine www.edaboard.com

Vhdl Code Spi

Add Question

61 Threads found on edaboard.com: Vhdl Code Spi
hi friends,, i need code vhdl code or verilog code for ADC ans DAC please help me .. with thanks raj..
Hi, i am new to vhdl. I am provided with a spartan3 fpga. After sourcing for an ADC(10 bit), i have selected the microchip (MCP3002) which requires spi. I am a bit confused on how to start. I've tried reading vhdl code but it doesnt make sense to me. On the ADC datasheets, i know that i need SCK,CS,Din,Dout. What (...)
Hi guys, I want to feed 4 signals to a MUX (run on FPGA supplied clock), and then to a comparator, which feeds the 4 bits in series to an FPGA input. Will this work? Can anyone advise me on how to go about making verilog or vhdl code for reading serial data - either spi or otherwise. Also, i need advice on synchronization (...)
PLEASE SEND ME,spi vhdl code ,READ DATA FROM spi AND WRITE TO INSIDE MEMORY OF FPGA IC XILINX SPARTAN 2
Do you need a vhdl code for implementation on a FPGA?
I am doing project on BPSK Modulation and demodulation implementation on FPGA Spartan 3E. if you help us it will grateful, we need vhdl code ADC/DAC interface with Spartan 3E. Regards & thanks Abhinav
How about reading a vhdl tutorial? or a good vhdl textbook. Ashenden's book is supposed to be good:
Hi every one I have implemented spi receiver which has communication with Atmega128 spi. every thing is fine but some times I have some problem like data shift of one or two bit!!! I don`t why. I attach my code here, so if some one can help to find out what is the problem with my code ( I am not professional and I am new (...)
mates..this is what iam crying for last 6 months.. systemgenerator will give vhdl code as well as testbench codes for matlab scripts specific for dsp related apps,, can anyone provide a full version of system generator
There Are Lots Of spi Deratives. The Best Thing To Do, Is To Examine The Datasheets Of The Device You Are Interfacing, For The Required spi Format. vhdl Is Not C, So You Should Always Write Your Own code. spi Is Very Simple - There Is Master And Slaves, So No Arbitration Is Needed, Also There Is One (...)
Hi, im a studnet who needes to create a routine/routines that take readings from 2 spi bus sensors (pressure & temp) and the microblaze must take these readings and when the values of they're inputs reach a certain level/treshold the spartan board must activate a 12volt dc pump to spray water for a set period of time....then repeat the process.
Hi, i am a beginner in designing using vhdl. I need to construct interconnection between ADC(ADS7861 from Texas) and FPGA DE2 board. I have been told to use a spi --- a serial to parallel spi interface between ADC and FPGA. I have constructed the vhdl code for master(FPGA) and slave (ADC). I understand (...)
Hi, I´m trying to interface a DAC converter in vhdl,in order to send a pulse, but i´m new in this type of design language. so i need some help. I´m interested in the vhdl code if it would be possible. Thank you very much.
Hi, I´m trying to send a rectangular signal from DAC converter wich is connected to FPGA card. but i´m new in this type of design language. so, i must create a function in vhdl of the rectangular signal in order to connect it to the pins of dac converter. so i need some help. I´m interested in the vhdl code if it would be possible. (...)
hello all, i have with me a spartan 3 starter board that has 4 LEDs and 4 capacitive touch pads that can be interfaced with. i have an upcoming project that would use the spartan 3A FPGA and i figured this starter board would be a good place for me to start as i have no experience with FPGAs and vhdl programming. i intended to program the FPGA
I'm using Spartan 6,SP605.I would like to request for verilog/vhdl code for implementation of FPGA and Synchronous Serial Interface.Thank you. Hi, Please clarify your query. If you are looking for source code for how the FPGA itself is designed and taped out, Its proprerty of Xilinx and I am afraid you will not get tha
i tested and doesn't work..... Error listed from the quartus The problem isn't related to Verilog or vhdl coding. You need to check the pins assignments. The archived project compiles in Quartus V11 as is, so you apparently have applied changes to it. It's the DE0_NANO_GSensor example from the DE0_Nano_v1.0.5_SystemCD, translat
Hello all, I am in urgent need of a test bench. I have the verilog version of it. It would be of great help if anyone converts it into vhdl. /*************************************************************************************** * TESTBENCH FOR spi TO I2C * January 2007 *************************************************************
hi :smile: i have been working on vhdl code for my spi controller. consisting of a master and slave for data transfer. this is my code ---------------------------------------------------------------------------------------------------------------------------------------------------------- library IEEE; use (...)
Hi I am new user of this site & I want vhdl cod for serial communication,so plz send me that.
Hi to all. any body can help me for programming synthesizer si4136 with vhdl code? I need for my final project.
Hi all, Does anyone have Verilog/vhdl source code for a synchronous serial port that interfaces to DSP's or A2D's ?? Can you share ?? Thanks dsp
Hi! I'm writing a simple spi master interface in vhdl for a Coolrunner II CPLD. The clock rate is no higher than 20MHz. The data on MOSI line needs to appear a few ns before the rising edge of the clock, in order for the slave to catch the data.. But since the SCK line and the clock feeding the shift register are the same, the data will appear sim
need help with spi3....i want to implement in vhdl......any gud material for reference or any docs or code is most welcome.... thanks in advance
hi all I need to implement sysstem packet interface 3 .....i was wondering if i could get any SM's or a vhdl or verilog code or any design documents etc in regards to it.... cheers
dear frens, currrently i'm handling an fpga APEX20K board and just getting use to i'm suppose to implement an spi interface using the nios processor and the avalon switch this point of time, i'm only familiar with vhdl and i was wondering if any1 has the source code in vhdl for a spi interface. i'm going (...)
I have a rather simple question. Is there a vhdl code for the Microprocessor - FPGA interface. I am writing data from a microprocessor to FPGA (into BRAM). I need a generic code for a interface between microprocessor and FPGA BRAM. I will be using Altera FPGA. Thanks
Hi frendz i have recvd a task. Plz help me how shall I approach the problem.. its spi in vhdl Instructions: Write a vhdl program that implements a spi interface to a CPU, the received bytes are passed to a command parser for decoding. serial protocol in the spi should be as follows: 1- /CS goes (...)
Hi everybody. I need to read data from flash (m25p10A-ST) to fpga, is anyone know if exist vhdl code for this somewhere? thanks :!::D
Hi frendz I need to design an Ultrasonic range finder. Plz help as i am an amateur wid vhdl. I am uploading the diagram and for more information plz ask me. Also it doesnt have to be very
Verilog and vhdl models of and ATMEL spi FLASH can be found here: They should be compatible with WinBond parts (unless you want to use quad mode, etc)
hi i m new in fpga and vhdl programming. if any body have code for ramp generation in vhdl please pest it.and also suggest that how to define fpga pin to send this program in spi unit in fpga board for converting digital input to ramp output.
Hi, i am a beginner in designing using vhdl. I need to construct interconnection between ADC(ADS7861 from Texas) and FPGA DE2 board. I have been told to use a spi --- a serial to parallel spi interface between ADC and FPGA. I have constructed the vhdl code for master(FPGA) and slave (ADC). I understand (...)
Hi! I need someone who can do for me: M45PE80 • behavioral model of controller for 8-Mb Flash memory M45PE80 • serial spi communication • write and erase simulation of any memory cell • memory contents stored in a text file I need some vhdl project with test bench. More info about M45PE80: www.fre
i am doing a project 'hardware implementation of DPLL using vhdl'. We are using the IC ADF4156 as the phase detector. the inputs to the registers are given as serial inputs from FPGA. we hav five registers in ADF4156 and we hav got a set of values to input the registers . hw can we do this by spi interfacing? or can i do this in any other way?[/quo
Hello; I want to use the ADC on spartan 3e kit. I think I need to use spi interface to connect the ADC to the FPGA. I wonder if I can find a vhdl source code for using ADC with spi interface. Please help me... Thanks...
hi guys in one part of my project i'm dealing with high speed ADC ( ADS1274 from ti) . i need to vhdl spi driver for that, any suggestion? the datasheet is here : i know that the spi drivers depends on functionality and properties of relevant device, i'm wondering if u have any suggest
Hello. Does anyone has a working code for spi interface in vhdl? I have allready cheked this forum and found one code, but the author is not sure if this code works. Thanks.
Hi , could you tell me how can I interface ARM? Cortex™-M1–Enabled ProASIC3L Development Kit and DAC AD9706. I have vhdl code which generate sine wave and I would like to see this sine onoscilloscope. I set data ports but I dont know what should be on the others. Header of FPGA board: img682.imageshack.u
also, I do like the "vhdl-THESIS/project_verilog" part of the project path. Was thinking the same thing. :)
hello all, i am to configure a spartan 3A to interface with a SD card reader in spi mode using MOSI, MISO, CS and CLK. i have written code in vhdl to implement this, but cannot verify whether it works until the actual hardware is here (which is still a few weeks away). i currently have a few simple questions: lets say i have a (...)
For the spi master code ... I'd suggest using the search function on this forum for a bit. spi (and verilog/vhdl implementations) pop up often enough. As for what pins on the board, I'd guess the DE board documentation shows you which pins. Plus, generally for boards like that the manufacturer has some constraints files (...)
Hi, guys this problem nearly drive me crazy.... the FPGA works as a spi-slave, and a MCU works as master. spi speed is 500KHz. The communication was set up but only 60% message was received correct in master side. The data on MISO is not stable, sometimes lost several bits......the codes are; TP276 <= sigspiRx; (...)
Hi all, I have been able to initialize and write to an SD card in spi mode, but when I am trying to use the same vhdl code to write to a 32 GB SDHC card it doesn't work. My initialization is as follows: 1) CMD0 , CS = 0 2) CMD55 3) CMD41 then I start reading or writing. What is different when it is an SDHC card. Also in (...)
My experience with Altera reference designs is, that they are basically working. But you may want to change some features here or there and then you get the chance to introduce design errors that need to be debugged. I didn't check it the code. Verilog testbench issues are mostly related to not knowing which libraries have to be included. It's s
I am trying to configure an ADC using an FPGA. I can read the default values from the ADC register properly, but I'm unable to write to those registers. The fpga clock is 48 MHz and serial clock for the ADC is 8 MHz. The vhdl code that I've written is given below. LIBRARY IEEE; USE IEEE.STD_LOGIC_1164.ALL; USE
Hi, Any one did interface onboard flash memory of Digilent Atlys board ? Please share vhdl /Verilog code for reading data from onboard spi flash memory of Digilent Atlys board. In which mode the flash is configured ? like, Quad output fast read, Quad input/output fast read, Quad command fast read, etc...... Please help me. I (...)
First suggestion, please append your post to the thread where it belongs to. Secondly, there's a disambiguation problem with your post. "spi-4.2" addressed by Xilinx is a high speed (Gigabit per second) interface, that has nothing to do with the spi interface standard used by a DSP processor. A basic spi interface is just a few lines (...)
I am implementing spi bus protocol in vhdl, the data should be transmitted during +ve rising edge of clock i have written this code but i am unable to get the desired result, am i implementing the right way or no???? any help is appreciated: library IEEE; use IEEE.STD_LOGIC_1164.ALL; use IEEE.STD_LOGIC_ARITH.ALL; use IEEE.STD_LOGIC_UNS
Hi, I'm experiencing a strange problem with my project. I'm using the Nexys 3 board from digilent (spartan 6). I have a lot of components in my project (RAM access, UART communication, spi communication, etc.). Until yesterday, every part of my code was functionning fine on the Nexys 3 devellopment kit. But now, when I'm adding or just changing a