Professional Documents
Culture Documents
AG1280Q48 Smallest System Board V1-Litron EDA Open Source Hardware Platform
AG1280Q48 Smallest System Board V1-Litron EDA Open Source Hardware Platform
41 0 0 1
describe
Introduction to AG1280Q48
Calls itself CPLD, but I think it is an FPGA with built-in Flash. .
Logic Slice structure of LUT4+Carry+FF(chain)
1280 LUTs, 1 PLL, 14*4.5kbit Block RAM
Cheap
The downloader is also cheap, and a USB Blaster worth more than a dozen dollars can be used
download the latest version, I have stepped on the pit () As for the correct installation method of Quartus II, please search by yourself .
Then install the software AGM of Supra, download links can here official website found.
Within a day of waiting for the download of Baidu Cloud, you can do something else first.
create a new project called blinky1280, fill in the project directory and project name according to the figure, and click Save.
Here we name the Verilog module generated by the IP as inpll; select PLLX for PLL Type; write casually for Input Frequency; select NO_REFERENCE for
Feedback Mode; select 1 for output count ; Fill in the output frequency of Output 1 as 25MHz; click Generate:
the actual and probably not accurate frequency will be printed below. Then two files, inpll.ip and inpll.v, will be generated in the project directory. The former
needs to be imported into Supra when compiling, and the latter is the prototype of the PLL module that needs to be instantiated in the lighting code.
clicking Next, run Quartus II and open the project (blinky1280.qpf in the directory). The project automatically includes a blinky1280.v.
module blinky1280 (
);
wire clk_pll_o;
inpll pll_inst (
.clkfb(clk_pll_o),
.pllen(1'b1),
.resetn(rst_n),
.clkout0en(1'b1),
.clkout1en(1'b0),
.clkout2en(1'b0),
.clkout3en(1'b0),
.clkout0(clk_pll_o),
.clkout1(),
.clkout2(),
.clkout3(),
.lock()
);
if (!rst_n)
else
end
endmodule
Save the file. Then, make sure to set the PLL IP as Design Partition:
select Tools-Tcl Scripts in Quartus II,
Don’t click Finish here, first open the blinky1280.asf assignment pin in the project directory:
Save, and other parameters will do by default. Click Finish and Supra will start Place & Route. If everything goes well, the output will be like this:
If it
1.7 Programming
Prepare a USB Blaster. I have tried Taobao with a dozen yuan and Punctual Atomic. Both can be used. The difference is that it is cheap and slow.
First connect the USB Blaster to the board according to the pin definitions, then power on the board, and connect the USB Blaster to the computer.
the Device ID of AG1280Q48 is 0x00120010, this value will be read if connected correctly. Select the burning file just generated, where:
blinky1280_sram.prg is burned to the internal SRAM and will be lost after power failure
If you need to save power off, select blinky1280_hybird.prg
Take SRAM as an example here. The programming is successful as shown in the figure below, and the light on the board should flash.
Use an oscilloscope to measure other pins, you can see the square wave output:
You also need to put the desiccant delivered every time you hit the board, and try to exhaust the air:
then find a place to put it. When eating ashes, you need to pay attention to avoid squeezing by external force; avoid stepping on it after slipping; avoid
accidentally eating; do not add eggs.
The codes and burning files involved in Tutorial 1 are attached, which can be used to quickly test whether they are good or bad.
Other references:
[LED light screen controller] Preliminary study of domestic FPGA AG10KSDE176 (1)-ReCclay The web disk link in this link contains Supra's
user manual
[LED light screen controller] AG10K programming program (2)-ReCclay AGM technology Questions and Answers Collection-Haizhenyuan
Technology (I didn’t ask for the full version of this
design diagram
1 1.25-6P-TESTPOINT 1 1.25-6P-TESTPOINT 1
2 100nF C1, C3, C8, C9, C10, C11, C12, C13, C16 C0402_NEW 9
Unfold
Engineering accessories
blinky1280_inpll.zip
Engineering member
libc0607
Post a comment
libc0607
18 266 141 3340
focus on fan Praised integral
+ Follow Private
letters
Jia Li Chuang Litron EDA Lichuang Mall Lichuang Community Technews EasyEDA contact us
Guangdong Public Network Security No. 44030402002736 / Guangdong ICP No. 13005967
Industrial and Commercial Network Supervisor © 2020 Lichuang EDA All Rights Reserved
Open source platform official ac