- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I willing to use internal ifclk to clock stable then resetting to external ifclk in FPGA.
But i dont know how am i coding to switching internal ifclk to external ifclk in verilog
Is this need to inout port in verilog for clock switching?
Does anyone please let me know some example code for that?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dv2
Please check out the projects attached with the AN61345.
The projects and documentation have been updated.
In the App note projects, the switching of clock from internal to external has been implemented.
Please go through the App note for better understanding.
Thanks
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dv2
Please check out the projects attached with the AN61345.
The projects and documentation have been updated.
In the App note projects, the switching of clock from internal to external has been implemented.
Please go through the App note for better understanding.
Thanks
Nikhil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks A lot
I just view updated F/W. It seems like solution for my case.
But i have some questions.
1. Now i have running in fx2lp-56pin, can i use "IOA" for instead "IOC"?
(are there any change register setting for "IOA"?)
2. What am i supposed to make slwr and sensor's hsync signal in verilog during slavefifo?
(please verilog example code update please)
3.Also in verilog, what am i supposed to make "clock switchin" in verilog during slavefifo?
In switching from internal IFCLK to external IFCLK in verilog, what am i supposed to do?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
dv2
If you are not using port A in your application , you can switch IOC with IOA.
I am just explaining the flow here for clarity:
1) intitially FX2LP is loaded with slave firmaware with IFCLK internal
2) FPGA is loaded with bit stream. As soon as FPGA comes up, it pulls "done" pin high
If you look at the file "slave.c" of FX2LP project, under function "TD_Poll", the code is written for monitoring PC.1 (PC.1 is onnected to done pin of FPGA), So as soon as PC.1 is high IFCONFIG (register fo rchanging IFCLK) is converted to EXTERNAL CLK and PC.0 pin of FX2LP is made high
PC.0 is connected to SYNC pin of FPGA. As soon as SYNC is high FPGA outputs the CLK. This CLK is provided to IFCLK of FX2LP. Inside FPGA, CLK is derived by taking CLKOUT from FX2LP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is yours a UVC application?
Can you please explain a little about your setup/application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
one of us can comment more on whether hsync is to be connected to slwr once we get an idea of your application.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please let me know more detail? For about slwr hsync?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hsync-slave select/enable
vsync-slave write