• slider image 442
  • slider image 477
  • slider image 479
  • slider image 480
  • slider image 481
  • slider image 482
:::


Browsing this Thread:   1 Anonymous Users




« 1 (2)


Re: PIC16F688 UART問題
#5
新會員
新會員


查看用戶資訊
可以下載了,謝謝版大的上傳 ,感恩!
正在研讀中不懂再上來發問

發表於: 2009/6/29 22:10
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F688 UART問題
#4
版主
版主


查看用戶資訊
謝謝告知,檔案重新上傳了,請在試一下。
http://www.microchip.com.tw/modules/w ... nglefile.php?cid=4&lid=68

發表於: 2009/6/24 10:21
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F688 UART問題
#3
新會員
新會員


查看用戶資訊
謝謝版大的教導,但這個載點不能下載了耶,可以再重傳一次嗎?
謝謝!

發表於: 2009/6/23 21:27
Twitter Facebook Google Plus Linkedin Del.icio.us Digg Reddit Mr. Wong 頂部


Re: PIC16F688 UART問題
#2
版主
版主


查看用戶資訊
一般 UART 的接收會使用中斷方式去完成,因為你不知道何時對方會傳送資料過來。而發送資料可以用中斷方式或不用中斷方式來發送,主要是因為發送是你在掌控的。
有關 UART 收發ˇ呃組合語言範例,在201 ASP 教育訓練裡的練習七就有詳細的說明與範例可供參考。你是初學者,看不懂在來問吧!

LAB 7 :
本實驗的程式方在以下的目錄 C:RTC201_ASPLab7-EUSART
設定 USART 在非同步模式
9600 bps
None Parity Check8-bit Data1 Stop bit
4MHz
/16/(25+1) =9615 bps  SPBRG 25
Set PORTC 
for TxD RxD
Set PORTD 
for LEDs output
Turn on USART module
RS
-232 資料接收採中斷方式,接收後再交由主程式傳送到 RS-232


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

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


PIC16F688 UART問題
#1
新會員
新會員


查看用戶資訊
請問各位大大,PIC16F688 這個IC 的UART功能有辦法去做中斷觸發的功能嗎?如果有的話要如何去設定呢
例如:我利用UART的TX與RX從PC端接收指令,那我目前PIC16F688的正在做LED閃爍的功能,那我的UART又收到PC端送了另一個指令要去做LED全暗的功能,那這時候我要如何做比較好?
先在這裡謝謝各位的指導。

發表於: 2009/6/22 23:05
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... ]

教育訓練中心

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