mirror of
https://github.com/lupyuen/nuttx-star64.git
synced 2025-01-12 20:58:32 +08:00
Explore I2C
This commit is contained in:
parent
61f3335ae9
commit
3e368e0592
1 changed files with 11 additions and 1 deletions
12
README.md
12
README.md
|
@ -7619,7 +7619,17 @@ Let's explore the I2C Controller for Star64 JH7110. We need the I2C for control
|
|||
|
||||
According to the [I2C Device Tree Configuration](https://doc-en.rvspace.org/VisionFive2/DG_I2C/JH7110_SDK/i2c_source_code.html): I2C Port 0 Base Address is 0x10030000, with range 0x10000.
|
||||
|
||||
(There are 7 I2C Ports: I2C0 to I2C6)
|
||||
There are 7 I2C Ports: I2C0 to I2C6. From [JH7110 System Memory Map](https://doc-en.rvspace.org/JH7110/TRM/JH7110_TRM/system_memory_map.html)...
|
||||
|
||||
| Start Address | End Address | Size | Attribute | Device/Description |
|
||||
|-|-|-|-|-|
|
||||
| 0x00_1003_0000 | 0x00_1003_FFFF | 64KB | RW A | I2C0
|
||||
| 0x00_1004_0000 | 0x00_1004_FFFF | 64KB | RW A | I2C1
|
||||
| 0x00_1005_0000 | 0x00_1005_FFFF | 64KB | RW A | I2C2
|
||||
| 0x00_1203_0000 | 0x00_1203_FFFF | 64KB | RW A | I2C3
|
||||
| 0x00_1204_0000 | 0x00_1204_FFFF | 64KB | RW A | I2C4
|
||||
| 0x00_1205_0000 | 0x00_1205_FFFF | 64KB | RW A | I2C5
|
||||
| 0x00_1206_0000 | 0x00_1206_FFFF | 64KB | RW A | I2C6
|
||||
|
||||
Let's dump the I2C Registers with U-Boot Bootloader...
|
||||
|
||||
|
|
Loading…
Reference in a new issue