Search Engine

Vhdl Code Spi

Add Question

37 Threads found on Vhdl Code Spi
Hi guys I have written a C code for a micro controller and now I want to convert it to vhdl or verilog. I am familiar with verilog and vhdl. Seems to me you might be familiar with the language features, the syntax, etc. What you seem to be missing is the understanding of digital hardware design. Can you dr
all the IOs are at 3.3V regardless of what the vhdl code says Just tells you that the device stays unconfigured. Check the spi slave configuration process description in iCE40 Programming and Configuration document and determine at which point it is failing.
You may like to check existing spi code ( in verilog or vhdl as the case may be) and see how you can use it to interface with the RF nodule. spi interface comes under sequential circuits and a combinational only device will not work.
hI i WANT to obtain an analog ramp voltage from 0 to 3 V by using a FPGA Board and a DAC(offboard). the period of ramp voltage should be 100ms and this should be done by a 14 BIT DAC operating with 5Mhz clock . aNY SUGGESTIONS or vhdl code available would be very helpful for me thanks
Currently it looks like you didn't write either piece of code and are primarily having a problem using them. Lookie here:
Here is the package. ---------------------------------------------------------------------------- -- This file is part of the TNR-HFR FPGA project vhdl library. ---------------------------------------------------------------------------- -- Description : package of common public definitions. ----------------------------------------------
I need vhdl code for a to d converter ic ads1271, for my project, istudied data sheet of ads1271, but i fail understood operational process
I am using spi clk to clock-in data. The spi Master toggles data on rising edge and sample data on falling edge. From the slave side, I am sampling data on rising edge and loading data on the rising edge. The spi clock is a slightly delayed version of the external spi clk due to synchronizer. The data coming in is 16bits, (...)
Hi to all. any body can help me for programming synthesizer si4136 with vhdl code? I need for my final project.
Hi I am new user of this site & I want vhdl cod for serial communication,so plz send me that.
the code you posted is not valid vhdl, so you either copied it wrong or did not compile it.
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 (...)
I am trying to build a spi interface using vhdl. The testbench is ok. But it is not synthesizable on Spartan 6. Could anyone please figure out the problem. LIBRARY IEEE; use ieee.std_logic_1164.all; use ieee.std_logic_arith.all; use ieee.std_logic_unsigned.all; entity L6470_spi_MASTER is port(clk: in std_logic; sdo_master: ou
when does the data toggle w.r.t. the spi clk? Do you know what spi mode you are using? Have you simulated the vhdl code? Do you master the use of variables in vhdl as they behave different than signals ... usually a process is set up differently, but you will have your reasons to use this style (...)
How about reading a vhdl tutorial? or a good vhdl textbook. Ashenden's book is supposed to be good:
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 (...)
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 (...)
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
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; (...)
Do you need a vhdl code for implementation on a FPGA?
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 (...)
By implementing an spi core that is able to read a file from a file system? If you have to do that and learn vhdl then I hope you have some spare time... ;) Are you allowed to treat the SD card as a block device? Are you allowed to cheat and tell your design where on the SD to start reading? Regardless, I think that on there i
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)
Go to They have two vhdl implementations for spi. The first is OPB to spi and the second is spi flash controller. -- Amr
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
I have constructed the vhdl code for master(FPGA) and slave (ADC). What are you trying to achieve? If you want to control the ADC, you have to design a spi master interface. A vhdl code for the slave would be needed only to simulate the slave's behaviour. For the code, i found out some (...)
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 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 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 (...)
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 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 (...)
how to realize a spi interface with vhdl? I find it is too difficult for a newbie. need your help .
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 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
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, 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