参数资料
型号: 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
文件页数: 158/194页
文件大小: 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页当前第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
相关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
相关代理商/技术参数
参数描述
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