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


Browsing this Thread:   1 Anonymous Users






Re: SPI master mode SSx 如何設定?
#4
資深會員
資深會員


查看用戶資訊
SSx這支腳只有在使用slave模式時才有用,這支腳會被SPI在slave模式時的模組所使用,在slave模式時,只有當SSx這支腳在低電位時,SPI模組(slave mode)才會對Master端送來的SCK有動作,進而產生資料的位移,所以在slave模式時SSx這支腳是不可以隨便換的,因為SPI模組(slave mode)只認識這支腳。

而在master模式下,SSx這支腳是可以當做一般IO的,也就是說,在master下,SSx這支腳並不在SPI模組裡使用,不過因為我們在使用Master模式的SPI時,都是在控制其它元件(slave 元件),所以我們在設計時通常直接用SSx這支腳來當做slave端的cs(或稱ss)腳,也就是將它當成一般IO使用。

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


Re: SPI master mode SSx 如何設定?
#3
版主
版主


查看用戶資訊
是的,SS 是 SPI Slave Select 的縮寫。一般 SPI Master 可以用一隻 output 腳來控制要選擇哪一個 Slave,而 Slave 就是用 SS pin 來選擇的。

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


Re: SPI master mode SSx 如何設定?
#2
中級會員
中級會員


查看用戶資訊
可以說有用也可以說沒用

SSx那隻腳只是通知接收端致能用

也可以使用其他腳位代替

其HIGH和LOW需要由軟體控制

沒使用過PIC24F

用過其他顆IC都是一樣的

我想應該是一樣的

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


SPI master mode SSx 如何設定?
#1
中級會員
中級會員


查看用戶資訊
請問在 PIC24F 使用SPI介面master mode,
其中SSx (SPI select) 在master mode是否無用?必須自己控制High Low.
並不會隨著資料傳送完畢而變High?

發表於: 2008/3/31 19:08
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... ]

教育訓練中心

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