-
Notifications
You must be signed in to change notification settings - Fork 4
RNG
Jonathan Neuschäfer edited this page Dec 15, 2021
·
2 revisions
This device does not show up in official memory maps, so it should probably be considered "unsupported" by Nuvoton.
It does however appear to follow the register layout of the NPCM7xx random number generator, and generate somewhat random numbers.
device | MMIO | reset | description |
---|---|---|---|
RNG | 0xb800a000 | 3 | random number generator |
> wb b800a000 1
> rw b800a000 0x400
b800a000: 03030303 78787878 00000000 00000000 03030303 1e1e1e1e 00000000 00000000
b800a020: 01010101 00000000 00000000 00000000 01010101 00000000 00000000 00000000
b800a040: 01010101 00000000 00000000 00000000 03030303 3c3c3c3c 00000000 00000000
b800a060: 01010101 00000000 00000000 00000000 01010101 00000000 00000000 00000000
b800a080: 01010101 00000000 00000000 00000000 01010101 00000000 00000000 00000000
b800a0a0: 03030303 3c3c3c3c 00000000 00000000 01010101 00000000 00000000 00000000
b800a0c0: 01010101 00000000 00000000 00000000 01010101 00000000 00000000 00000000
b800a0e0: 01010101 00000000 00000000 00000000 03030303 1e1e1e1e 00000000 00000000
> ww b800a000 0x19
> rb b800a000 16
b800a000: 1b 1b 1b 1b 1e 1e 00 00 00 00 00 00 00 00 00 00
> wb b800a008 2
> rb b800a000 16
b800a000: 1b 1b 1b 1b 78 3c 00 00 02 02 02 02 02 02 02 02
> rb b800a000 64
b800a000: 1b 1b 1b 1b f1 e1 00 00 02 02 02 02 02 02 02 02
b800a010: 19 1b 1b 1b 78 00 00 00 02 02 02 02 02 02 02 02
b800a020: 1b 1b 1b 1b 1e 00 00 00 02 02 02 02 02 02 02 02
b800a030: 1b 1b 1b 1b 8f 00 00 00 02 02 02 02 02 02 02 02
bit 31:12 | 11:4 | 3 | 2 | 1:0 | description |
---|---|---|---|---|---|
b800a |
x | 0 | 0 | x | control register |
b800a |
x | 0 | 1 | x | data register |
b800a |
x | 1 | x | x | mode register |
Overview:
Basics:
Peripherals:
- Memory controller
- UART, SPI/SSPI, I2C, SD
- GPIOs and pinmux
- Ethernet
- USB, LPC, PECI, XBUS
- PWM and Tachometer, ADC
- Graphics
Board specifics: