Atj209x port map
From S1MP3 Wiki
| x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x | CLK | Ext. Mem. | A15 | Page Select | DMA1 | |||||||||||
| 1x | DMA1 | DMA2 | ||||||||||||||
| 2x | DMA2 | CTC | IRQs | NAND ctrlr | DSP ctrl | |||||||||||
| 3x | DSP HIP | SPDIF | 5V reg. | DMACLK | USB | V.det | ||||||||||
| 4x | CLK/PLL | RTC/LOSC | WD | DC-DC | ||||||||||||
| 5x | USB | |||||||||||||||
| 6x | USB | |||||||||||||||
| 7x | CLK | I2C/UART/IR | ??? | LRADC2 | I2C/UART/IR | SPI | ||||||||||
| 8x | DAC | USB | DMA4 | GPIOK | ||||||||||||
| 9x | DMA4/CMOS | ADC | BATTADC | I2S | ??? | ADC | ||||||||||
| Ax | ATA/SD | S-LCM | DMA3 | ??? | ||||||||||||
| Bx | SDRAM/NiMH | ??? | ATA/SD | Batt.C | ||||||||||||
| Cx | Key Scan | LCD | NAND ECC | |||||||||||||
| Dx | BAT/LRADC/TP | TP | ADC | LRADC1 | TP | ??? | TP | PWR | ||||||||
| Ex | SD | R-S | USB | ??? | MFP | GPIO | ||||||||||
| Fx | GPIO | |||||||||||||||
Contents |
Chip CE lines
- CE0 : BROM/TROM
- CE1 : Primary NAND chip
- CE2 : Secondary NAND chip (optional)
- CE3 : Display controller
External Memory
- 0x01 : External Memory Low - controls the NAND State Machine
- Bit 0 : CLE (control latch enable) of the NAND
- Bit 1 : ALE (address latch enable) of the NAND
- Bit[2:7] : (? related to the nand state machine ?)
- 0x02 : External Memory High - CE lines and soft reset
- Bit[0:2] : (?)
- Bit[3:5] write:
- @000 for CE0
- @010 for CE1
- @100 for CE2
- @110 for CE3
- Bit 6 : Software reset flag - 1 if software reset occured, zero otherwise
- Bit 7 : Software reset - write 1 to reset
- 0x28 : NAND Controller
- Bit 7 : Reserved
- Bit 6 :
- Bit 5 : Reserved
- Bit 4 : CE3 (0 disable, 1 enable)
- Bit 3 : CE2 (0 disable, 1 enable)
- Bit 2 : CE1 (0 disable, 1 enable)
- Bit 1 :
- Bit 0 :
GPIO
GPO_A
- 0xEE : GPO_A2
GPIO_B
Usually wired to keyboard. To use GPIO_B[0:7], first unset bits [0:7] of the config register, then set the input and output registers as needed.
- 0xEF : GPIO_B[0:7] and KEYI/O[3:0] Config (0 selected GPIO_B[0:7])
- 0xF0 : GPIO_B[7:0] Output Enable (0 disables output, 1 enables)
- 0xF1 : GPIO_B[7:0] Input Enable (0 disables input, 1 enables)
- 0xF2 : GPIO_B[7:0] Data