• slider image 514
  • slider image 516
  • slider image 517
  • slider image 518
  • slider image 519
:::


Browsing this Thread:   3 Anonymous Users






Re: PIC18F4550中USB的Transfer type
#5
高級會員
高級會員


查看用戶資訊
您好...
FSEN是UCFG這個Register的其中一個bit...
(詳細請看PIC18F2455 Spec. Page.166)

你在Initial USB時寫...
BSF UCFG, FSEN ; 設定為Full Speed...

至於您說要改變傳出模式...改成Bulk,Interrupt或是 Isochronous.......
這是沒辦法靠改Register來改變的....
這是要靠寫韌體來控制的.....

就是您的USB在"列舉"的過程中....
您所定義的那些Descriptor會告訴PC你是什麼傳輸模式....

希望上面的回答對您有幫助...^^

發表於: 2006/7/27 16:16
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F4550中USB的Transfer type
#4
新會員
新會員


查看用戶資訊
您好....
請問一下UCFG這個Register...
其中的FSEN...這個bit...可設定Device為Full Speed....

這要在哪裡設定
感恩阿



發表於: 2006/7/27 15:56
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F4550中USB的Transfer type
#3
新會員
新會員


查看用戶資訊
感謝你的回復
哪關於Bulk,Interrupt,Isochronous要在哪裡設定呢,因為我想改變這個設定讓傳輸速度可以增加
感謝你

發表於: 2006/7/27 10:00
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC18F4550中USB的Transfer type
#2
高級會員
高級會員


查看用戶資訊
您好....
您可以在Initial USB時檢查一下UCFG這個Register...
其中的FSEN...這個bit...可設定Device為Full Speed....

或是檢查一下您的Device Descriptor是否設為Full Speed....
(雖然我覺得這個Descriptor設啥都沒差...>"<)

PS : PIC18F4550只有Low Speed和Full Speed...
並沒有High Speed...!!!

發表於: 2006/7/26 20:19
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


PIC18F4550中USB的Transfer type
#1
新會員
新會員


查看用戶資訊
請問一下關於PIC18F4550中USB的Transfer type,我現在利用VB進行IO控制發現其速度不夠快,是否是因為Transfer type設定的關係?????預設的USB的Transfer type為哪一種???

發表於: 2006/7/26 19: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... ]

教育訓練中心

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