• slider image 442
  • slider image 483
  • slider image 484
  • slider image 485
  • slider image 486
  • slider image 487
  • slider image 488
  • slider image 491
:::


Browsing this Thread:   1 Anonymous Users






Re: 請問FFT涵式庫?
#8
新會員
新會員


查看用戶資訊
請教各位大大!!

最近小弟在使用FFT時, 做完FFTCOMPLEX(....)之後的資料, 將fractional格式轉成dec時, 利用MATLAB作check, 發現與MATLAB有相當的差異, 不曉得我是哪邊有需要再設定?!
請有使用過FFT的大大解惑, 感恩!!

PS. 已參考過線上FFT相關程式範例!

發表於: 2009/4/7 15:11
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問FFT涵式庫?
#7
初級會員
初級會員


查看用戶資訊
乎~總算可以BUILD SUCCEEDED


以下網址,大家可以參考
http://forum.microchip.com/tm.aspx?m= ... y=DSP%2cfunctions񎨒

發表於: 2008/11/13 23:08
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問FFT涵式庫?
#6
初級會員
初級會員


查看用戶資訊
一直覺得
libdsp-coff.a都沒連結到= =


我看說明 libdsp-coff.a支援dsp.a檔,不知道這樣正確嗎?



FFT.H檔裡面才幾行?? ↓↓↓

/* Constant Definitions */
#define FFT_BLOCK_LENGTH 256
#define LOG2_BLOCK_LENGTH 8
#define SAMPLING_RATE 10000
#define FFTTWIDCOEFFS_IN_PROGMEM

發表於: 2008/11/11 23:46
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問FFT涵式庫?
#5
新會員
新會員


查看用戶資訊
你好!!

我這邊有個引用FFT函式庫的問題(BUILD FAILED)
錯誤訊息如下:
Link Error: Could not allocate section '.ybss', because 'ymemory,near' is not a valid combination on this device
main.o: Link Error: Could not allocate section .ybss, size = 192 bytes, attributes = bss near ymemory
Link Error: Could not allocate data memory

不知道是哪邊出現問題
PS. 已include ..\lib\libdsp-coff.a

另外我使用dsPIC33FJ128MC708板子

請解答疑惑,謝謝,感恩~~

發表於: 2008/11/3 18:07
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問FFT涵式庫?
#4
版主
版主


查看用戶資訊
抱歉! 給到錯誤的位址了,試試底下的:

http://www.microchip.com.tw/modules/w ... nglefile.php?cid=4&lid=37

http://www.microchip.com.tw/modules/w ... nglefile.php?cid=4&lid=38

libp30f4011-coff.a 是針對 dsPIC30F4011 的周邊函數庫。
因為 FFT 要用到 DSP 的函數庫所以要另外加進來,用法請參考 C30 Libraries User's Guide 裡的有關 FFT 的說明。

發表於: 2008/10/24 16:11
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問FFT涵式庫?
#3
初級會員
初級會員


查看用戶資訊
Linker script : Linkerscript.gld

library Files : libp30F4011-coff

以上是自己設定的,

版主說的LINK30 找不到 DSP.a,是libp30F4011-coff要改成DSP.a ??

BUILD後:
------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "twiddleFactors.c" -o"obj\twiddleFactors.o" -I"..\h" -g
A language-plugin exception occurred and was logged.
BUILD FAILED: Fri Oct 24 15:46:16 2008
------------------------------





版主給的網址 出現 :
抱歉, 您沒有取用這個區域的權限

發表於: 2008/10/24 15:56
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問FFT涵式庫?
#2
版主
版主


查看用戶資訊
可以先參考一下 dsPIC W101 的教材,最後一章就是講 FFT 的練習,程式裡會自己產生三個 Tone 後利用FFT函數來濾波。所有的結果可以用 dsPICWork 的軟體分析FFT的資料,還有濾波器的係數(coefficient) 是由 FilterDesign 所算出來的。

還有編議會錯是不是 LINK30 找不到 DSP.a ,include library的路徑沒設定。

http://www.microchip.com.tw/modules/w ... nglefile.php?cid=3&lid=13

發表於: 2008/10/24 15:11
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


請問FFT涵式庫?
#1
初級會員
初級會員


查看用戶資訊
想了解應用FFT的一些暫存器的功能

不知道有人可以提供涵式庫嗎??


看書本裡的範例18-2搭配.h檔,總覺得資料少多了

在美國的部分


http://www.microchip.com/stellent/idc ... Id=1406&dDocName=en023598

...



還是哪位大老可以說明一下哪個DATASHEET有說明FFT的相關資料

目前使用ic 4011




---------------------------------------------------------
內建的CE018_FFT_DSPlib程式依照安裝說明

也不知為啥咪BUILD FAILED

已經沒有藍底出現了,還是失敗。

不知道有過來人能指導一下有哪些需特別注意的地方嗎?


感謝不吝指教

發表於: 2008/10/24 1:09
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部







You can view topic.
不可以 發起新主題
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.
You cannot use topic type.
You cannot use HTML syntax.
You cannot use signature.
You cannot create PDF files.
You cannot get print page.

[進階搜尋]


:::

Microchip連結

https://www.facebook.com/microchiptechnologytaiwan/
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=13
https://mu.microchip.com/page/tmu
http://elearning.microchip.com.tw/modules/tad_link/index.php?cate_sn=1
https://page.microchip.com/APAC-PrefCenters-TW.html
http://www.microchip.com/
http://www.microchip.com/treelink
http://www.microchipdirect.com/
http://www.microchip.com.cn/newcommunity/index.php?m=Video&a=index&id=103
http://www.microchip.com.tw/modules/tad_uploader/index.php?of_cat_sn=2
http://www.microchip.com.tw/Data_CD/eLearning/index.html
http://www.microchip.com.tw/RTC/RTC_DVD/
https://www.microchip.com/development-tools/
https://www.youtube.com/user/MicrochipTechnology
[ more... ]

教育訓練中心

!開發工具購買
辦法說明 [業界客戶] [教育單位]
----------------------------------
!校園樣品申請
辦法說明 [教師資格] [學生資格]
----------------------------------