Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16593 Discussions

Pin assignment change problem

Altera_Forum
Honored Contributor II
1,140 Views

Hello everyone 

I am using Deo nano fpga and Sam4s Xplained pro kit, where sam4s is i2c master and deo nano is i2c slave. 

 

I am using https://github.com/oetr/fpga-i2c-slave, and I am able made a bridge between them. I can read and write data by SAM4s, without any problem. Now when I am going to use several other i/o s in fpga, i cant assign specific pins. To be more precise, my SAM4s is writing some data to fpga, and read some encoder information from fpga. At the beginning I used random pins to be sure that it is working, and it worked! However, now I am planning to assign pins according to wiring comfort, but it just doesnt work for me. if I change any pins, most the time time the i2c bridge stops working, other thing works at both arm and fpga, seems they dont talk at all if any other pins are going to be changed (not the pin of scl and sda) 

 

I think I am missing some silly things, what is the formal way to change pins in Quartus. All my unused pins are tri stated with weak pull up 

 

Thanks for your answers
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
237 Views

FPGA pins are assigned in banks. You should read up on I/O features of the FPGA. In particular look at chapter 6 of volume 1 of the Cyclone IV handbook.

0 Kudos
Reply