Jun 18, 2019
04:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 18, 2019
04:14 AM
hi,
I've got problem with ESR interruption in standby/run mode.
I'm recently configuring standby mode on aurix Tc222.
Data sheet says that ESR1 pin can generate interruption to wake-up microcontroller and can as well work as general input output.
I want to use this as wake-up trigger as well as general I/O that generates interruptions in run mode.
datasheet says also that ESR pins are handled by ERU module (Chapter 8.4.1.2) .
The problem is that, ERU module, neither Scu module, hasn't got any references, except few bit fields in register headers files(iLLD), to this pin .
I can only configure Scu module that concern few ESR registers in wake-up/standby mode.
Datasheet says very few about software configuration in standby and nothing about using it in run mode.
Where can I find information, how to configure it ?
I've got problem with ESR interruption in standby/run mode.
I'm recently configuring standby mode on aurix Tc222.
Data sheet says that ESR1 pin can generate interruption to wake-up microcontroller and can as well work as general input output.
I want to use this as wake-up trigger as well as general I/O that generates interruptions in run mode.
datasheet says also that ESR pins are handled by ERU module (Chapter 8.4.1.2) .
The problem is that, ERU module, neither Scu module, hasn't got any references, except few bit fields in register headers files(iLLD), to this pin .
I can only configure Scu module that concern few ESR registers in wake-up/standby mode.
Datasheet says very few about software configuration in standby and nothing about using it in run mode.
Where can I find information, how to configure it ?
- Tags:
- IFX
1 Reply
Jun 20, 2019
08:38 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jun 20, 2019
08:38 AM
Hi Lukas_G. There's a demo for the ERU in the latest iLLD - see ScuEruDemo, \0_Src\AppSw\Tricore\Demo_Illd\ScuEruDemo.c.
To use ESR1 as a wakeup, try setting ESR1 as a wakeup (PMSWCR0.ESR1WKEN=1), and then switch to Standby Mode (PMCSR0.REQSLP=1).
To use ESR1 as a wakeup, try setting ESR1 as a wakeup (PMSWCR0.ESR1WKEN=1), and then switch to Standby Mode (PMCSR0.REQSLP=1).