S5L8702: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 84: | Line 84: | ||
| | | | ||
| Gets cleared/set by the bootloader | | Gets cleared/set by the bootloader | ||
|} | |||
==== SPISETUP ==== | |||
{| class="wikitable" | |||
! Name | |||
! Bit | |||
! Type | |||
! Description | |||
! Note | |||
|- | |||
| Unk2 | |||
| 1 | |||
| R/W? | |||
| | |||
| Gets checked by the bootloader after clearing/setting ''Unk1'' | |||
|- | |||
| Unk1 | |||
| 0 | |||
| R?/W | |||
| | |||
| Gets cleared/set by the bootloader | |||
|} | |||
==== SPISTATUS ==== | |||
{| class="wikitable" | |||
! Name | |||
! Bit | |||
! Type | |||
! Description | |||
! Note | |||
|} | |||
==== SPIPIN ==== | |||
{| class="wikitable" | |||
! Name | |||
! Bit | |||
! Type | |||
! Description | |||
! Note | |||
|} | |||
==== SPITXDATA ==== | |||
{| class="wikitable" | |||
! Name | |||
! Bit | |||
! Type | |||
! Description | |||
! Note | |||
|- | |||
| DATA | |||
| 7:0 | |||
| R?/W | |||
| Data to be sent by the SPI peripheral | |||
| | |||
|} | |||
==== SPIRXDATA ==== | |||
{| class="wikitable" | |||
! Name | |||
! Bit | |||
! Type | |||
! Description | |||
! Note | |||
|- | |||
| DATA | |||
| 7:0 | |||
| R/W? | |||
| Data received by the SPI peripheral | |||
| | |||
|} | |||
==== SPICLKDIV ==== | |||
{| class="wikitable" | |||
! Name | |||
! Bit | |||
! Type | |||
! Description | |||
! Note | |||
|- | |||
| CLKDIV | |||
| 10:0 | |||
| R?/W | |||
| | |||
| | |||
|} | |||
==== SPIRXLIMIT ==== | |||
{| class="wikitable" | |||
! Name | |||
! Bit | |||
! Type | |||
! Description | |||
! Note | |||
|} | |} | ||
Revision as of 21:51, 11 September 2023
Introduction
This page provides details on the Samsung S5L8702 System on Chip (SoC).
Peripherals
An overview of the peripherals of the SoC, describing the base address and registers for each one.
SPI
| SPI | Base address |
|---|---|
| SPI0 | 0x3c300000 |
| SPI1 | 0x3ce00000 |
| SPI2 | 0x3d200000 |
Registers
| Register Name | Offset | Description | Note |
|---|---|---|---|
| SPICTRL | 0x00 | ||
| SPISETUP | 0x04 | ||
| SPISTATUS | 0x08 | ||
| SPIPIN | 0x0c | ||
| SPITXDATA | 0x10 | ||
| SPIRXDATA | 0x20 | ||
| SPICLKDIV | 0x30 | ||
| SPIRXLIMIT | 0x34 |
SPICTRL
| Name | Bit | Type | Description | Note |
|---|---|---|---|---|
| Unk2 | 1 | R/W? | Gets checked by the bootloader after clearing/setting Unk1 | |
| Unk1 | 0 | R?/W | Gets cleared/set by the bootloader |
SPISETUP
| Name | Bit | Type | Description | Note |
|---|---|---|---|---|
| Unk2 | 1 | R/W? | Gets checked by the bootloader after clearing/setting Unk1 | |
| Unk1 | 0 | R?/W | Gets cleared/set by the bootloader |
SPISTATUS
| Name | Bit | Type | Description | Note |
|---|
SPIPIN
| Name | Bit | Type | Description | Note |
|---|
SPITXDATA
| Name | Bit | Type | Description | Note |
|---|---|---|---|---|
| DATA | 7:0 | R?/W | Data to be sent by the SPI peripheral |
SPIRXDATA
| Name | Bit | Type | Description | Note |
|---|---|---|---|---|
| DATA | 7:0 | R/W? | Data received by the SPI peripheral |
SPICLKDIV
| Name | Bit | Type | Description | Note |
|---|---|---|---|---|
| CLKDIV | 10:0 | R?/W |
SPIRXLIMIT
| Name | Bit | Type | Description | Note |
|---|