I'm doing a NIOSII tutorial but I got stuck to the UART pins assignment in the Quartus Pin Planner. Specifically I have to connect the Rx and Tx to their respective pins.
Since I have a DE10-Nano version C, I had a look on the various documents and it appears that the connection must be done with the pins A22 and B21.
But when I try to assign the pins the below happens:
Pins rx and tx are the external_connection of the UART (RS-232 Serial Port) Intel FPGA IP.
Looking at your Table 3-17 screen shot, UART pins should be assigned to 3.3V IO standard but your pin planner UART pins are still configured to 2.5V IO standard
Try to correct the IO standard setting in pin planner.
Another thing to take note is one FPGA IO Bank can only accept one type of IO standard.
For instance, you can't have one IO bank that has some pins assigned to 2.5V IO standard and some pins assigned to 3.3V IO standard.
thank you for your answer. You have a good point, as I missed the I/O Standard Voltage column: well spotted.
Unfortunately the result does not change and still I have the error message "Editing location assignment is not successful. Not assignable" . At this point I am wondering if I am supposed to assign the UART pins or if it is done automatically.
I would appreciate more inputs if you spot something else, please :)
I checked the schematic. Pin A22 and pin B21 are dedicated FPGA HPS pin with multiple function supported.
I know for sure you need to configure HPS IP to set the pin_mux to switch the pin function to function as UART pins but I am not sure whether do you still need to set the pin setting in Quartus Pin Planner or not.
I suggest you open any example design from DE-10 NANO board to learn how they set the pin setting accordingly.
I have discovered a program utility called System Builder that was shipped with the unit. Basically it generates a Quartus project with the pin declarations that you need and bypass the troubles I had with Pin Planner.
It ended up working correctly and I took some time looking into the generated files.
The below is part of the Verilog file which is generated by the System Builder:you can see the HPS pins being assigned in what is intended to be the top file.
But even if I look at the terasic software screen shot, it only assign IO standard to UART pins but not the actual pin location itself. So, maybe you don't need to assign the pin location after all. You can check Quartus fitter report later to verify whether UART pins is auto assigned to correct pin location or not.
Also like I said, make sure you have configured the IO pin mux setting correctly in HPS IP as these are multiple function IO pins.