• slider image 442
  • slider image 497
  • slider image 498
  • slider image 499
  • slider image 500
  • slider image 502
:::


Browsing this Thread:   1 Anonymous Users






Re: 請問24FJ128GA006能使用外部計數器嗎?
#8
版主
版主


查看用戶資訊
Master 大哥的意思是:用一顆較少腳位的 dsPIC30f2011 做一顆馬達轉速的前端處理,然後將計算完的轉速利用 SPI 界面傳給主控的 dsPIC。而另外一個馬達的轉速就由這顆主控的 dsPIC 處理。

發表於: 2008/3/25 15:03
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問24FJ128GA006能使用外部計數器嗎?
#7
新會員
新會員


查看用戶資訊
請問LOW PIN COUNT 是哪個腳位 還是暫存器阿?
不太懂大大的意思!

發表於: 2008/3/25 8:04
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問24FJ128GA006能使用外部計數器嗎?
#6
資深會員
資深會員


查看用戶資訊
你可以用Low Pin Count的dsPIC分別去量單一馬達轉速,然後透過SPI回傳。以簡化工作架構。


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


Re: 請問24FJ128GA006能使用外部計數器嗎?
#5
新會員
新會員


查看用戶資訊
請問我兩顆馬達用一顆晶片能搞定嗎

發表於: 2008/3/24 20:30
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: 請問24FJ128GA006能使用外部計數器嗎?
#4
版主
版主


查看用戶資訊
看起來你的訊號是有相位差 QEI 的編碼訊號,如果換成 dsPIC30F4011 或 64-pin 的 dsPIC30F5015 的話就可以用 QEI 介面量取此訊號,而且將MAXCOUNT設為68後就可以在第69脈衝輸入時產生 QEI 的中斷。
詳細使用方式依樣參考 檔案下載裡的 QEI 講義與範例。

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


Re: 請問24FJ128GA006能使用外部計數器嗎?
#3
新會員
新會員


查看用戶資訊
我詳細說明我的訊號源好了,我有一對訊號源a,b
我量測到他的訊號週期是
0011,0011,0011,0011...
0110,0110,0110,0110...
16次為一個大循環
現在問題卡在不知道如何抓到第69次的clock,不知道是要用哪種方法下去抓會比較好!?

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


Re: 請問24FJ128GA006能使用外部計數器嗎?
#2
版主
版主


查看用戶資訊
要讀頻率?還是脈衝的週期?
PIC24 有很強的周邊功能可以使用:
1. 用 Timer的外部計時功能良頻率,用GATE的功能量週期。
2. 用 Input Capture 功能。
3. 用 Input Change Notifications (CN) 量頻率。

可以參考左邊檔案下載裡的 dsPIC30F Peripheral module -- Timers RTC 教材。

http://www.microchip.com.tw/modules/mydownloads/

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


請問24FJ128GA006能使用外部計數器嗎?
#1
新會員
新會員


查看用戶資訊
問題:
我使用24FJ128GA006這顆,現在有一個訊號源,而訊號的速度很快大概一秒1KHZ在跑,目前想到的就只有用外部計數器來讀取訊號,我找了半天找不到這方面的文獻資料,小弟想請問各位大大是否有這方面的資料還是經驗分享

發表於: 2008/3/23 23:17
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... ]

教育訓練中心

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