Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12589 Discussions

very simple PLL usage issue

Altera_Forum
Honored Contributor II
1,740 Views

Hello,  

 

I'm working on a custom pcb with a cyclone V GX. I'm having issues getting an output from the altera megafunction PLL, it is unresponsive.  

 

My test design has a nios II which successfully runs the hello world example without using any sort of PLL (just straight clock from the input pin), however when I implement a PLL prior to the clock input for the processor, the JTAG fails for the CPU. I have set the outputs of the PLL to pins and am receiving no signal when scoped. 

 

My thought is that it may be an input clock issue (PLL unable to lock) but the clock looks fine on a scope and the nios processor didn't seem to have a problem with it (prior to inserting the PLL).  

 

Running out of ideas on what to test, any thoughts? I appreciate any help.  

 

Thanks, 

Nick
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
255 Views

If you are concerned with the lock issue, you should connect to a pin the PLL-locked output, too.

0 Kudos
Altera_Forum
Honored Contributor II
255 Views

Yes, I have. It is low showing low and that it is not locked. I just cant seem to figure out why it wouldn't lock if my clock line seems fine.  

 

Are there any other PLL debugging techniques I could try?  

 

Thanks again.
0 Kudos
Altera_Forum
Honored Contributor II
255 Views

Are you generating phase shifted clock from PLL? If yes then provide phaseshift in ps instead of degree. I faced this issue with Altera PLL megafunction. 

 

Are you using SDRAM as a program memory for NIOS? If yes then there is chance after inserting PLL,SDRAM clock routing is changed and due to that SDRAM is not working. 

 

To test the hello world you can use ONCHIP Memory.
0 Kudos
Altera_Forum
Honored Contributor II
255 Views

Thanks for the reply,  

 

I'm not doing any phase shifting and I'm using all on chip memory, still stumped on this one. 

 

Thanks again.
0 Kudos
Altera_Forum
Honored Contributor II
255 Views

I've also tried using a function generated clock right up to the input pin, still nothing.

0 Kudos
Altera_Forum
Honored Contributor II
255 Views

Issue resolved. It was a board layout problem. 

 

Thanks.
0 Kudos
Reply