freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

dsp實(shí)驗(yàn)報(bào)告(編輯修改稿)

2024-10-13 16:03 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 y Data size”都設(shè)為“100”,并且把“DSP Data Type”設(shè)為“32bit floating point”,設(shè)置好后觀察信號(hào)序列的波形(sin函數(shù),如圖);5. 單擊運(yùn)行;6. 觀察三個(gè)變量從初始化到運(yùn)算結(jié)束整個(gè)過(guò)程中的變化;觀察正弦波形從初始化到運(yùn)算結(jié)束整個(gè)過(guò)程中的變化;7. 修改輸入序列的長(zhǎng)度或初始值,重復(fù)上述過(guò)程。五、實(shí)驗(yàn)心得體會(huì)通過(guò)本次實(shí)驗(yàn),加深了我對(duì)DSP的認(rèn)識(shí),使我對(duì)DSP實(shí)驗(yàn)的操作有了更進(jìn)一步的理解。基本掌握了CCS實(shí)驗(yàn)環(huán)境的使用,并能夠使用C語(yǔ)言進(jìn)行簡(jiǎn)單的DSP程序設(shè)計(jì)。從軟件的安裝到使用軟件進(jìn)行程序設(shè)計(jì)與仿真,鍛煉了自己的動(dòng)手能力,也遇到了不少的坎坷,例如芯片的選擇,不能因?yàn)槁闊┒÷栽摬襟E,否則將會(huì)運(yùn)行出錯(cuò)。附錄實(shí)驗(yàn)程序: include “” include “” define N 100 define pi float sin_value[100]。float X0,Y0,Z0。void main(void){int i。for(i=0。isin_value[i]=0。X0=。/* 0000 0000 0000 */Y0=。/* 0000 0000 0000 */Z0=X0*Y0。/* 0000 0000 0000 0000 0000 0000 0000 */for(i=0。isin_value[i]=100*(sin(2*pi*i/N))。}龍巖學(xué)院實(shí) 驗(yàn) 報(bào) 告班級(jí)07電本(1)班學(xué)號(hào)2007050344姓名 楊寶輝 同組人獨(dú)立實(shí)驗(yàn)日期2010520室溫大氣壓成 績(jī)數(shù)碼管控制實(shí)驗(yàn)一、實(shí)驗(yàn)?zāi)康?; 熟悉74HC573的使用方法。熟悉DSP的IO操作使用方法。二、實(shí)驗(yàn)設(shè)備;; 。三、實(shí)驗(yàn)原理 此模塊由數(shù)碼管和四個(gè)鎖存器組成。數(shù)碼管為共陰極型的。數(shù)據(jù)由2812模塊的低八位輸入,鎖存器的控制信號(hào)由2812模塊輸出,但經(jīng)由CPLD模塊譯碼后再控制對(duì)應(yīng)的八個(gè)四、實(shí)驗(yàn)步驟 ;,生成輸出文件,通過(guò)仿真器把執(zhí)行代碼下載到DSP芯片;。數(shù)碼管會(huì)顯示1~8的數(shù)字。五、實(shí)驗(yàn)心得體會(huì)通過(guò)本次實(shí)驗(yàn)中,基本掌握了2812的指令系統(tǒng)的特點(diǎn),并能夠了解并熟悉74HC573的使用方法,進(jìn)一步加深了對(duì)DSP的認(rèn)識(shí)。同時(shí),通過(guò)實(shí)驗(yàn)操作DSP的IO操作使用方法,對(duì)于DSP的IO操作可以熟悉的運(yùn)用,學(xué)到更多的知識(shí)。程序見(jiàn)附錄:include “include/”// DSP281x Headerfile Include File include “include/”// DSP281x Examples Include File // Prototype statements for functions found within this delay_loop(void)。void Gpio_select(void)。// Global variable for this example short codetab[17]= {0x4020,0x6cc0,0x5800,0x4840,0x6440,0xC040,0xC000,0x4cc0, 0x4000,0x4040,0x4400,0xE000,0xD080,0xE800,0xD000,0xD400,0xffff}。main(){short i。// Step System Control: // PLL, WatchDog, enable Peripheral Clocks // This example function is found in the ()。// Specific clock setting for this example:EALLOW。EDIS。// Step GPIO:// This example function is found in the file and // illustrates how to set the GPIO to it39。s default state.// InitGpio()。// Skipped for this example // For this example use the following configuration:Gpio_select()。// Step all interrupts and initialize PIE vector table: // Disable CPU interruptsDINT。// Initialize the PIE control registers to their default state.// The default state is all PIE interrupts disabled and flags // are cleared.// This function is found in the ()。// Disable CPU interrupts and clear all CPU interrupt flags:IER = 0x0000。IFR = 0x0000。// Initialize the PIE vector table with pointers to the shell Interrupt // Service Routines(ISR).// This will populate the entire table, even if the interrupt // is not used in this is useful for debug purposes.// The shell ISR routines are found in .// This function is found in ()。// Step all the Device Peripherals: // This function is found in // InitPeripherals()。// Not required for this exampleInitXintf()。// For this example, init the Xintf // Step specific code, enable interrupts:=0。Reg01=0x00。=0。Reg02=0x00。=0。Reg03=0x00。=0。Reg04=0x00。while(1){for(i=0。i{Reg01=0x00。delay_loop()。}for(i=0。i{Reg02=0x00。delay_loop()。}for(i=0。i{Reg03=0x00。delay_loop()。}for(i=0。i{Reg04=0x00。delay_loop()。}} }void delay_loop(){=~codetab[i]。=~codetab[i]。=~codetab[i]。=~codetab[i]。shorti,j。for(i = 0。i 32767。i++){for(j = 0。j 10。j++)。} }void Gpio_select(void){Uint16 var1。Uint16 var2。Uint16 var3。var1= 0x0000。var2= 0xFFFF。var3= 0x0000。EALLOW。=var1。// sets GPIO Muxs as I/Os// sets GPIO DIR as outputs// sets the Input qualifier values=var1。=var1。=var1。=var1。=var1。=var2。// GPIO PORTs as output// GPIO DIR select GPIOs as output=var2。=var2。=var2。=var2。=var2。=var3。=var3。=var3。=var3。EDIS。} // No more.// Set GPIO input qualifier values 龍巖學(xué)院實(shí) 驗(yàn) 報(bào) 告班級(jí)07電本(1)班學(xué)號(hào)2007050344 姓名 楊寶輝同組人獨(dú)立實(shí)驗(yàn)日期2010525室溫大氣壓成 績(jī)交通燈控制實(shí)驗(yàn)一、實(shí)驗(yàn)?zāi)康模?。二、實(shí)驗(yàn)設(shè)備;; 。三、實(shí)驗(yàn)原理此模塊由發(fā)光二極管和一個(gè)鎖存器組成。數(shù)據(jù)由2812模塊的低八位輸入,鎖存器的控制信號(hào)由2812模塊輸出,但經(jīng)由CPLD模塊譯碼后再控制鎖存器。四、實(shí)驗(yàn)步驟;,生成輸出文件,通過(guò)仿真器把執(zhí)行代碼下載到DSP芯片; ,發(fā)光二極管按交通燈方式點(diǎn)亮熄滅。,自行修改程序,實(shí)現(xiàn)不同的交通燈控制方式。五、實(shí)驗(yàn)心得體會(huì)通過(guò)次實(shí)驗(yàn)中,使我掌握了 2812的指令系統(tǒng)和74HC573的使用方法。同時(shí),使我掌握了DSP的IO操作使用方法。實(shí)驗(yàn)程序見(jiàn)附錄: 附錄:include “include/”// DSP281x Headerfile Include File include “include/”// DSP281x Examples Include File // Prototype statements for functions found within this delay_loop(void)。void Gpio_select(void)。// Global variable for this example main(){ // Step System Control: // PLL, WatchDog, enable Peripheral Clocks // This example function is found in the ()。// Specific clock setting for this example:EALLOW。EDIS。// Step GPIO:// This example function is found in the file and // illustrates how to set the GPIO to it39。s default state.// InitGpio()。// Skipped for this example// For this example use the following configuration:Gpio_select()。// Step all interrupts and initialize PIE vector table: // Disable CPU interruptsDINT。// Initialize the PIE control registers to their default state.// The default state is all PIE interrupts disabled and flags // are cleared.// This function is found in the ()。// Disable CPU interrupts and clear all CPU interrupt flags:IER = 0x0000。IFR = 0x0000。// Initialize the PIE vector table with pointers to the shell Interrupt // Service Routines(ISR).// This will populate the entire table, even if the interrupt // is not used in this is useful for debug purposes.// The shell ISR routines are found in .// This function is found in ()。// Step all the Device Peripherals: // This function is found in // InitPeripherals()。// Not required for this exampleInitXintf()。// For this example, init the Xintf // Step specific code, enable interrupts:while(1){=0xdc80。Reg00=0x00。delay_loop()。=0xec40。Reg00=0x00。delay_loop()。=0xf0c0。Reg00=0x00。delay_loop()。=0xec40。Reg00=0x00。delay_loop()。} }void delay_loop(){shorti,j。for(i = 0。i 32767。i++){for(j = 0。j 50。j++)。} } void Gpio_select(void){Uint16 var1。Uint16 var2。Uint16 var3。var1= 0x0000。var2= 0xFFFF。var3= 0x0000。EALLOW。=var1。// sets GPIO Muxs as I/Os // sets GPIO DIR as outputs // sets the Input q
點(diǎn)擊復(fù)制文檔內(nèi)容
合同協(xié)議相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1