Product Update: Errata for eZ80F92 and eZ80F93 MCUs
UP004909-0910 Pag e 3 of 7
6 GPIO edge-trigger
interrupt mapping error For edge triggered interrupts (Mode 6 and Mode 9), erroneous logic
dependencies for the interrupt clearing logic exist on all port pins within
each of the specific ports. To achieve proper interrupt clearing behavior
for a particular port pin its mirror pin must be programmed in a similar
manner. This affects how the designer utilizes GPIO alternate function
pins with GPIO interr up t mo d alitie s of thos e po rt pins.
The definition mirrored pin refers to any port in which for Port X, pin 0 is
mirrored to pin 7, pin 1 is mirr ored to pin 6, pin 2 is mirrored to pin 5, and
pin 3 is mirrored to pin 4.
Note: X is defined as Port B, C, or D.
For example, if PB0 is programmed as an edge triggered interrupt, the
logic dependency to clear the interrupt by writing to PB0_DR and
protecting the actual PB0_DR register value from change comes from
the mirror pin PB7 logic. This is an errata problem which causes erratic
behavior problems.
In the above example, the problem is that PB0_DR itself can be altered
and might change the mode of operation for the port pin PB0. To
correctly set up the logic dependencies, the mirr ored pin must be placed
in the same mode as its counterpart. As the functionally of these port
pins need to be mirrored in order to correct the logic dependency, the
alternate function assignments of these ports would not work correctly.
To use the SPI alte rnate function modality (for example, SPI alternate
function pins PB2, PB3, PB6, and PB7) you will not be able to use the
mirror port pins PB5, PB4, PB1, and PB0 for Mode 6 and Mode 9
interrupt and vice versa.
Any Port pin configured with Mode 6 or Mod e 9 (an edge triggered
interrupt) exhibits this behavior and affects the alternate function
modality. The mirror mapping affects all Ports, specifically within the
respective port pin pairs 0 and 7, 1 and 6, 2 and 5, and 3 and 4.
Note: This design flaw in no way affects the IVECT address for the
GPIO interrupts.
Workaround
Below is an example setup:
PB0 Input, falling edge interrupt
PB1 Input, dual edge interrupt
PB2 Input, falling edge interrupt
(continued)
Table 1. Errata to eZ80F92 and eZ80F93 Devices (Continued)
No Issue Detailed Description