FPGA Central - World's 1st FPGA / CPLD Portal

FPGA Central

World's 1st FPGA Portal

 

Go Back   FPGA Groups > NewsGroup > FPGA

FPGA comp.arch.fpga newsgroup (usenet)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-17-2009, 11:17 AM
Digi Suji
Guest
 
Posts: n/a
Default Spartan 3E reset problem

Hi,

I am using a Digilent Basys Board with Xilinx Spartan 3e. I have an
I2C controller configured to FPGA, which reads data from externally
connected I2C EEPROM through the pmod connectors on the basys board. I
am having below problems.

1) FPGA happens to work only once(outputs correct result on the leds)
when configured. When I the reset I2C controller, the functionality
does not repeat instead all leds are lit or off.

2) When I reset(or switch the power off and on) the FPGA and try to re-
configure it, the chip does not work as expected. But when I pull the
EEPROM off the breadboard, reconnect it, reset the FPGA and
reconfigure it, then I get the result, only for the first time.

I tried simulating by giving reset many times in the testbench and
results were as expected
in the simulation. Why am I having issues in the hardware?

Can any one please help?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 01-17-2009, 10:13 PM
Prevailing over Technology
Guest
 
Posts: n/a
Default Re: Spartan 3E reset problem

On Jan 17, 2:17*am, Digi Suji <digis...@gmail.com> wrote:
> Hi,
>
> I am using a Digilent Basys Board with Xilinx Spartan 3e. I have an
> I2C controller configured to FPGA, which reads data from externally
> connected I2C EEPROM through the pmod connectors on the basys board. I
> am having below problems.
>
> 1) FPGA happens to work only once(outputs correct result on the leds)
> when configured. When I the reset I2C controller, the functionality
> does not repeat instead all leds are lit or off.
>
> 2) When I reset(or switch the power off and on) the FPGA and try to re-
> configure it, the chip does not work as expected. But when I pull the
> EEPROM off the breadboard, reconnect it, reset the FPGA and
> reconfigure it, then I get the result, only for the first time.
>
> I tried simulating by giving reset many times in the testbench and
> results were as expected
> in the simulation. Why am I having issues in the hardware?
>
> Can any one please help?
>
> Thanks.


Is the output from the EEPROM driving one of the FPGA's dual-porpose
configuration pins? Which FPGA configuration mode are you using?
Reply With Quote
  #3 (permalink)  
Old 01-18-2009, 09:08 AM
Digi Suji
Guest
 
Posts: n/a
Default Re: Spartan 3E reset problem

On Jan 17, 2:13*pm, Prevailing over Technology <steve.kn...@prevailing-
technology.com> wrote:
> On Jan 17, 2:17*am, Digi Suji <digis...@gmail.com> wrote:
>
>
>
> > Hi,

>
> > I am using a Digilent Basys Board with Xilinx Spartan 3e. I have an
> > I2C controller configured to FPGA, which reads data from externally
> > connected I2C EEPROM through the pmod connectors on the basys board. I
> > am having below problems.

>
> > 1) FPGA happens to work only once(outputs correct result on the leds)
> > when configured. When I the reset I2C controller, the functionality
> > does not repeat instead all leds are lit or off.

>
> > 2) When I reset(or switch the power off and on) the FPGA and try to re-
> > configure it, the chip does not work as expected. But when I pull the
> > EEPROM off the breadboard, reconnect it, reset the FPGA and
> > reconfigure it, then I get the result, only for the first time.

>
> > I tried simulating by giving reset many times in the testbench and
> > results were as expected
> > in the simulation. Why am I having issues in the hardware?

>
> > Can any one please help?

>
> > Thanks.

>
> Is the output from the EEPROM driving one of the FPGA's dual-porpose
> configuration pins? *Which FPGA configuration mode are you using?


Thanks for the response. Yes external I2C EEPROM is driving FPGA's
dual purpose config pins. Will this cause a problem?
I am using spartan 3e TQ-144 FPGA. I could not find mode pins on this
fpga's footprint. How do I set master serial mode config for this
FPGA? Please help if I am wrong.

Thanks
Reply With Quote
  #4 (permalink)  
Old 01-18-2009, 11:38 AM
Digi Suji
Guest
 
Posts: n/a
Default Re: Spartan 3E reset problem

On Jan 17, 2:13*pm, Prevailing over Technology <steve.kn...@prevailing-
technology.com> wrote:
> On Jan 17, 2:17*am, Digi Suji <digis...@gmail.com> wrote:
>
>
>
> > Hi,

>
> > I am using a Digilent Basys Board with Xilinx Spartan 3e. I have an
> > I2C controller configured to FPGA, which reads data from externally
> > connected I2C EEPROM through the pmod connectors on the basys board. I
> > am having below problems.

>
> > 1) FPGA happens to work only once(outputs correct result on the leds)
> > when configured. When I the reset I2C controller, the functionality
> > does not repeat instead all leds are lit or off.

>
> > 2) When I reset(or switch the power off and on) the FPGA and try to re-
> > configure it, the chip does not work as expected. But when I pull the
> > EEPROM off the breadboard, reconnect it, reset the FPGA and
> > reconfigure it, then I get the result, only for the first time.

>
> > I tried simulating by giving reset many times in the testbench and
> > results were as expected
> > in the simulation. Why am I having issues in the hardware?

>
> > Can any one please help?

>
> > Thanks.

>
> Is the output from the EEPROM driving one of the FPGA's dual-porpose
> configuration pins? *Which FPGA configuration mode are you using?


Yes, output from EEPROM is driving FPGA's dual-purpose pins. I am
using Spartan3E based BASYS board, I cannot set the mode pins of my
choice. I2C master controller is being implemented in FPGA which is
supposed to read data from external I2C EEPROM. Can you tell me what
is the issue?

Thanks.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
noob question: reset problem Fdo.León FPGA 0 07-18-2006 10:42 AM
Xilinx RocketIO receiver reset problem johnp FPGA 2 06-25-2006 09:28 PM
Rocket IO reset problem Jdon FPGA 1 11-12-2005 04:51 AM
Source of reset for synchronous reset can lead to metastability? Ken FPGA 6 02-23-2005 09:07 AM
Asynchronous reset timing problem David FPGA 4 10-04-2004 09:24 PM


All times are GMT +1. The time now is 01:44 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright 2008 @ FPGA Central. All rights reserved