cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

AnLa_2442386
New Contributor

Hi,

I'm currently creating some psoc component, where I need to have optional pin. How to do that ?

AnLa_2442386_0-1625819459861.png

 

Thanks

Antoine

0 Likes
1 Solution
odissey1
Honored Contributor II

AnLa,

Attached is a project showing Pin Show/Hide. Actual Pin inp is being hidden, instead of removing it entirely. Please notice Pin inp settings (Format Shape).

/odissey1

PinEnable_01a_B.png

View solution in original post

3 Replies
Len_CONSULTRON
Honored Contributor II

Antoine,

There is some info in the "Component Author Guide" but it is a bit hit or miss.

Do you know how to import someone else's component.  It is very common for component authors to use other's components as a working example.  For example if you import "cy_dma_v1_70" you can use it to reverse-engineer how to add optional terminal pins and the way to make the pin visible (Visibility Expression) based on a Formal Parameter.

Start there. 

 

Len
"Engineering is an Art. The Art of Compromise."
0 Likes
odissey1
Honored Contributor II

AnLa,

Attached is a project showing Pin Show/Hide. Actual Pin inp is being hidden, instead of removing it entirely. Please notice Pin inp settings (Format Shape).

/odissey1

PinEnable_01a_B.png

View solution in original post

AnLa_2442386
New Contributor

@Len_CONSULTRON Thanks for the tips, I have tried to reverse the dma component, but i'm facing to blocking issue where my item need be a "cy_m0s8_dma_v1_0". I try a ton of other things, the LUT component seem to be a better start than DMA. I don't found any documentation about cs interface api, I'm not a C# dev, without documentation it's a bit too difficult (do not really have time).

@odissey1 Awesome, that what I looking for, i had never open "format shape" for pin

Thanks you both

Antoine

 

0 Likes