參數(shù)資料
型號: SPEAR-07-NC03
廠商: STMICROELECTRONICS
元件分類: 微控制器/微處理器
英文描述: 1 CHANNEL(S), 100M bps, LOCAL AREA NETWORK CONTROLLER, PBGA180
封裝: LEAD FREE, 12 X 12 MM, 1.70 MM HEIGHT, LFBGA-180
文件頁數(shù): 158/194頁
文件大?。?/td> 1987K
代理商: SPEAR-07-NC03
第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頁當(dāng)前第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頁
Obsolete
Product(s)
- Obsolete
Product(s)
Obsolete
Product(s)
- Obsolete
Product(s)
6 Blocks description
SPEAR-07-NC03
Transfer Interrupts
The DMA MAC can interrupt the CPU with three different levels of information about transfer
completion. The CPU can choose which interrupt needs to be enabled. They do not exclude
each other though; they can be all three enabled at the same time.
The TX_CURR_DONE (RX_CURR_DONE) interrupt bit reports the CPU when a single
Descriptor (i.e. one frame) has been completely treated by the DMA MAC and the CPU is again
the owner (VALID bit is set to 0).
The TX_NEXT (RX_NEXT) interrupt bit is set when next descriptor fetch is enabled (NXT_EN
set to 1 in the current Descriptor) but the next Descriptor is not valid (Valid bit is set to 0).
The TX_DONE (RX_DONE) interrupt bit is set when a whole DMA transfer is complete. This
can happens either when the current is the last Descriptor in the chain (NXT_EN is set to 0) or
when the next Descriptor is not valid yet (VALID bit set to 0) and the polling bit is disabled
(NPOL_EN set to 0).
6.2.5.5 Frame Transmission (Tx)
When the CPU wants to transmit a set of frames on the cable, it needs to provide the DMA
MAC with a Descriptor list. The CPU is expected to allocate a Descriptor for each frame it wants
to send, to fill it with the DMA control information and the pointer to the frame and to link the
Descriptor in the chain (see Figure 6). The frames will be sent on the cable in the same order
they are found on the chain.
6.2.5.6 Open list approach
The simplest way to construct a Descriptor chain is the open list approach. Every Descriptor but
the last one will have the DMA_NEXT field pointing to the next descriptor in the chain, the
NXT_EN bit and the VALID bit on, the NPOL_EN bit on or off. The last Descriptor will e set in
the same way except for the NXT_EN bit (off) and the DMA_NEXT field (NULL).
The CPU starts the DMA activity loading the physical location of the first Descriptor into the
DMA_NEXT Register of the DMA MAC and then set the DMA_START resister enable bit to on.
The DMA MAC will then keep fetching the Descriptors one by one until it finds the NXT_EN bit
set to off (last Descriptor in the chain). Every time it completes a descriptor (frame) it saves the
transfer status into TxRx_STATUS, it turns the Descriptor VALID bit to off and rises the
TX_CURR_DONE interrupt bit.
When the NXT_EN bit is found to be off, that means the DMA MAC has fetched the last
Descriptor in the chain. When it completes also this Descriptor (the end of the DMA transfer) it
raises both the TX_CURR_DONE and the TX_DONE interrupt bits.
Closed list approach
The approach above is easy since it doesn't require the DMA MAC and the CPU to synchronize
their access to the descriptor chain. The problem is that requires the CPU to build the list every
time it needs a transfer.
A faster way to operate is building a closed Descriptor list only the first time and using the
VALID bit to mark the end of the transfer. Even more the polling facility could be used to save
the CPU from the activity of programming the DMA_START register every time it needs to start
the DMA Transfer. Instead, the DMA_START register will be activated only once and the DMA
MAC will keep polling the invalid Descriptor, raising each time the TX_NEXT interrupt bit (if
相關(guān)PDF資料
PDF描述
SPG-8650A60KHZ CRYSTAL OSCILLATOR, CLOCK, 0.06 MHz, CMOS OUTPUT
SPL-45-GB-EBZ-CDA FIBER OPTIC TRANSCEIVER, 1480-1500nm, 1250Mbps(Tx), 1250Mbps(Rx), SURFACE MOUNT, LC CONNECTOR
SPL2F85 FIBER OPTIC LASER DIODE EMITTER, 840-860nm, PANEL MOUNT, TO-220, FC CONNECTOR
SPL2Y81-2S 808 nm, LASER DIODE
SPLC-35-FE-BX-CDFA FIBER OPTIC TRANSCEIVER, 1260-1360nm, 125Mbps(Tx), 125Mbps(Rx), SURFACE MOUNT, LC CONNECTOR
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
SPEAR-09-B042 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:SPEAr㈢ BASIC ARM 926EJ-S core, customizable logic, large IP portfolio SoC
SPEAR-09-H022 制造商:STMicroelectronics 功能描述:
SPEAR-09-H022_06 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:SPEAr Head200 ARM 926, 200K customizable eASIC gates, large IP portfolio SoC
SPEAR-09-H042 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:SPEAr⑩ Head200, ARM 926, 200 K customizable eASIC⑩ gates, large IP portfolio SoC
SPEAR-09-H122 制造商:STMICROELECTRONICS 制造商全稱:STMicroelectronics 功能描述:SPEAr⑩ Head600