2. Serial RapidIO Interface > Hot Insertion and Hot Extraction
60
Tsi578 User Manual
June 6, 2016
Integrated Device Technology
www.idt.com
2.9.1
Hot Insertion
When Hot Insertion occurs at Port#N, the following steps should be completed:
1.
Power up the Port#N in Tsi578.
2.
Lock out Port#N by writing 1 to PORT_LOCKOUT in
“RapidIO Serial Port x Control CSR”
3.
Insert the card.
Re-initialization occurs and a port-write is received once both sides are synchronized.
4.
Clear Input Error-Stop state errors in
“RapidIO Port x Error and Status CSR”
Only if extraction happens on the same Port#N
5.
Send Link Request to clear Input Error-Stop states to Link Partner.
Only if extraction happens on the same Port#N
6.
Re-synchronize the inbound and outbound ackIDs.
The system host inquires about the link partner’s Inbound/Outbound ackIDs and re-programs the
Tsi578’s ackIDs accordingly (see
“RapidIO Serial Port x Local ackID Status CSR”
).
Tsi578 ports on which a component insertion event can occur can be configured to notify the system
host when this event occurs. The PORT_LOCKOUT bit must be set to allow the
LINK_INIT_NOTIFICATION bit in the
“RapidIO Port x Interrupt Status Register”
to be set. To
determine that a component insertion event has occurred, the system host has the option of polling the
“RapidIO Port x Interrupt Status Register”
, or of setting the LINK_INIT_NOTIFICATION_GEN bit in
“RapidIO Port x Control Independent Register”
to assert an interrupt or send port write transactions
“RapidIO Port x Control Independent Register”
).
Once the system host is notified that a new component is inserted, the LINK_INIT_NOTIFICATION
bit should be cleared in the
“RapidIO Port x Interrupt Status Register”
to stop the assertion of
interrupts.
The PORT_LOCKOUT bit must be cleared to allow the system host to access the new component and
to allow the new component to access the remainder of the system. The OUTPUT_EN and INPUT_EN
bits must be set according to the amount of access the system designer requires to allow the new
component to be brought into the system safely. Error notification for the link should also be enabled, if
required by the system designer.
Before any packets can be exchanged, the OUTBOUND field in
“RapidIO Serial Port x Local ackID
must be programmed to match the INBOUND value of the other side of the link. The link
partner's next expected inbound ackID value is determined by issuing a link request to the link partner,
and examining the ackID field of the link response that the link partner returned. Similarly, the
OUTBOUND value for the component that was just inserted must be programmed to match the
INBOUND value of the Tsi578’s port, contained in
“RapidIO Serial Port x Local ackID Status CSR”
.
If multiple ports become active simultaneously, only one port write is generated. For more
information, see
“Port-write Notifications” on page 133
.
Ti
p
The next expected inbound and next outbound ackIDs of the link partner are determined
through the use of link request/response control symbols.
Содержание Tsi578
Страница 1: ...IDT Tsi578 Serial RapidIO Switch User Manual June 6 2016 Titl ...
Страница 20: ...About this Document 20 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 102: ...4 Internal Switching Fabric Packet Queuing 102 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 228: ...11 Signals Pinlist and Ballmap 228 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 504: ...B Clocking P_CLK Programming 504 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...
Страница 526: ...Index 526 Tsi578 User Manual June 6 2016 Integrated Device Technology www idt com ...