Hello everyone,
in PSoC 4100, I'm trying to use P4_0 and P4_1 as SCB pins (UART mode) for the first 3 seconds, than switch them to GPIO if no communication is received. Is there a way to do that?
I've found this article:
http://www.cypress.com/knowledge-base-article/switching-gpio-pin-connect...
It seems to deal with my problem but unfortunately it doesn't say how should I configure .cydwr and .cysch files. I currently have SCB component enabled and 2 more schematic pins are automatically assigned to another port during build-time.
Disabling the 2 schematic pins would force me to use SCB macros to read and write to its pins, which I suppose is not the right way to handle the problem.
Disabling SCB component obviously doesn't allow me to compile all the communication-related part.
Is anyone able to explain me how should I do this?
Thanks in advance