S12X EWAITE function

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S12X EWAITE function

1,391 次查看
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!
标签 (1)
0 项奖励
回复
1 回复

667 次查看
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 项奖励
回复