**Preliminary and Confidential under NDA, DO NOT DISTRIBUTE
Atlas™ Programming Guide **Preliminary and Confidential under NDA, DO NOT DISTRIBUTE
- 2-
6.5.1 Normal Mode....................................................................................................................... 52
6.5.2 Turbo Mode ......................................................................................................................... 52
6.5.3 Idle Mode............................................................................................................................. 52
6.5.4 Standby Mode ..................................................................................................................... 53
6.5.5 Sleep Mode ......................................................................................................................... 53
7GPIO ..................................................................................................................................................55
7.1 Operation Overview.................................................................................................................... 55
7.2 Configure GPIO Pin Sharing ......................................................................................................56
7.3 Configure GPIO as Input ............................................................................................................ 57
7.4 Configure GPIO as Output ......................................................................................................... 58
7.5 Configure GPIO as Open-Drain ................................................................................................. 59
7.6 Configure GPIO as Wake-up Source ......................................................................................... 60
7.7 Configure GPIO to be Accessed by DSP................................................................................... 61
8Resource Sharing Controller .............................................................................................................62
8.1 Operation Overview.................................................................................................................... 62
8.2 DMA Channel Sharing................................................................................................................ 63
8.3 External Pin Multiplex................................................................................................................. 64
9DMA Controller ..................................................................................................................................66
9.1 Operation Overview.................................................................................................................... 66
9.2 Initialization................................................................................................................................. 67
9.3 DMA Interrupt Handling .............................................................................................................. 69
9.4 Single and Burst DMA ................................................................................................................ 70
9.5 1-D and 2-D DMA ....................................................................................................................... 71
9.6 Loop DMA................................................................................................................................... 73
9.7 DSP Control of DMA................................................................................................................... 76
10 PCMCIA Interface ..............................................................................................................................77
10.1 Operation Overview ................................................................................................................ 77
10.2 Pin-mux Programming ............................................................................................................ 78
10.3 M6730 Register Programming ................................................................................................ 79
10.4 Power Logic Register Programming ....................................................................................... 81
10.5 Memory Window Configuration............................................................................................... 82
10.6 I/O Window Configuration ....................................................................................................... 83
10.7 Timing Control......................................................................................................................... 84
10.8 Management Interrupt Operation............................................................................................ 84
10.9 Card Interrupt Operation ......................................................................................................... 86
10.10 Socket Initialization Sequence................................................................................................ 87
11 Extension port ....................................................................................................................................88
11.1 Operation Overview ................................................................................................................ 88
11.2 Pin-mux Programming ............................................................................................................ 89
11.3 Timing Register Programming ................................................................................................ 90
11.4 Fixed Latency Access ............................................................................................................. 91
11.5 Variable Latency Access.........................................................................................................92
11.6 DSP Access ............................................................................................................................ 93
12 Universal Serial Port ..........................................................................................................................94
12.1 Operation Overview ................................................................................................................ 94
12.2 USP Reset and Power up....................................................................................................... 95
12.3 USP Initialization..................................................................................................................... 96
12.3.1 USP Work Mode Initialization.............................................................................................. 96
12.3.2 Sample Code of USP Initialization ...................................................................................... 99
12.4 USP Transmitting Operation................................................................................................. 105
12.4.1 I/O Mode Transmit by Interrupt ......................................................................................... 105
12.4.2 I/O Mode Transmit by Polling FIFO Status ....................................................................... 105
12.4.3 DMA Transmitting Mode.................................................................................................... 105
12.5 USP Receiving Operation ..................................................................................................... 107
12.5.1 I/O Mode Receiving by Interrupt ....................................................................................... 107