NXP Semiconductors MC9S08PA4 Reference Manual Manual pdf 7 page image
Manuals database logo
manualsdatabase
Your AI-powered manual search engine

NXP Semiconductors MC9S08PA4 Reference Manual

Page 1 previewPage 2 previewPage 3 previewPage 4 previewPage 5 previewPage 6 previewPage 7 previewPage 8 previewPage 9 previewPage 10 previewPage 11 previewPage 12 previewPage 13 previewPage 14 previewPage 15 previewPage 16 previewPage 17 previewPage 18 previewPage 19 previewPage 20 previewPage 21 previewPage 22 previewPage 23 previewPage 24 previewPage 25 previewPage 26 previewPage 27 previewPage 28 previewPage 29 previewPage 30 previewPage 31 previewPage 32 previewPage 33 previewPage 34 previewPage 35 previewPage 36 previewPage 37 previewPage 38 previewPage 39 previewPage 40 previewPage 41 previewPage 42 previewPage 43 previewPage 44 previewPage 45 previewPage 46 previewPage 47 previewPage 48 previewPage 49 previewPage 50 previewPage 51 previewPage 52 previewPage 53 previewPage 54 previewPage 55 previewPage 56 previewPage 57 previewPage 58 previewPage 59 previewPage 60 previewPage 61 previewPage 62 previewPage 63 previewPage 64 previewPage 65 previewPage 66 previewPage 67 previewPage 68 previewPage 69 previewPage 70 previewPage 71 previewPage 72 previewPage 73 previewPage 74 previewPage 75 previewPage 76 previewPage 77 previewPage 78 previewPage 79 previewPage 80 previewPage 81 previewPage 82 previewPage 83 previewPage 84 previewPage 85 previewPage 86 previewPage 87 previewPage 88 previewPage 89 previewPage 90 previewPage 91 previewPage 92 previewPage 93 previewPage 94 previewPage 95 previewPage 96 previewPage 97 previewPage 98 previewPage 99 previewPage 100 previewPage 101 previewPage 102 previewPage 103 previewPage 104 previewPage 105 previewPage 106 previewPage 107 previewPage 108 previewPage 109 previewPage 110 previewPage 111 previewPage 112 previewPage 113 previewPage 114 previewPage 115 previewPage 116 previewPage 117 previewPage 118 previewPage 119 previewPage 120 previewPage 121 previewPage 122 previewPage 123 previewPage 124 previewPage 125 previewPage 126 previewPage 127 previewPage 128 previewPage 129 previewPage 130 previewPage 131 previewPage 132 previewPage 133 previewPage 134 previewPage 135 previewPage 136 previewPage 137 previewPage 138 previewPage 139 previewPage 140 previewPage 141 previewPage 142 previewPage 143 previewPage 144 previewPage 145 previewPage 146 previewPage 147 previewPage 148 previewPage 149 previewPage 150 previewPage 151 previewPage 152 previewPage 153 previewPage 154 previewPage 155 previewPage 156 previewPage 157 previewPage 158 previewPage 159 previewPage 160 previewPage 161 previewPage 162 previewPage 163 previewPage 164 previewPage 165 previewPage 166 previewPage 167 previewPage 168 previewPage 169 previewPage 170 previewPage 171 previewPage 172 previewPage 173 previewPage 174 previewPage 175 previewPage 176 previewPage 177 previewPage 178 previewPage 179 previewPage 180 previewPage 181 previewPage 182 previewPage 183 previewPage 184 previewPage 185 previewPage 186 previewPage 187 previewPage 188 previewPage 189 previewPage 190 previewPage 191 previewPage 192 previewPage 193 previewPage 194 previewPage 195 previewPage 196 previewPage 197 previewPage 198 previewPage 199 previewPage 200 previewPage 201 previewPage 202 previewPage 203 previewPage 204 previewPage 205 previewPage 206 previewPage 207 previewPage 208 previewPage 209 previewPage 210 previewPage 211 previewPage 212 previewPage 213 previewPage 214 previewPage 215 previewPage 216 previewPage 217 previewPage 218 previewPage 219 previewPage 220 previewPage 221 previewPage 222 previewPage 223 previewPage 224 previewPage 225 previewPage 226 previewPage 227 previewPage 228 previewPage 229 previewPage 230 previewPage 231 previewPage 232 previewPage 233 previewPage 234 previewPage 235 previewPage 236 previewPage 237 previewPage 238 previewPage 239 previewPage 240 previewPage 241 previewPage 242 previewPage 243 previewPage 244 previewPage 245 previewPage 246 previewPage 247 previewPage 248 previewPage 249 previewPage 250 previewPage 251 previewPage 252 previewPage 253 previewPage 254 previewPage 255 previewPage 256 previewPage 257 previewPage 258 previewPage 259 previewPage 260 previewPage 261 previewPage 262 previewPage 263 previewPage 264 previewPage 265 previewPage 266 previewPage 267 previewPage 268 previewPage 269 previewPage 270 previewPage 271 previewPage 272 previewPage 273 previewPage 274 previewPage 275 previewPage 276 previewPage 277 previewPage 278 previewPage 279 previewPage 280 previewPage 281 previewPage 282 previewPage 283 previewPage 284 previewPage 285 previewPage 286 previewPage 287 previewPage 288 previewPage 289 previewPage 290 previewPage 291 previewPage 292 previewPage 293 previewPage 294 previewPage 295 previewPage 296 previewPage 297 previewPage 298 previewPage 299 previewPage 300 previewPage 301 previewPage 302 previewPage 303 previewPage 304 previewPage 305 previewPage 306 previewPage 307 previewPage 308 previewPage 309 previewPage 310 previewPage 311 previewPage 312 previewPage 313 previewPage 314 previewPage 315 previewPage 316 previewPage 317 previewPage 318 previewPage 319 previewPage 320 previewPage 321 previewPage 322 previewPage 323 previewPage 324 previewPage 325 previewPage 326 previewPage 327 previewPage 328 previewPage 329 previewPage 330 previewPage 331 previewPage 332 previewPage 333 previewPage 334 previewPage 335 previewPage 336 previewPage 337 previewPage 338 previewPage 339 previewPage 340 previewPage 341 previewPage 342 previewPage 343 previewPage 344 previewPage 345 previewPage 346 previewPage 347 previewPage 348 previewPage 349 previewPage 350 previewPage 351 previewPage 352 previewPage 353 previewPage 354 previewPage 355 previewPage 356 previewPage 357 previewPage 358 previewPage 359 previewPage 360 previewPage 361 previewPage 362 previewPage 363 previewPage 364 previewPage 365 previewPage 366 previewPage 367 previewPage 368 previewPage 369 previewPage 370 previewPage 371 previewPage 372 previewPage 373 previewPage 374 previewPage 375 previewPage 376 previewPage 377 previewPage 378 previewPage 379 previewPage 380 previewPage 381 previewPage 382 previewPage 383 previewPage 384 previewPage 385 previewPage 386 previewPage 387 previewPage 388 previewPage 389 previewPage 390 previewPage 391 previewPage 392 previewPage 393 previewPage 394 previewPage 395 previewPage 396 previewPage 397 previewPage 398 previewPage 399 previewPage 400 previewPage 401 preview
Contents
  1. Table Of Contents
  2. Table Of Contents
  3. Table Of Contents
  4. Table Of Contents
  5. Table Of Contents
  6. Table Of Contents
  7. Table Of Contents
  8. Table Of Contents
  9. Table Of Contents
  10. Table Of Contents
  11. Table Of Contents
  12. Table Of Contents
  13. Table Of Contents
  14. Table Of Contents
  15. Table Of Contents
  16. Table Of Contents
  17. Table Of Contents
  18. Table Of Contents
  19. Table Of Contents
  20. Introduction
  21. MCU block diagram
  22. System clock distribution
  23. Device pin assignment
  24. Pin functions
  25. Oscillator (XTAL, EXTAL)
  26. External reset pin (RESET) and interrupt pin (IRQ)
  27. Background/mode select (BKGD/MS)
  28. Port A input/output (I/O) pins (PTA5–PTA0)
  29. Peripheral pinouts
  30. Wait mode
  31. Active BDM enabled in stop3 mode
  32. Low voltage detect (LVD) system
  33. Power-on reset (POR) operation
  34. Bandgap reference
  35. System Power Management Status and Control 2 Register (PMC_SPMSC2)
  36. Memory map
  37. Reset and interrupt vector assignments
  38. Register addresses and bit assignments
  39. Random-access memory (RAM)
  40. Flash and EEPROM
  41. Function descriptions
  42. Flash and EEPROM initialization after system reset
  43. Flash and EEPROM interrupts
  44. Protection
  45. Security
  46. Flash and EEPROM commands
  47. Flash and EEPROM command summary
  48. Flash and EEPROM registers descriptions
  49. Flash Security Register (NVM_FSEC)
  50. Flash CCOB Index Register (NVM_FCCOBIX)
  51. Flash Error Configuration Register (NVM_FERCNFG)
  52. Flash Status Register (NVM_FSTAT)
  53. Flash Error Status Register (NVM_FERSTAT)
  54. Flash Protection Register (NVM_FPROT)
  55. EEPROM Protection Register (NVM_EEPROT)
  56. Flash Common Command Object Register:High (NVM_FCCOBHI)
  57. Flash Common Command Object Register: Low (NVM_FCCOBLO)
  58. Interrupts
  59. Interrupt stack frame
  60. Interrupt vectors, sources, and local masks
  61. Hardware nested interrupt
  62. Interrupt priority level register
  63. Interrupt priority level comparator set
  64. Integration and application of the IPC
  65. Features
  66. Pin configuration options
  67. Interrupt Pin Request Status and Control Register (IRQ_SC)
  68. Interrupt priority control register
  69. IPC Status and Control Register (IPC_SC)
  70. Interrupt Priority Mask Pseudo Stack Register (IPC_IPMPS)
  71. System device identification (SDID)
  72. System options
  73. FTM0 channels pin reassignment
  74. ACMP output selection
  75. SCI0 RxD filter
  76. ADC hardware trigger
  77. System Reset Status Register (SYS_SRS)
  78. System Background Debug Force Reset Register (SYS_SBDFR)
  79. System Device Identification Register: Low (SYS_SDIDL)
  80. System Options Register 2 (SYS_SOPT2)
  81. System Options Register 3 (SYS_SOPT3)
  82. Illegal Address Register: High (SYS_ILLAH)
  83. Universally Unique Identifier Register 1 (SYS_UUID1)
  84. Universally Unique Identifier Register 3 (SYS_UUID3)
  85. Universally Unique Identifier Register 5 (SYS_UUID5)
  86. Universally Unique Identifier Register 7 (SYS_UUID7)
  87. Port data and data direction
  88. Input glitch filter setting
  89. Port A Data Register (PORT_PTAD)
  90. Port B Data Register (PORT_PTBD)
  91. Port High Drive Enable Register (PORT_HDRVE)
  92. Port B Output Enable Register (PORT_PTBOE)
  93. Port C Output Enable Register (PORT_PTCOE)
  94. Port A Input Enable Register (PORT_PTAIE)
  95. Port B Input Enable Register (PORT_PTBIE)
  96. Port C Input Enable Register (PORT_PTCIE)
  97. Port Filter Register 0 (PORT_IOFLT0)
  98. Port Filter Register 2 (PORT_IOFLT2)
  99. Port Clock Division Register (PORT_FCLKDIV)
  100. Port A Pullup Enable Register (PORT_PTAPE)
  101. Port B Pullup Enable Register (PORT_PTBPE)
  102. Port C Pullup Enable Register (PORT_PTCPE)
  103. Clock module
  104. Internal clock source (ICS)
  105. Function description
  106. Bus frequency divider
  107. Fixed frequency clock (ICSFFCLK)
  108. BDC clock
  109. FLL engaged internal (FEI)
  110. FLL engaged external (FEE)
  111. FLL bypassed internal low power (FBILP)
  112. Stop (STOP)
  113. FLL lock and clock monitor
  114. Initializing FEI mode
  115. Initializing FBE mode
  116. Bypass mode
  117. High-gain configuration
  118. kHz low-power oscillator (LPO)
  119. ICS Control Register 1 (ICS_C1)
  120. ICS Control Register 2 (ICS_C2)
  121. ICS Control Register 3 (ICS_C3)
  122. ICS Status Register (ICS_S)
  123. OSC Status and Control Register (ICS_OSCSC)
  124. System clock gating control registers
  125. System Clock Gating Control 1 Register (SCG_C1)
  126. System Clock Gating Control 2 Register (SCG_C2)
  127. System Clock Gating Control 3 Register (SCG_C3)
  128. System modules
  129. Memory
  130. Timers
  131. FTM0 interconnection
  132. FTM1 interconnection
  133. Communication interfaces
  134. SCI0 infrared functions
  135. Analog
  136. ADC channel assignments
  137. Alternate clock
  138. Analog comparator (ACMP)
  139. ACMP configuration information
  140. Human-machine interfaces HMI
  141. Programmer's Model and CPU Registers
  142. Index Register (H:X)
  143. Program Counter (PC)
  144. Addressing Modes
  145. Inherent Addressing Mode (INH)
  146. Direct Addressing Mode (DIR)
  147. Indexed Addressing Mode
  148. Indexed, 8-Bit Offset with Post Increment (IX1+)
  149. SP-Relative, 16-Bit Offset (SP2)
  150. Indexed to Direct, Post Increment
  151. Security mode
  152. HCS08 V6 Opcodes
  153. Instruction Set Summary
  154. KBI in Wait mode
  155. External signals description
  156. KBI Status and Control Register (KBIx_SC)
  157. KBIx Edge Select Register (KBIx_ES)
  158. Edge-only sensitivity
  159. KBI initialization
  160. Modes of operation
  161. Signal description
  162. EXTCLK — FTM external clock
  163. Status and Control (FTMx_SC)
  164. Counter High (FTMx_CNTH)
  165. Counter Low (FTMx_CNTL)
  166. Modulo Low (FTMx_MODL)
  167. Channel Value High (FTMx_CnVH)
  168. Channel Value Low (FTMx_CnVL)
  169. Clock Source
  170. Prescaler
  171. Up-down counting
  172. Free running counter
  173. Output compare mode
  174. Edge-aligned PWM (EPWM) mode
  175. Center-aligned PWM (CPWM) mode
  176. Update of the registers with write buffers
  177. CnVH:L registers
  178. FTM Interrupts
  179. RTC Status and Control Register 1 (RTC_SC1)
  180. RTC Status and Control Register 2 (RTC_SC2)
  181. RTC Modulo Register: High (RTC_MODH)
  182. RTC Counter Register: Low (RTC_CNTL)
  183. RTC operation example
  184. Block diagram
  185. SCI signal descriptions
  186. SCI Baud Rate Register: High (SCIx_BDH)
  187. SCI Baud Rate Register: Low (SCIx_BDL)
  188. SCI Control Register 2 (SCIx_C2)
  189. SCI Status Register 1 (SCIx_S1)
  190. SCI Status Register 2 (SCIx_S2)
  191. SCI Control Register 3 (SCIx_C3)
  192. SCI Data Register (SCIx_D)
  193. Baud rate generation
  194. Send break and queued idle
  195. Receiver functional description
  196. Data sampling technique
  197. Receiver wake-up operation
  198. Interrupts and status flags
  199. Baud rate tolerance
  200. Slow data tolerance
  201. Fast data tolerance
  202. Additional SCI functions
  203. Loop mode
  204. Analog Channel Inputs (ADx)
  205. Status and Control Register 2 (ADC_SC2)
  206. Status and Control Register 3 (ADC_SC3)
  207. Status and Control Register 4 (ADC_SC4)
  208. Conversion Result High Register (ADC_RH)
  209. Conversion Result Low Register (ADC_RL)
  210. Compare Value High Register (ADC_CVH)
  211. Pin Control 1 Register (ADC_APCTL1)
  212. Functional description
  213. Clock select and divide control
  214. Hardware trigger
  215. Completing conversions
  216. Power control
  217. Automatic compare function
  218. FIFO operation
  219. MCU Stop3 mode operation
  220. Initialization information
  221. Pseudo-code example
  222. Application information
  223. Analog reference pins
  224. Sources of error
  225. Code width and quantization error
  226. Code jitter, non-monotonicity, and missing codes
  227. External signal description
  228. ACMP Control and Status Register (ACMP_CS)
  229. ACMP Control Register 0 (ACMP_C0)
  230. ACMP Control Register 2 (ACMP_C2)
  231. Setup and operation of ACMP
  232. Resets
  233. Memory map and register definition
  234. Watchdog Control and Status Register 2 (WDOG_CS2)
  235. Watchdog Counter Register: High (WDOG_CNTH)
  236. Watchdog Timeout Value Register: High (WDOG_TOVALH)
  237. Watchdog Window Register: High (WDOG_WINH)
  238. Window mode
  239. Example code: Refreshing the Watchdog
  240. Reconfiguring the Watchdog
  241. Using interrupts to delay resets
  242. Fast testing of the watchdog
  243. Entering user mode
  244. Background debug controller (BDC)
  245. BKGD pin description
  246. Communication details
  247. BDC commands
  248. BDC hardware breakpoint
  249. Comparators A and B
  250. Bus capture information and FIFO operation
  251. Change-of-flow information
  252. Trigger modes
  253. Hardware breakpoints
  254. Memory map and register description
  255. BDC Breakpoint Match Register: High (BDC_BKPTH)
  256. BDC Breakpoint Register: Low (BDC_BKPTL)
  257. Debug Comparator A High Register (DBG_CAH)
  258. Debug Comparator A Low Register (DBG_CAL)
  259. Debug Comparator B High Register (DBG_CBH)
  260. Debug Comparator C High Register (DBG_CCH)
  261. Debug Comparator C Low Register (DBG_CCL)
  262. Debug FIFO Low Register (DBG_FL)
  263. Debug Comparator A Extension Register (DBG_CAX)
  264. Debug Comparator B Extension Register (DBG_CBX)
  265. Debug Comparator C Extension Register (DBG_CCX)
  266. Debug FIFO Extended Information Register (DBG_FX)
  267. Debug Trigger Register (DBG_T)
  268. Debug Status Register (DBG_S)
  269. Debug Count Status Register (DBG_CNT)
  270. Breakpoints
  271. Trigger selection
  272. Begin- and end-trigger
  273. FIFO
  274. Storing data in FIFO
  275. Reading data from FIFO
