2 Replies Latest reply on Jul 29, 2018 9:32 PM by MeenakshiR_71

    Adding SMIF to new PSoC6 project

    TeMa_1467596

      I'm running PSoC Creator 4.2 on Windows 10

       

      I have a CY8CKIT-062-BLE and I've successfully run the example project CE220823 using the SMIF component.  I now want to add the SMIF component to a project that I'm building up so I followed the instructions in Appendix A to CE220823 supporting document (Document No. 002-20823 Rev.*B 5) about running the SMIF Configuration Tool.

       

      The issue is that, although the cy_smif_memconfig.c and cy_smif_memconfig.h files are generated and I can see them in File Explorer, they don't appear in my project folder structure - questions:

       

      1. In step 5, it says "Click File and save *.cysmif in the example root folder" but what is the folder that I should be saving my files into?  My .cywrk.csw file is in  is in C:\Cypress\PSoC6_T4 so is this the folder I should save into? And, for this step, If I go File > Save, it just saves somewhere without me saying where and, if I go File > Save As, I have to specify the filename so I'm not sure about this
      2. It's also ambiguous in the Options > Configurations dialog box as to what's being saved where - can you clarify?
      3. Do I need to add the generated files to my project?  If so, this is not specified in the steps I'm following

       

      Thanks in advance.

       

      Ted

        • 1. Re: Adding SMIF to new PSoC6 project
          ShipingW_81

          Hi Ted,

          I just tested it according to the steps mentioned in that doc. To your questions:

           

          1. In step 5, it says "Click File and save *.cysmif in the example root folder" but what is the folder that I should be saving my files into?  My .cywrk.csw file is in  is in C:\Cypress\PSoC6_T4 so is this the folder I should save into? And, for this step, If I go File > Save, it just saves somewhere without me saying where and, if I go File > Save As, I have to specify the filename so I'm not sure about this

              --you can save files into root folder of your project, take CE220823 as example: ...\SMIF_Memory_Write_and_Read_Operation01\SMIF_Memory_Write_and_Read_Operation01.cydsn

           

          2. It's also ambiguous in the Options > Configurations dialog box as to what's being saved where - can you clarify?

               --the same folder mentioned in Q1.

           

          3. Do I need to add the generated files to my project?  If so, this is not specified in the steps I'm following

               --no need to add them manually.

           

          Please try then and let me know if it still doesn't work.

          • 2. Re: Adding SMIF to new PSoC6 project
            MeenakshiR_71

            Hello Ted,

             

            By default, when you right-click the SMIF component from TopDesign and save a *.cysmif configuration, it will be saved in the root folder of the project (as pointed by ShipingW_81) from where you opened the config tool. This can be verified by the change in the title bar of the SMIF configuration tool after you do save (it will point to the cy_smif.cysmif file in the project .cydsn folder).

             

            The file generation is automatically taken care if you select the "Generate code from cy_smif.smif file" in the SMIF component conifguration window (as shown below). For this you need to do create the cy_smif.smif file as explained in the document.

             

             

            Regards,

            Meenakshi Sundaram R

            1 of 1 people found this helpful