You are here

Question about connections of digital output pin | Cypress Semiconductor

Question about connections of digital output pin

Summary: 4 Replies, Latest post by vsrs on 07 Oct 2016 07:26 AM PDT
Verified Answers: 1
Last post
Log in to post new comments.
heimo.gaicher_1629436's picture
User
2 posts

Hello,

i'm a newbie with PSOC Creator (i use PSOC Creator 3.3 with the PSOC 4 Pioneer Kit) and i made the first steps with the Lessons of PSOC Creator 101.

Now, im a little bit confused about the connections of the pins.

In the lesson there was a connection (picture 1) and in my experiment the connection of the pin disappears complete when i removed the hook "HW connection".

Can somebody explain me what's going wrong?

 

user_1377889's picture
User
9834 posts

Welcome in the forum, heimo.

There is nothing wrong at all, keep calm ;-)

The "Hardware Connection" refers to PSoC internal hardware. This must be activated when you have a signal that you want to connect your pin to. On the other hand you have the choice to set a pin's state using the API PinName_Write(). This only works with disabled "Hardware Connection".

 

Bob

vsrs's picture
Cypress Employee
48 posts

Hi Heimo,

As per the datasheet

"HW Connection – This parameter determines whether the digital input terminal for an input pin is displayed in the schematic. If displayed, the pin provides a digital signal to the digital system interconnect (DSI) for use with hardware components. Independent of this selection, all pins can always be read by the CPU through registers or APIs. If this option is not selected, the terminal is not displayed and it is controlled only by software APIs."

In simple words you can choose whether to tick the option based on whether you want to control the pin only using your software API's or you want hardware control(PSoC internal hardware). 

Regards,
vsrs

user_1377889's picture
User
9834 posts

@vsrs

"using your software API's or you want hardware control also

Not "also", you cannot control a pin's output per software API when it is connected to a PSoC internal signal.

 

Bob

vsrs's picture
Cypress Employee
48 posts

@Bob,

Thanks for the correction :)

regards,
vsrs

Log in to post new comments.