S12X EWAITE function

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S12X EWAITE function

1,131 Views
gpio
Contributor I
Hi, We have a LCD controller connected to a S12XDP512, The LCD controller wait pin is connected to EWAITE on the micro. When I enable The external wait function via EBCTRL1 the micro locks up and a COP intrrupt occurs. I notice that the LCD controller asserts it's Wait line ( active low) on a read or write, but it stays low, which I guess is upseting the micro/debugger. If I disable the External wait function, the line will go low and then high on aread or write. Does anyone have any idea why this happens? Cheers!
Labels (1)
0 Kudos
Reply
1 Reply

407 Views
DanielM
Contributor III
Hi,

the PK7 pin is an input when the EWAIT function is disabled and you are doing nothing with the pin. I guess the signal is driven by your LCD controller. It probably asserts the WAIT signal as a response to the write operation on the bus and then de-asserts it again when the /WR signal disappears. Look into the spec of the LCD.

Daniel
0 Kudos
Reply