You are here

external power supply and usb connection psoc 5LP | Cypress Semiconductor

external power supply and usb connection psoc 5LP

Summary: 7 Replies, Latest post by odissey1 on 13 Nov 2016 09:50 PM PST
Verified Answers: 2
Last post
Log in to post new comments.
giada.bandera_1524106's picture
User
3 posts

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

user_1377889's picture
User
9572 posts

The PSoC cannot withstand voltages > 5V

 

Bob

giada.bandera_1524106's picture
User
3 posts

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

hli
user_78878863's picture
User
2575 posts

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).

user_1377889's picture
User
9572 posts

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

 

Bob

giada.bandera_1524106's picture
User
3 posts

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.

Attachments: 
ANKS's picture
Cypress Employee
88 posts

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

user_342122993's picture
User
578 posts

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.

Log in to post new comments.