How to change Select in execution time : global_out_even/odd, analog in and analog mux bus | Cypress Semiconductor
How to change Select in execution time : global_out_even/odd, analog in and analog mux bus
This is the first time i post on this forum. I am developing my final degree project with a CY8C28445. It's simple, i'm using resistive sensor as proximity-pressure sensor, to get the proximity i use Capsense, and the pressure measurement is obtained from ADC. The problem is that i have already a manufactured PCB with the components assembled. Due to this, i have to share a pin (P0) between capsense shield_electrode_output (Global out even) and ADC input(Analog in).
My doubt is, how can i change from a global odd/even output to analog in and vice versa ? I have read some application notes and the TRM and i really don't know how to to do this. I thought a possible alternative by changing the ADC input from Analog in (Analog column) to Analog mux input, the problem is that i don't understand the way to select an input from others. Do i have to change the other pins PRTXGS[x] to stdcpu to select only one pin conected to the analog mux? Or, is there a function that enables and disables the mux inputs i want connected to the bus?
I hope you can help me cause im stuck.
Thank you all!!!