FAQs for OCDS-C166S


The embedded tools company

Search FAQs



PDF document ( 28KB / 07-Sep-2016 )


TOP

Suspend functionality and wake-up mode (XC2xxx)

Ref: 0350
What has to be done to stop the General Purpose Timers when the CPU is stopped?

Basic setup for the general suspend mode:
    SYStem.Option PERSTOP ON
    SYStem.Option PERSTOPFIX ON

Component-specific setup (example): The xxx_KSCCFG Suspend mode configuration register has to be enabled. For the General Purpose Timer, e.g. GPT12E_KSCCFG = 0x0201 This can be done in the application or via TRACE32 (PER.Set D:0xFE1C %Word 0x0A03)

NOTE: If you want to use the suspend functionality the ITCEN, GPTEN and the WUTEN bit have to be disabled in the GSCEN register. It is not possible to use the suspend functionality and the wake-up mode at the same time.

TOP

Suspend functionality and wake-up mode (XE16x)

Ref: 0350
What has to be done to stop the General Purpose Timers when the CPU is stopped?

Basic setup for the general suspend mode:
    SYStem.Option PERSTOP ON
    SYStem.Option PERSTOPFIX ON

Component-specific setup (example): The xxx_KSCCFG Suspend mode configuration register has to be enabled. For the General Purpose Timer, e.g. GPT12E_KSCCFG = 0x0201 This can be done in the application or via TRACE32 (PER.Set D:0xFE1C %Word 0x0A03)

NOTE: If you want to use the suspend functionality the ITCEN, GPTEN and the WUTEN bit have to be disabled in the GSCEN register. It is not possible to use the suspend functionality and the wake-up mode at the same time.




Copyright © 2016 Lauterbach GmbH, Altlaufstr.40, D-85635 Höhenkirchen-Siegertsbrunn, Germany  Impressum
The information presented is intended to give overview information only.
Changes and technical enhancements or modifications can be made without notice. Report Errors
Last generated/modified: 22-Sep-2016