数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

SN260 数据表(PDF) 23 Page - STMicroelectronics

部件名 SN260
功能描述  ZigBee® 802.15.4 network processor
PDF  88 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

SN260 数据表(HTML) 23 Page - STMicroelectronics

Back Button SN260 Datasheet HTML 19Page - STMicroelectronics SN260 Datasheet HTML 20Page - STMicroelectronics SN260 Datasheet HTML 21Page - STMicroelectronics SN260 Datasheet HTML 22Page - STMicroelectronics SN260 Datasheet HTML 23Page - STMicroelectronics SN260 Datasheet HTML 24Page - STMicroelectronics SN260 Datasheet HTML 25Page - STMicroelectronics SN260 Datasheet HTML 26Page - STMicroelectronics SN260 Datasheet HTML 27Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 23 / 88 page
background image
SN260
SPI protocol
23/88
6.2.1
Command section
The Host begins the transaction by asserting the Slave Select and then sending a command
to the SN260. This command can be of any length from 2 to 128 bytes and must not begin
with 0xFF. During the Command section, the SN260 will respond with only 0xFF. The Host
should ignore data on MISO during the Command section. Once the Host has completed
transmission of the entire message, the transaction moves to the Wait section.
6.2.2
Wait section
The Wait section is a period of time during which the SN260 may be processing the
command or performing other operations. Note that this section can be any length of time up
to 200 milliseconds. Because of the variable size of the Wait section, an interrupt-driven or
polling-driven method is suggested for clocking the SPI as opposed to a DMA method.
Since the SN260 can require up to 200 milliseconds to respond, as long as the Host keeps
Slave Select active, the Host can perform other tasks while waiting for a Response.
To determine when a Response is ready, use one of two methods:
Clock the SPI until the SN260 transmits a byte other than 0xFF.
Interrupt on the falling edge of nHOST_INT.
The first method, clocking the SPI, is recommended due to simplicity in implementing.
During the Wait section, the SN260 will transmit only 0xFF and will ignore all incoming data
until the Response is ready. When the SN260 transmits a byte other than 0xFF, the
transaction has officially moved into the Response section. Therefore, the Host can poll for a
Response by continuing to clock the SPI by transmitting 0xFF and waiting for the SN260 to
transmit a byte other than 0xFF. The SN260 will also indicate that a Response is ready by
asserting the nHOST_INT signal. The falling edge of nHOST_INT is the indication that a
Response is ready. Once the nHOST_INT signal asserts, nHOST_INT will return to idle
after the Host begins to clock data.
6.2.3
Response section
When the SN260 transmits a byte other than 0xFF, the transaction has officially moved into
the Response section. The data format is the same format used in the Command section.
The response can be of any length from 2 to 128 bytes and will not begin with 0xFF.
Depending on the actual response, the length of the response is known from the first or
second byte and this length should be used by the Host to clock out exactly the correct
number of bytes. Once all bytes have been clocked, it is allowable for the Host to de-assert
chip select. Since the Host is in control of clocking the SPI, there are no ACKs or similar
signals needed back from the Host because the SN260 will assume the Host could accept
the bytes being clocked on the SPI. After every transaction, the Host must hold the Slave
Select high for a minimum of 1ms. This timing requirement is called the inter-command
spacing and is necessary to allow the SN260 to process a command and become ready to
accept a new command.
6.2.4
Asynchronous signaling
When the SN260 has data to send to the Host, it will assert the nHOST_INT signal. The
nHOST_INT signal is designed to be an edge-triggered signal as opposed to a level-
triggered signal; therefore, the falling edge of nHOST_INT is the true indicator of data
availability. The Host then has the responsibility to initiate a transaction to ask the SN260 for
its output. The Host should initiate this transaction as soon as possible to prevent possible



Html Pages

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


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com