版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)
文檔簡介
1、成績指導(dǎo)教師日期張歆奕2013-11-28 五 邑 大 學 實 驗 報 告實 驗 課 程 名 稱: SOPC技術(shù) 院系名稱: 信息工程學院 專業(yè)名稱: 電子信息工程 實驗名稱: 基于nios的PCF8591 控制器設(shè)計與實現(xiàn) 班級學號: 報告人 : 實驗三 基于nios的PCF8591控制器設(shè)計與實現(xiàn) 1、 實驗緒論1、 基于nios的設(shè)計特點 利用SOPC Builder構(gòu)建微處理器系統(tǒng),包括NiosII以及各種外設(shè)的添加和配置。利用IDE針對構(gòu)建的硬件系建項目,編寫應(yīng)用程序。利用HAL庫等,程序設(shè)計與底層硬件無關(guān)。Nios II系列軟核處理器是Altera的第二代FPGA嵌入式處理器,其性
2、能超過200DMIPS,在Altera FPGA中實現(xiàn)僅需35美分。Altera的Stratix 、Stratix GX、 Stratix II和 Cyclone系列FPGA全面支持Nios II處理器,以后推出的FPGA器件也將支持Nios II。用戶指令 開發(fā)人員可以在Nios CPU 核內(nèi)增加硬件,用以執(zhí)行復(fù)雜運算任務(wù),為時序要求緊張的軟件提供加速算法。Altera的第二代32位軟核RISC微處理器,Nios II以及所有外設(shè)以HDL源代碼的方式提供,可用于所有的Altera FPGA使用Quartus II集成綜合工具進行綜合。2、 基于nios的PCF8591控制器的設(shè)計內(nèi)容和設(shè)計任
3、務(wù) (1)、設(shè)計任務(wù) 用VerilogHDL設(shè)計PCF8591控制器,帶AVALON_MM接口和I2C接口,可用C控制DA和AD工作,并可控制其速率;用SOPC Builder的組件編輯器把控制器加入為自定義組件;創(chuàng)建硬件工程和軟件工程,編寫C程序,采樣模擬輸入電壓(0-5V),AD后送到LCD屏顯示,并送到DA輸出;創(chuàng)建硬件工程和軟件工程,編寫C程序,把0-255的數(shù)據(jù)發(fā)送到DA輸出,觀測Aout。 (2)、設(shè)計內(nèi)容 PCF8591的復(fù)位狀態(tài) ,Address byte及其作用,Control byte及其作用,DAC的啟動及其時序,ADC的啟動及其時序,內(nèi)部振蕩器的設(shè)置與作用,ADC采樣頻
4、的控制,DAC速的控制。 2、 PCF8591的簡介 1、PCF8591的功能與特點 PCF8591的功能包括多路模擬輸入、內(nèi)置跟蹤保持、8-bit模數(shù)轉(zhuǎn)換和8-bit數(shù)模轉(zhuǎn)換。PCF8591的最大轉(zhuǎn)化速率由IC總線的最大速率決定。PCF8591是一個單片集成、單獨供電、低功耗、8-bit CMOS數(shù)據(jù)獲取器件。PCF8591具有4個模擬輸入、1個模擬輸出和1個串行IC總線接口。PCF8591的3個地址引腳A0, A1和A2可用于硬件地址編程,允許在同個IC總線上接入8個PCF8591器件,而無需額外的硬件。在PCF8591器件上輸入輸出的地址、控制和數(shù)據(jù)信號都是通過雙線雙向IC總線以串行的方
5、式進行傳輸。PCF8591的操作電壓范圍2.5V-6V,單獨供電。低待機電流 ,通過IC總線串行輸入/輸出 ,PCF8591通過3個硬件地址引腳尋址,PCF8591的采樣率由IC總線速率決定 ,4個模擬輸入可編程為單端型或差分輸入 ,能自動增量頻道選擇 PCF8591的模擬,電壓范圍從VSS到VDD ,PCF8591內(nèi)置跟蹤保持電路 ,PCF8591有8-bit逐次逼近A/D轉(zhuǎn)換器 。2、 PCF8591的內(nèi)部框圖接口 PCF8591內(nèi)部框圖接口 PCF8591引腳及接口圖 3、 PCF8591的時序要求 PCF8591的DA控制時序圖 PCF8591的AD控制時序圖 基于I2C的Bit傳輸
6、基于I2C的Start bit三、PCF8591控制器的HDL設(shè)計 1、控制器的HDL設(shè)計與說明根據(jù)PCF8591芯片介紹與ADDA原理圖連接,如圖所示: 控制器的HDL頂層設(shè)計圖 2、控制器的HDL設(shè)計波形仿真圖 控制器的HDL設(shè)計波形仿真圖4、 基于nios的ADDA系統(tǒng) 1、控制器設(shè)為自定義組件 根據(jù)原理圖及芯片的連接,將控制器設(shè)為自定義組件。 點擊tools-sopc builder,打開SOPC Builder;如圖;添加on-chip memory,指定為rom,data width為32,memory size為2K,其它采用默認值,如圖;在SOPC Builder中改名為on-
7、chip memory.添加on-chip memory,指定為ram,data width為32,memory size為1K,其它采用默認值,如圖;添加nios processor,選定niosII/s內(nèi)核,reset vector為on-chip memory;exception vector為on-chip memory;如圖;點擊next,指定instruction cache為2KB;點擊next三次,到圖5界面,指定JTAG Debug mode為level1;然后點擊finish,完成nios processor的添加。添加system ID內(nèi)核,采用全部默認值,如圖:回到QI
8、I,雙擊原理圖編輯器工作區(qū),找到軟核的框圖,調(diào)入工作區(qū),并與輸入輸出連接,如圖; 2、nios系統(tǒng)框圖 頂層設(shè)計圖 3、設(shè)計的C程序及說明 (1)、AD三通道實驗程序#include #include #define AddWr 0x90 /寫數(shù)據(jù)地址 #define AddRd 0x91 /讀數(shù)據(jù)地址code unsigned char table=0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90;/表:共陽數(shù)碼管 0-9 unsigned char l_posit=0;/顯示位置extern bit ack;/引腳定義:sbit key1
9、= P37;/定義按鍵1sbit key2 = P36;/定義按鍵2sbit key3 = P35;/定義按鍵3sbit key4 = P34;/定義按鍵4sbit key5 = P33;/定義按鍵5sbit key6 = P32;/定義按鍵6sbit SMG_q = P10;/定義數(shù)碼管陽級控制腳(千位)sbit SMG_b = P11;/定義數(shù)碼管陽級控制腳(百位)sbit SMG_s = P12;/定義數(shù)碼管陽級控制腳(十位)sbit SMG_g = P13;/定義數(shù)碼管陽級控制腳(個位)/函數(shù)聲明:void display(unsigned int da);/定義顯示函數(shù),參數(shù)為顯示內(nèi)
10、容void delay(unsigned int timer); unsigned char ReadADC(unsigned char Chl);/從ADC通道讀數(shù)據(jù)void main()unsigned char CHX=1;/作為通道選擇while(1)if(key1=0)/按鍵1按下,選擇通道0,即光敏電阻實驗CHX=0;if(key2=0)/按鍵2按下,選擇通道1,即熱感電阻實驗CHX=1;if(key3=0)/按鍵3按下,選擇通道2,板子未連接設(shè)備,可連接外圍設(shè)備CHX=2;if(key4=0)/按鍵4按下,選擇通道3,即電位器調(diào)節(jié)實驗CHX=3;/if(key5=0)/按鍵5按下
11、,/if(key6=0)/按鍵6按下,/display(unsigned int)ReadADC(CHX);/顯示變量內(nèi)容delay(100);void display(unsigned int da)P0=0XFF;/da=da%10000;switch(l_posit)case 0:/選擇千位數(shù)碼管,關(guān)閉其它位SMG_q=0;SMG_b=1;SMG_s=1;SMG_g=1;P0=tableda/1000;/輸出顯示內(nèi)容break;case 1:/選擇百位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=0;SMG_s=1;SMG_g=1;P0=tableda%1000/100;break;ca
12、se 2:/選擇十位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=1;SMG_s=0;SMG_g=1;P0=tableda%100/10;break;case 3:/選擇個位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=1;SMG_s=1;SMG_g=0;P0=tableda%10;break;l_posit+;/每調(diào)用一次將輪流顯示一位if(l_posit3)l_posit=0;void delay(unsigned int timer)while(timer-);unsigned char ReadADC(unsigned char Chl) unsigned char Val; IIC_
13、start(); /啟動總線 IIC_write(AddWr); /發(fā)送器件地址if(ack=0)return(0); IIC_write(0x40|Chl); /發(fā)送器件子地址if(ack=0)return(0); IIC_start(); IIC_write(AddRd); if(ack=0)return(0); Val=IIC_read(); IIC_ACK(1); /發(fā)送非應(yīng)位 IIC_stop(); /結(jié)束總線 return(Val);DA輸出程序 #include #include #define AddWr 0x90 /寫數(shù)據(jù)地址 #define AddRd 0x91 /讀數(shù)據(jù)地
14、址/變量定義:code unsigned char table=0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90;/表:共陽數(shù)碼管 0-9 unsigned char l_posit=0;/顯示位置extern bit ack;/引腳定義:sbit key1 = P37;/定義按鍵1sbit key2 = P36;/定義按鍵2sbit key3 = P35;/定義按鍵3sbit key4 = P34;/定義按鍵4sbit key5 = P33;/定義按鍵5sbit key6 = P32;/定義按鍵6sbit SMG_q = P10;/定義數(shù)碼管
15、陽級控制腳(千位)sbit SMG_b = P11;/定義數(shù)碼管陽級控制腳(百位)sbit SMG_s = P12;/定義數(shù)碼管陽級控制腳(十位)sbit SMG_g = P13;/定義數(shù)碼管陽級控制腳(個位)/函數(shù)聲明:void display(unsigned int da);/定義顯示函數(shù),參數(shù)為顯示內(nèi)容void delay(unsigned int timer); unsigned char ReadADC(unsigned char Chl);/從ADC通道讀數(shù)據(jù)bit WriteDAC(unsigned char dat);/往DAC通道寫數(shù)據(jù)轉(zhuǎn)換/主函數(shù),C語言的入口函數(shù):voi
16、d main()unsigned char DAT=150;/數(shù)據(jù)輸出,LED燈亮度變化在150左右值為最佳效果while(1)if(key1=0)/按鍵1按下,數(shù)據(jù)加1,并輸出轉(zhuǎn)換DAT+;WriteDAC(DAT);while(key1=0);/等待按鈕釋放if(key2=0)/按鍵2按下,數(shù)據(jù)減1,并輸出轉(zhuǎn)換DAT-;WriteDAC(DAT);while(key2=0);/if(key3=0)/按鍵3按下,/if(key4=0)/按鍵4按下,/if(key5=0)/按鍵5按下,/if(key6=0)/按鍵6按下,/display(DAT);/顯示變量內(nèi)容delay(100);/顯示函數(shù)
17、,參數(shù)為顯示內(nèi)容void display(unsigned int da)P0=0XFF;/da=da%10000;switch(l_posit)case 0:/選擇千位數(shù)碼管,關(guān)閉其它位SMG_q=0;SMG_b=1;SMG_s=1;SMG_g=1;P0=tableda/1000;/輸出顯示內(nèi)容break;case 1:/選擇百位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=0;SMG_s=1;SMG_g=1;P0=tableda%1000/100;break;case 2:/選擇十位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=1;SMG_s=0;SMG_g=1;P0=tableda%10
18、0/10;break;case 3:/選擇個位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=1;SMG_s=1;SMG_g=0;P0=tableda%10;break;l_posit+;/每調(diào)用一次將輪流顯示一位if(l_posit3)l_posit=0;/延時子函數(shù),短暫延時void delay(unsigned int timer)while(timer-);/讀AD轉(zhuǎn)值程序 輸入?yún)?shù) Chl 表示需要轉(zhuǎn)換的通道,范圍從0-3 返回值范圍0-255unsigned char ReadADC(unsigned char Chl) unsigned char Val; IIC_start();
19、 /啟動總線 IIC_write(AddWr); /發(fā)送器件地址if(ack=0)return(0); IIC_write(0x40|Chl); /發(fā)送器件子地址if(ack=0)return(0); IIC_start(); IIC_write(AddRd); if(ack=0)return(0); Val=IIC_read(); IIC_ACK(1); /發(fā)送非應(yīng)位 IIC_stop(); /結(jié)束總線 return(Val);bit WriteDAC(unsigned char dat) IIC_start(); /啟動總線 IIC_write(AddWr); /發(fā)送器件地址if(ack=
20、0)return(0); IIC_write(0x40); /發(fā)送器件子地址 if(ack=0)return(0); IIC_write(dat); /發(fā)送數(shù)據(jù) if(ack=0)return(0); IIC_stop(); DA波形輸出 #include #include #define AddWr 0x90 /寫數(shù)據(jù)地址 #define AddRd 0x91 /讀數(shù)據(jù)地址/變量定義:code unsigned char table=0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90;/表:共陽數(shù)碼管 0-9 unsigned char l_p
21、osit=0;/顯示位置extern bit ack;/引腳定義:sbit key1 = P37;/定義按鍵1sbit key2 = P36;/定義按鍵2sbit key3 = P35;/定義按鍵3sbit key4 = P34;/定義按鍵4sbit key5 = P33;/定義按鍵5sbit key6 = P32;/定義按鍵6sbit SMG_q = P10;/定義數(shù)碼管陽級控制腳(千位)sbit SMG_b = P11;/定義數(shù)碼管陽級控制腳(百位)sbit SMG_s = P12;/定義數(shù)碼管陽級控制腳(十位)sbit SMG_g = P13;/定義數(shù)碼管陽級控制腳(個位)/函數(shù)聲明:v
22、oid display(unsigned int da);/定義顯示函數(shù),參數(shù)為顯示內(nèi)容void delay(unsigned int timer); unsigned char ReadADC(unsigned char Chl);/從ADC通道讀數(shù)據(jù)bit WriteDAC(unsigned char dat);/往DAC通道寫數(shù)據(jù)轉(zhuǎn)換/主函數(shù),C語言的入口函數(shù):void main()unsigned char DAT=150;/數(shù)據(jù)輸出while(1)if(key1=0)/按鍵1按下,方波處理,LED燈保持一個亮度while(key6)/長按6鍵退出WriteDAC(0);delay(5
23、00);WriteDAC(250);delay(500);if(key2=0)/按鍵2按下,鋸齒波處理,LED燈從暗到亮變化while(key6)/長按6鍵退出for(DAT=0;DAT255;DAT+)WriteDAC(DAT);delay(500);if(key3=0)/按鍵3按下,三角波處理,LED燈從暗到亮再從亮到暗變化while(key6)/長按6鍵退出for(DAT=0;DAT0;DAT-)WriteDAC(DAT);delay(500);/if(key4=0)/按鍵4按下,/if(key5=0)/按鍵5按下,/if(key6=0)/按鍵6按下,/display(0);/數(shù)碼管顯示
24、0000表示退出狀態(tài)delay(100);/顯示函數(shù),參數(shù)為顯示內(nèi)容void display(unsigned int da)P0=0XFF;/da=da%10000;switch(l_posit)case 0:/選擇千位數(shù)碼管,關(guān)閉其它位SMG_q=0;SMG_b=1;SMG_s=1;SMG_g=1;P0=tableda/1000;/輸出顯示內(nèi)容break;case 1:/選擇百位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=0;SMG_s=1;SMG_g=1;P0=tableda%1000/100;break;case 2:/選擇十位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=1;SMG
25、_s=0;SMG_g=1;P0=tableda%100/10;break;case 3:/選擇個位數(shù)碼管,關(guān)閉其它位SMG_q=1;SMG_b=1;SMG_s=1;SMG_g=0;P0=tableda%10;break;l_posit+;/每調(diào)用一次將輪流顯示一位if(l_posit3)l_posit=0;/延時子函數(shù),短暫延時void delay(unsigned int timer)while(timer-);/讀AD轉(zhuǎn)值程序 輸入?yún)?shù) Chl 表示需要轉(zhuǎn)換的通道,范圍從0-3 返回值范圍0-255unsigned char ReadADC(unsigned char Chl) unsig
26、ned char Val; IIC_start(); /啟動總線 IIC_write(AddWr); /發(fā)送器件地址if(ack=0)return(0); IIC_write(0x40|Chl); /發(fā)送器件子地址if(ack=0)return(0); IIC_start(); IIC_write(AddRd); if(ack=0)return(0); Val=IIC_read(); IIC_ACK(1); /發(fā)送非應(yīng)位 IIC_stop(); /結(jié)束總線 return(Val);/往DAC通道寫數(shù)據(jù)轉(zhuǎn)換bit WriteDAC(unsigned char dat) IIC_start();
27、/啟動總線 IIC_write(AddWr); /發(fā)送器件地址if(ack=0)return(0); IIC_write(0x40); /發(fā)送器件子地址 if(ack=0)return(0); IIC_write(dat); /發(fā)送數(shù)據(jù) if(ack=0)return(0); IIC_stop(); 4、 #include #include #define AddWr 0x90 /寫數(shù)據(jù)地址 #define AddRd 0x91 /讀數(shù)據(jù)地址/變量定義:extern bit ack;code unsigned char zx720=0x80,0x81,0x82,0x83,0x84,0x85,0
28、x86,0x87,0x88,0x8a,0x8b,0x8c,0x8d,0x8e,0x8f,0x90,0x91,0x92,0x94, 0x95,0x96,0x97,0x98,0x99,0x9a,0x9b,0x9c,0x9d,0x9e,0xa0,0xa1,0xa2,0xa3,0xa4,0xa5,0xa6,0xa7,0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf,0xb0,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7,0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf,0xbf,0xc0,0xc1,0xc2,0xc3,0xc4,
29、0xc5,0xc6,0xc7,0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xcd,0xce,0xcf,0xd0,0xd1,0xd2,0xd3,0xd3,0xd4,0xd5,0xd6,0xd7,0xd8,0xd8,0xd9,0xda,0xdb,0xdc,0xdc,0xdd, 0xde,0xdf,0xdf,0xe0,0xe1,0xe2,0xe2,0xe3,0xe4,0xe4,0xe5,0xe6,0xe6,0xe7,0xe8,0xe8,0xe9,0xea,0xea,0xeb,0xeb,0xec,0xed,0xed,0xee,0xee,0xef,0xef,0xf0,0xf1,0xf1
30、,0xf2,0xf2,0xf3,0xf3,0xf4,0xf4,0xf4,0xf5,0xf5,0xf6,0xf6,0xf7,0xf7,0xf7,0xf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,0x10,0x10,0x11,0x11,0x12,0x12,0x13,0x14,0x14,0x15,0x15,0x16,0x17,0x17,0x18,0x19,0x19,0x1a,0x1b,0x1b,0x1c,0x1d,0x1d,0x1e,0x1f,0x20,0x20,0x21,0x22,0x23,0x2
38、3,0x24,0x25,0x26,0x27,0x27,0x28,0x29,0x2a,0x2b,0x2c,0x2c,0x2d,0x2e,0x2f,0x30,0x31,0x32,0x32,0x33,0x34,0x35,0x36,0x37,0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f,0x3f,0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47,0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4f,0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57,0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f,0x61,0x62,0x63,0x64,0x65,0x66,0x67,0x68,0x69,0x6a,0x6b,0x6d,0x6e,0x6f,0x70,0x71,0x72,0x73,0x74,0x75,0x77,0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e; unsigned char ReadADC(unsigned char Chl);/從ADC通道讀數(shù)據(jù)bit WriteDAC(u
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責。
- 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 餐飲行業(yè)人才招聘總結(jié)
- 美容美發(fā)行業(yè)美工崗位任務(wù)
- 2024年稅務(wù)師題庫及答案【必刷】
- 2024年認識公頃教學教案
- 2024年秋季二年級數(shù)學上冊教案(17篇)
- 2024年牛頓第一定律教案
- 初中生請假安全協(xié)議書(2篇)
- 2024年計算機專業(yè)求職簡歷模版
- 核心語法知識夯基綜合測試-2025屆高三人教版英語一輪復(fù)習闖關(guān)攻略(解析版)
- 迎接信息化挑戰(zhàn) 打造“數(shù)字化校園”
- 2024年國家特種設(shè)備安全管理人員A證考試題庫(附答案)
- 2024-2030年中國疫苗佐劑行業(yè)市場發(fā)展趨勢與前景展望戰(zhàn)略分析報告
- TCSIA 008-2021 建筑施工扣件式鋼管腳手架 安全檢查與驗收標準
- 人教版四年級上冊數(shù)學期末試卷(八套)
- 托育機構(gòu)年度計劃
- DL∕T 516-2017 電力調(diào)度自動化運行管理規(guī)程
- 2024-2025學年廣西南寧市小學五年級數(shù)學上冊期末檢查試題及答案
- 語文版六年級語文上冊期中考試卷(可打印)
- 2024年湖南省中考物理試卷真題解讀及答案解析(精校打?。?/a>
- 湖南省長沙市中學雅培粹學校2025屆七年級數(shù)學第一學期期末調(diào)研模擬試題含解析
- 江蘇省淮安市2023-2024學年七年級上學期期末生物試題【含答案解析】
評論
0/150
提交評論