/ 401
Related manuals for NXP Semiconductors MC9S08PA4
NXP Semiconductors MC9S08LG32 Reference Manual first page preview
NXP Semiconductors MC9S08LG32 Reference Manual
NXP Semiconductors MC9S08SU16 Reference Manual first page preview
NXP Semiconductors MC9S08SU16 Reference Manual
NXP Semiconductors MC9S12G Reference Manual first page preview
NXP Semiconductors MC9S12G Reference Manual
NXP Semiconductors MC9S12XS256 Reference Manual first page preview
NXP Semiconductors MC9S12XS256 Reference Manual
NXP Semiconductors MC9S08QL8 MCU Series Reference Manual first page preview
NXP Semiconductors MC9S08QL8 MCU Series Reference Manual
NXP Semiconductors K32W Reference Manual first page preview
NXP Semiconductors K32W Reference Manual
NXP Semiconductors HCS12 Reference Manual first page preview
NXP Semiconductors HCS12 Reference Manual
NXP Semiconductors MPC5566 Reference Manual first page preview
NXP Semiconductors MPC5566 Reference Manual
NXP Semiconductors MPC5606S Reference Manual first page preview
NXP Semiconductors MPC5606S Reference Manual
NXP Semiconductors K53 Series Reference Manual first page preview
NXP Semiconductors K53 Series Reference Manual
This manual is suitable for:
MC9S08PA4
Manuals database logo
manualsdatabase
Your AI-powered manual search engine