cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 4 MCU

Anonymous
Not applicable
        Hi, Many customers came to us asking if it is feasible to have an SGPIO target component in PSoC 4. The answer is "yes". SGPIO target component can fit into 4 UDBs and hence PSoC 4 (42 series) can support this component. This component is not directly available in PSoC Creator. Hence you need to import the component in your project. Here is a project which shows an example of importing and using SGPIO target component in PSoC 4. In this project, I am just sending back the data whichever the target receives. I hope it will be useful to you. Regards, Asha   
14 Replies
HeLi_263931
Honored Contributor II

Maybe you should mention that this component is about connecting SATA devices to the PSoC... (not everybody knows what SGPIO means)

0 Likes
ETRO_SSN583
Esteemed Contributor

The standard appears to be more than just SATA solutions -

   

 

   

http://en.wikipedia.org/wiki/SGPIO

   

 

   

Regards, Dana.

0 Likes
ETRO_SSN583
Esteemed Contributor

Here is the standard -

   

 

   

ftp://ftp.seagate.com/sff/SFF-8485.PDF

   

 

   

Hli, seems like 2.5" drives in general was motive for standard, and

   

of course SATA drives took over the 2.5" market. SAS was also

   

a motive for strandard.

   

 

   

http://www.webopedia.com/DidYouKnow/Computer_Science/2007/sas_sata.asp

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

Is there a SEP module Supporting some of the SES commands available for the PSOC?

0 Likes
Anonymous
Not applicable

 Can you please provide more details of SEP Module and SCS commands? Also, please explain your requirement in detail.

0 Likes
Anonymous
Not applicable

Hi  asha;

this SGPIO code can not support 24 clocks of one data cycle, How to modify this component, let it support 24 clk。

thank you very much

0 Likes
RodolfoGL
Employee

Hi,

You can refer to the attached SGPIO component. This new version can support up 24 bits per frame.

To import the component to PSoC Creator, please refer to this video:

http://www.cypress.com/resource-types/video/psoc-creator-tutorial-importing-components

0 Likes
Anonymous
Not applicable

Hi rlos;

Does this component can support 12 clk and 24 clk at the same time? thank you

0 Likes
Anonymous
Not applicable

Hi rlos;

I can not create 2 instances with this component in a project, but I can create 2 instances with SGPIO_Target_PSoC4.zip.

my psoc device is CY8C4246AZI-M445

0 Likes
Anonymous
Not applicable

Hi rlos;

I do not need Vendor Specific info. just want to get the sdataout data. the data is 12 clks or 24 clks.

0 Likes
RodolfoGL
Employee

Hi,

This component can support 12 clks or/and 24 clks. If you need to dynamically change the number of clks supported, use the SetSGPIOFrameSize() function.

In order to support 24 clks, the component requires 3 UDBs. That means you can only place one instance in the PSoC 4M part.

You could remove the Vendor Specific info to save a few resources, but it will still require 3 UDBs.

0 Likes
Anonymous
Not applicable

tx and rx FIFO buffer is not need 4x datas, or do not need tx FIFO,this can reduce one udb?

Useing SetSGPIOFrameSize to set the clk is not practical, because PSOC do not know in advance the data length.

So I think the Frame need to be set 24 clk, if the practical data is 12 clk, and the ReadRxData return 12 valid clk data, and 12 invalid data(0).

0 Likes
Anonymous
Not applicable

So this SGPIO component need a function GetSGPIOFrameSize to get current data length.

0 Likes
RodolfoGL
Employee

Hi,

Removing the TX FIFO support will not decrease the number of UDBs. It only reduces the number of PLD logic, but we still need at least 3 datapath to support 24 clks, which consumes 3 UDBs.

You could use a timer or a counter externally to the component to count the number of clocks between two consecutive rising edge of SLOAD. Once you find out that, you can call SetSGPIOFrameSize() and enable the SGPIO component.

0 Likes