參數(shù)資料
型號: TOOLSTICK342MPP
廠商: Silicon Laboratories Inc
文件頁數(shù): 142/276頁
文件大?。?/td> 0K
描述: ADAPTER TOOLSTICK FOR C8051F34X
標準包裝: 1
系列: ToolStick
類型: 微控制器編程器
適用于相關(guān)產(chǎn)品: C8051F34x
所含物品: 2 個板和 USB 連接線纜
產(chǎn)品目錄頁面: 626 (CN2011-ZH PDF)
相關(guān)產(chǎn)品: 336-1351-5-ND - IC 8051 MCU 32K FLASH MEM 32-QFN
336-1350-5-ND - IC 8051 MCU 64K FLASH MEM 32-QFN
336-1349-5-ND - IC 8051 MCU 32K FLASH MEM 32-QFN
336-1348-5-ND - IC 8051 MCU 32K FLASH MEM 32-QFN
336-1347-5-ND - IC 8051 MCU 64K FLASH MEM 32-QFN
336-1346-5-ND - IC 8051 MCU 32K FLASH MEM 32-QFN
336-1345-5-ND - IC 8051 MCU 64K FLASH MEM 32-QFN
336-1534-ND - IC 8051 MCU 32K FLASH 32LQFP
336-1533-ND - IC 8051 MCU 64K FLASH 32LQFP
336-1509-ND - IC 8051 MCU FLASH 32K 32LQFP
更多...
其它名稱: 336-1748
第1頁第2頁第3頁第4頁第5頁第6頁第7頁第8頁第9頁第10頁第11頁第12頁第13頁第14頁第15頁第16頁第17頁第18頁第19頁第20頁第21頁第22頁第23頁第24頁第25頁第26頁第27頁第28頁第29頁第30頁第31頁第32頁第33頁第34頁第35頁第36頁第37頁第38頁第39頁第40頁第41頁第42頁第43頁第44頁第45頁第46頁第47頁第48頁第49頁第50頁第51頁第52頁第53頁第54頁第55頁第56頁第57頁第58頁第59頁第60頁第61頁第62頁第63頁第64頁第65頁第66頁第67頁第68頁第69頁第70頁第71頁第72頁第73頁第74頁第75頁第76頁第77頁第78頁第79頁第80頁第81頁第82頁第83頁第84頁第85頁第86頁第87頁第88頁第89頁第90頁第91頁第92頁第93頁第94頁第95頁第96頁第97頁第98頁第99頁第100頁第101頁第102頁第103頁第104頁第105頁第106頁第107頁第108頁第109頁第110頁第111頁第112頁第113頁第114頁第115頁第116頁第117頁第118頁第119頁第120頁第121頁第122頁第123頁第124頁第125頁第126頁第127頁第128頁第129頁第130頁第131頁第132頁第133頁第134頁第135頁第136頁第137頁第138頁第139頁第140頁第141頁當前第142頁第143頁第144頁第145頁第146頁第147頁第148頁第149頁第150頁第151頁第152頁第153頁第154頁第155頁第156頁第157頁第158頁第159頁第160頁第161頁第162頁第163頁第164頁第165頁第166頁第167頁第168頁第169頁第170頁第171頁第172頁第173頁第174頁第175頁第176頁第177頁第178頁第179頁第180頁第181頁第182頁第183頁第184頁第185頁第186頁第187頁第188頁第189頁第190頁第191頁第192頁第193頁第194頁第195頁第196頁第197頁第198頁第199頁第200頁第201頁第202頁第203頁第204頁第205頁第206頁第207頁第208頁第209頁第210頁第211頁第212頁第213頁第214頁第215頁第216頁第217頁第218頁第219頁第220頁第221頁第222頁第223頁第224頁第225頁第226頁第227頁第228頁第229頁第230頁第231頁第232頁第233頁第234頁第235頁第236頁第237頁第238頁第239頁第240頁第241頁第242頁第243頁第244頁第245頁第246頁第247頁第248頁第249頁第250頁第251頁第252頁第253頁第254頁第255頁第256頁第257頁第258頁第259頁第260頁第261頁第262頁第263頁第264頁第265頁第266頁第267頁第268頁第269頁第270頁第271頁第272頁第273頁第274頁第275頁第276頁
C8051F340/1/2/3/4/5/6/7/8/9/A/B/C/D
226
Rev. 1.3
20.3. SPI0 Slave Mode Operation
When SPI0 is enabled and not configured as a master, it will operate as a SPI slave. As a slave, bytes are
shifted in through the MOSI pin and out through the MISO pin by a master device controlling the SCK sig-
nal. A bit counter in the SPI0 logic counts SCK edges. When 8 bits have been shifted through the shift reg-
ister, the SPIF flag is set to logic 1, and the byte is copied into the receive buffer. Data is read from the
receive buffer by reading SPI0DAT. A slave device cannot initiate transfers. Data to be transferred to the
master device is pre-loaded into the shift register by writing to SPI0DAT. Writes to SPI0DAT are dou-
ble-buffered, and are placed in the transmit buffer first. If the shift register is empty, the contents of the
transmit buffer will immediately be transferred into the shift register. When the shift register already con-
tains data, the SPI will load the shift register with the transmit buffer’s contents after the last SCK edge of
the next (or current) SPI transfer.
When configured as a slave, SPI0 can be configured for 4-wire or 3-wire operation. The default, 4-wire
slave mode, is active when NSSMD1 (SPI0CN.3) = 0 and NSSMD0 (SPI0CN.2) = 1. In 4-wire mode, the
NSS signal is routed to a port pin and configured as a digital input. SPI0 is enabled when NSS is logic 0,
and disabled when NSS is logic 1. The bit counter is reset on a falling edge of NSS. Note that the NSS sig-
nal must be driven low at least 2 system clocks before the first active edge of SCK for each byte transfer.
Figure 20.4 shows a connection diagram between two slave devices in 4-wire slave mode and a master
device.
3-wire slave mode is active when NSSMD1 (SPI0CN.3) = 0 and NSSMD0 (SPI0CN.2) = 0. NSS is not
used in this mode, and is not mapped to an external port pin through the crossbar. Since there is no way of
uniquely addressing the device in 3-wire slave mode, SPI0 must be the only slave device present on the
bus. It is important to note that in 3-wire slave mode there is no external means of resetting the bit counter
that determines when a full byte has been received. The bit counter can only be reset by disabling and
re-enabling SPI0 with the SPIEN bit. Figure 20.3 shows a connection diagram between a slave device in
3-wire slave mode and a master device.
20.4. SPI0 Interrupt Sources
When SPI0 interrupts are enabled, the following four flags will generate an interrupt when they are set to
logic 1:
Note that all of the following bits must be cleared by software.
1.
The SPI Interrupt Flag, SPIF (SPI0CN.7) is set to logic 1 at the end of each byte transfer. This
flag can occur in all SPI0 modes.
2.
The Write Collision Flag, WCOL (SPI0CN.6) is set to logic 1 if a write to SPI0DAT is attempted
when the transmit buffer has not been emptied to the SPI shift register. When this occurs, the
write to SPI0DAT will be ignored, and the transmit buffer will not be written.This flag can occur
in all SPI0 modes.
3.
The Mode Fault Flag MODF (SPI0CN.5) is set to logic 1 when SPI0 is configured as a master,
and for multi-master mode and the NSS pin is pulled low. When a Mode Fault occurs, the
MSTEN and SPIEN bits in SPI0CN are set to logic 0 to disable SPI0 and allow another master
device to access the bus.
4.
The Receive Overrun Flag RXOVRN (SPI0CN.4) is set to logic 1 when configured as a slave,
and a transfer is completed and the receive buffer still holds an unread byte from a previous
transfer. The new byte is not transferred to the receive buffer, allowing the previously received
data byte to be read. The data byte which caused the overrun is lost.
相關(guān)PDF資料
PDF描述
GCM15DTMN-S189 CONN EDGECARD 30POS R/A .156 SLD
VI-J3N-CW-F3 CONVERTER MOD DC/DC 18.5V 100W
HBC08DRXH CONN EDGECARD 16POS DIP .100 SLD
LQH32CN101K53L INDUCTOR 100UH 100MA 1210
387-036-524-802 CARDEDGE 36POS DL .156 PCB BLK
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TOOLSTICK360DC 功能描述:子卡和OEM板 C8051F362 TOOLSTICK DAUGHTER CARD RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK360PP 功能描述:插座和適配器 Dev Tool for C8051F360/F363 RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x
TOOLSTICK370-A-DC 功能描述:子卡和OEM板 ToolStk C8051F37x/9x Daugter Card RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK381DC 功能描述:子卡和OEM板 Low-Cost Eval board RoHS:否 制造商:BeagleBoard by CircuitCo 產(chǎn)品:BeagleBone LCD4 Boards 用于:BeagleBone - BB-Bone - Open Source Development Kit
TOOLSTICK410PP 功能描述:插座和適配器 Dev Tool C8051F410/2 MCUs RoHS:否 制造商:Silicon Labs 產(chǎn)品:Adapter 用于:EM35x