ESR pins can be used as general data I/O pins?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
kv193
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Hello.
I read in UM:

-------------------------------------------------------------
9.1.4.1

External Service Requests (ESRx)
The ESR pins can be used in various ways:
• ESR inputs can trigger a reset
• ESR outputs can provide a reset indication
• ESR inputs can trigger a trap request
• ESR pins can be used as general data I/O pins
• ESR inputs can trigger a wake-up from standby mode
-------------------------------------------------------------------

And question is: ESR pins can be used as general data I/O pins? And if "yes", then "how"?

0 Likes
1 Solution
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

Yes, ESRx pins can be configured and used as GPIO but each reset will reconfigure the settings for ESRx (e.g. ESR0 will be driven low during reset).

View solution in original post

0 Likes
6 Replies
FD_aurix
Level 5
Level 5
100 sign-ins 100 replies posted 5 solutions authored

No, ESR0 and ESR1 could not be used as GPIO

0 Likes
kv193
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Thank you, FD_aurix.

Why UM have this info?:

• ESR pins can be used as general data I/O pins.

Without this info all is correct. But this statement confuse me.

0 Likes
FD_aurix
Level 5
Level 5
100 sign-ins 100 replies posted 5 solutions authored

I was not aware about this functionality. You can refers to the UM 9.1.4.1.3 ESR Registers  Checking for the IOCR OUT IN and OMR register.

0 Likes
MoD
Employee
Employee
50 likes received 500 replies posted 100 solutions authored

Yes, ESRx pins can be configured and used as GPIO but each reset will reconfigure the settings for ESRx (e.g. ESR0 will be driven low during reset).

0 Likes
kv193
Level 1
Level 1
5 sign-ins First solution authored First reply posted

Ok, I understand this functionality after reset. But how reconfigure ESR0 as GPIO? And what iLLD functions use for that? In third party device ESR0 used for reset one chip and I want reset this chip in application at any time as needed.

0 Likes
Yuva
Moderator
Moderator
Moderator
250 replies posted 250 sign-ins 100 solutions authored

Hello,

The register configuration to make ESR pins to function as GPIO is available in section 9.1.4.1.3 of User Manual part1, refer IOCR.

Thanks.

0 Likes