Editing Syscon SPI
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= Overview = | = Overview = | ||
Syscon has multiple SPI busses for communicating with different hardware peripherals: | |||
* | * Cell BE | ||
* | * RSX | ||
* Southbridge | |||
* | |||
= Cell BE SPI = | = Cell BE SPI = | ||
Line 18: | Line 17: | ||
== SPI Protocol == | == SPI Protocol == | ||
* Fixed size header | * Fixed size header | ||
* 8-bit | * 8-bit Command ID | ||
* 16-bit SPI address | * 16-bit SPI address | ||
* Register-specific data length | * Register-specific data length | ||
=== SPI Command ID === | === SPI Command ID === | ||
Line 71: | Line 69: | ||
| 0x9104 || 0x24000509104 || Unknown || 32 || Written after every Syscon packet transfer | | 0x9104 || 0x24000509104 || Unknown || 32 || Written after every Syscon packet transfer | ||
|- | |- | ||
| 0xa000 || 0x2400008c000 || | | 0xa000 || 0x2400008c000 || Syscon packet TX buffer || 32768 (0x1000 '''bytes''') || Buffer where Syscon writes packets for the Cell | ||
|- | |- | ||
| 0xb000 || 0x2400008d000 || | | 0xb000 || 0x2400008d000 || Syscon packet RX buffer || 32768 (0x1000 '''bytes''') || Buffer where Syscon reads packets from the Cell | ||
|- | |- | ||
| N/A || 0x2400008e100 || Syscon packet doorbell || 32 || Will assert the SB_INT line when 0x1 is written to it from the Cell | | N/A || 0x2400008e100 || Syscon packet doorbell || 32 || Will assert the SB_INT line when 0x1 is written to it from the Cell | ||
Line 83: | Line 81: | ||
= Southbridge SPI = | = Southbridge SPI = | ||
To be discovered... | To be discovered... | ||