Zynq Development (ii) Use of gpio Mio
I. Principles
Mio use can refer to the official development manual ug585-Zynq-7000-TRM, which has a more detailed description. Ipvq7000 series chips have 54 mio, which are allocated to bank0 and bank1 in the ps section, which are directly connected to PS. Note that the base address of the gpio operation is 0xe000_a000. The official manual provides the following:
In addition, the relevant register operation manual is also provided officially, so that we can directly perform register operations during programming and improve execution efficiency.
Ii. Procedure
1. Because the D29 LED light on the purchased Development Board is connected to the Mio 0-foot, the Mio can be operated to flash the LED D29.
2. Create a new project, add the zynq7 processing system, and crop the processor. Because you need to use the serial port output information and the Mio 0 foot of gpio, you can customize the two uart1 and Mio. The cropped processor is as follows:
3. Generate a bit file. After clicking the file, a series of steps are automatically taken, including hardware to the SDK;
4. Create an application in the SDK, select the hello World template, and modify the Hello world code. The habit is to use ue to edit the code and put it in the corresponding folder, right-click the area pointed by the arrow and select refresh. The file will be automatically updated to delete Hello world. c file.
5. The Mio control LED core code is as follows:
Iii. Software Use
1. display the row number, as shown in figure
Real-time records, allowing you to review your operations at any time.
Engineering documents: http://download.csdn.net/detail/xbx515626/9606144
By children who sell sweet potatoes
Hangzhou
Zynq Development (ii) Use of gpio Mio