I posted my question in the other forum but got no answer.
The problem was I 'm trying to make 2 PSoC chip communicate via SPI.
PSoC5LP as master and the PSoC4 as slave.
The problem is, MISO line (P0_2) of the PSoC5 seem to pull the pin low.
I have change the pin to P3_0 and everything works as expected.
Can anyone explained what happened?is P0_2 (Opamp ) input cannot be buffered?
Probably you are working with some development kits. To help you more, will you please tell us exactly which?
The pins do not differ in their behaveour but on a Kit they could have some connections. Did you try to program your pin P0_2 and measure to see if it is ok?
The initial state is 0, as I mentioned before it seem like the pin is pull low.weird...
I test the pin as analog output and then as digital output , everything seem to be working.
Strange. Can you use P0 as normal GPIO port (just assign a digital out pin to it which you toggle manually e.g. once per second, or maybe just as PWM output or so)?