cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

Anonymous
Not applicable

Good Morning,

   

I'm running a project which involves the use of Psoc 5Lp board.

   

I was wondering if it is possible to connect  the USB port J2 to PC and, at the same time, the Vin pin to external 12V power supply. 

   

The reason why is that I need to control a circuit which is powered by a 12 V power supply and meanwhile I need to communicate with the PC through the USB.

   

Thank you very much, 

   

Giada

0 Likes
1 Solution
HeLi_263931
Honored Contributor II

Yes, but the GPIO pins cannot handle voltages higher than Vddd. To do that you need a level shifter (when ist low-speed: for inputs a simple resistor divider, for outputs a transistor).

View solution in original post

0 Likes
7 Replies
JoMe_264151
Expert II

The PSoC cannot withstand voltages > 5V

   

 

   

Bob

0 Likes
Anonymous
Not applicable

isn't there a regulator which converts the input voltage Vin from 12V to 5V or to 3.3V? 

   

   

0 Likes
HeLi_263931
Honored Contributor II

Yes, but the GPIO pins cannot handle voltages higher than Vddd. To do that you need a level shifter (when ist low-speed: for inputs a simple resistor divider, for outputs a transistor).

View solution in original post

0 Likes
JoMe_264151
Expert II

Regulator depends on the board you use. Consult your kit's datasheet on how to connect external power.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Thank you.

   

Can I use as a level shifter a voltage divider as shown in the figure below and attached?  the 12 V would come from the power source, then they would be converted into 5V thanks to this circuit and finally I would insert the 5V pin (coming from the voltage divider circuit)into the Psoc Vin pin. 

   

   

So, I would have both the USB connection through J2 and the Vin pin inserted.

   

0 Likes
AnkitaS_51
Employee

You can use resistor divider for input signals at GPIO(low speed signals)

odissey1
Honored Contributor II
        Giada, If you plug KIT-059 USB communication port into PC, it will be already up and running, so you can collect information from your other board. You do not need any other power supply source. If you goal is to monitor 12V test point, use resistor divider to bring it down to 0-2V for ADC input.   
0 Likes