Skip to main content
general formatting
Source Link
Dave Tweed
  • 184.8k
  • 17
  • 249
  • 435

-Im tring to integrate a SPI Slave in VHDL (opencores) http://opencores.org/project,spi_master_slave -the ideas is to interface a Microcontroller and an FPGA -Im Using Quartus..

more info:

-microcontroller diferent clock 50 mHz i think..

-SPI clock frequency is 16Mhz

-SPI VHDL core clock @ 100 Mhz

-ive made an endurance test writing and reading some registers .. no errors with spi

  • microcontroller diferent clock 50 MHz i think..

  • SPI clock frequency is 16Mhz

  • SPI VHDL core clock @ 100 Mhz

  • I've made an endurance test writing and reading some registers .. no errors with spi

the problem :

-when i try to integrate the VHDL spi to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

  • when I try to integrate the VHDL SPI to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

some symtompssymptoms:

-sometimes in some registers there are bits i didnt write by spi, making the vhdl application to act inexpectecly..

-When adding signaltap probes , the behabior of the vhdl changes a little..

  • sometimes in some registers there are bits I didnt write by spi, making the vhdl application to act inexpectecly..

  • When adding signaltap probes , the behabior of the vhdl changes a little..

questions: Do i

Do I need to use timequest for the SPI CORE , to add timeconstraingts to spiSPI input pins?? Do iI have metastability ?

-Im tring to integrate a SPI Slave in VHDL (opencores) http://opencores.org/project,spi_master_slave -the ideas is to interface a Microcontroller and an FPGA -Im Using Quartus..

more info:

-microcontroller diferent clock 50 mHz i think..

-SPI clock frequency is 16Mhz

-SPI VHDL core clock @ 100 Mhz

-ive made an endurance test writing and reading some registers .. no errors with spi

the problem :

-when i try to integrate the VHDL spi to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

some symtomps:

-sometimes in some registers there are bits i didnt write by spi, making the vhdl application to act inexpectecly..

-When adding signaltap probes , the behabior of the vhdl changes a little..

questions: Do i need to use timequest for the SPI CORE , to add timeconstraingts to spi input pins?? Do i have metastability ?

more info:

  • microcontroller diferent clock 50 MHz i think..

  • SPI clock frequency is 16Mhz

  • SPI VHDL core clock @ 100 Mhz

  • I've made an endurance test writing and reading some registers .. no errors with spi

the problem :

  • when I try to integrate the VHDL SPI to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

some symptoms:

  • sometimes in some registers there are bits I didnt write by spi, making the vhdl application to act inexpectecly..

  • When adding signaltap probes , the behabior of the vhdl changes a little..

questions:

Do I need to use timequest for the SPI CORE , to add timeconstraingts to SPI input pins? Do I have metastability ?

added 31 characters in body
Source Link

-Im tring to integrate a SPI Slave in VHDL (opencores) http://opencores.org/project,spi_master_slave -the ideas is to interface a Microcontroller and an FPGA -Im Using Quartus..

more info more info:

-microcontroller diferent clock 50 mHz i think..   

-SPI clock frequency is 16Mhz   

-SPI VHDL core clock @ 100 Mhz   

-ive made an endurance test writing and reading some registers .. no errors with spi

the problem : the problem :

-when i try to integrate the VHDL spi to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

some symtomps: some symtomps:

-sometimes in some registers there are bits i didnt write by spi, making the vhdl application to act inexpectecly..   

-When adding signaltap probes , the behabior of the vhdl changes a little..

questions:questions: Do i need to use timequest for the SPI CORE , to add timeconstraingts to spi input pins?? Do i have metastability ?

-Im tring to integrate a SPI Slave in VHDL (opencores) http://opencores.org/project,spi_master_slave -the ideas is to interface a Microcontroller and an FPGA -Im Using Quartus..

more info -microcontroller diferent clock 50 mHz i think..  -SPI clock frequency is 16Mhz  -SPI VHDL core clock @ 100 Mhz  -ive made an endurance test writing and reading some registers .. no errors with spi

the problem : -when i try to integrate the VHDL spi to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

some symtomps: -sometimes in some registers there are bits i didnt write by spi, making the vhdl application to act inexpectecly..  -When adding signaltap probes , the behabior of the vhdl changes a little..

questions: Do i need to use timequest for the SPI CORE , to add timeconstraingts to spi input pins?? Do i have metastability ?

-Im tring to integrate a SPI Slave in VHDL (opencores) http://opencores.org/project,spi_master_slave -the ideas is to interface a Microcontroller and an FPGA -Im Using Quartus..

more info:

-microcontroller diferent clock 50 mHz i think.. 

-SPI clock frequency is 16Mhz 

-SPI VHDL core clock @ 100 Mhz 

-ive made an endurance test writing and reading some registers .. no errors with spi

the problem :

-when i try to integrate the VHDL spi to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

some symtomps:

-sometimes in some registers there are bits i didnt write by spi, making the vhdl application to act inexpectecly.. 

-When adding signaltap probes , the behabior of the vhdl changes a little..

questions: Do i need to use timequest for the SPI CORE , to add timeconstraingts to spi input pins?? Do i have metastability ?

Source Link

FPGA SPI slave not working well

-Im tring to integrate a SPI Slave in VHDL (opencores) http://opencores.org/project,spi_master_slave -the ideas is to interface a Microcontroller and an FPGA -Im Using Quartus..

more info -microcontroller diferent clock 50 mHz i think.. -SPI clock frequency is 16Mhz -SPI VHDL core clock @ 100 Mhz -ive made an endurance test writing and reading some registers .. no errors with spi

the problem : -when i try to integrate the VHDL spi to the rest of my VHDL application (also 100mhz)... the circuit becomes a little "unstable"

some symtomps: -sometimes in some registers there are bits i didnt write by spi, making the vhdl application to act inexpectecly.. -When adding signaltap probes , the behabior of the vhdl changes a little..

questions: Do i need to use timequest for the SPI CORE , to add timeconstraingts to spi input pins?? Do i have metastability ?