• 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: 如何得知是否有用到DSP的功能?
#5
資深會員
資深會員


查看用戶資訊
參照:

master 寫道:
一般要使用DSP Function,最簡單的方式就是用DSP Lib在C呼叫。若你能將資料用Q15方式處理,然後用DSP Lib呼叫就會發現他是個好用的東西。

你可以參考這個網址的Code.就會知道dsPIC好用在哪?
http://diydrones.com/page/uav-devboard


好像很不錯,要怎麼購買?

發表於: 2009/9/16 23:01
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何得知是否有用到DSP的功能?
#4
資深會員
資深會員


查看用戶資訊
一般要使用DSP Function,最簡單的方式就是用DSP Lib在C呼叫。若你能將資料用Q15方式處理,然後用DSP Lib呼叫就會發現他是個好用的東西。

你可以參考這個網址的Code.就會知道dsPIC好用在哪?
http://diydrones.com/page/uav-devboard

發表於: 2009/9/16 0:04
不要問我哪裡來,我只是個流浪天涯的工程師
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何得知是否有用到DSP的功能?
#3
中級會員
中級會員


查看用戶資訊
剛查看了學長的程式,
似乎沒有用到Ryang兄所提到的方式,
都只是一般的加減乘除之類的,

這樣看起來似乎就無需侷限在dsPIC上面了。
感謝Ryang的解答


發表於: 2009/9/15 23:44
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 如何得知是否有用到DSP的功能?
#2
版主
版主


查看用戶資訊
C30 Compiler 在編譯的過程中不會使用到 DSP 的指令,這是各家都有此相同的特點。所有的加減乘除都是使用一般C的處理方式在做的。如果要在C30 使用 DSP 指令的話要自己用 In-Line Laasembly, 獨立式的 C 呼叫 Assembly ,使用Built-In 函數及使用 DSP 函數庫等方式。

不然你可以試寫一下一個 unsiened int x unsigned int 的算式,compiler 後檢視一下 listing file 後你就會知道C compiler 其實是很笨的,這時就需聰明的人去改寫的。

這也就是為什麼很多複雜的應用,像 FOC Motor Control 都在採用 C + Assembly 來寫的。

發表於: 2009/9/14 11:39
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


如何得知是否有用到DSP的功能?
#1
中級會員
中級會員


查看用戶資訊
大家好!
目前學長是用DSP30f4011 (用C開發的)
想說要不要改換成更快的PIC24系列(40MIPS)

但是不知道有沒有用到DSPIC的特別功能
是要看組譯出來asm檔有沒有用到DSP的特別指令
還是只要不用到內建的DSP函式就好?

另外想問一下 在組譯器在組譯的時候
會自動用dsp的功能進行優化嘛?

發表於: 2009/9/13 20:30
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... ]

教育訓練中心

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