5 Replies Latest reply on Sep 14, 2020 7:42 AM by RoRo_4659551

    PSoC 5LP Dedicated Tutorial Videos

    RoRo_4659551

      Hi All,

       

      Is there a PSoC 5LP dedicated tutorial videos using CY8CKIT-001? or do i need to use the PSoC 4 tutorial videos as reference?

       

      Thanks,

      Roy Roif.

        • 1. Re: PSoC 5LP Dedicated Tutorial Videos
          LePo_1062026

          Roy,

           

          Cypress has many videos some might be specific to the PSoC5.

           

          What are you looking to do?

           

          There are a number of example projects that highlight specific aspects of the part, (ie ADC, CapSense, DAC, UART, etc).

          These are a good way to learn and piecemeal a custom project together.

           

          Len

          • 2. Re: PSoC 5LP Dedicated Tutorial Videos
            LePo_1062026

            Roy,

             

            Here is a link to a page displaying PSoC5-specific videos:  https://www.cypress.com/products/32-bit-arm-cortex-m3-psoc-5lp

             

            If you can describe what you'd like to learn, we can help steer you in the direction of other videos, App Notes, example projects and more.

             

            Len

            1 of 1 people found this helpful
            • 3. Re: PSoC 5LP Dedicated Tutorial Videos
              RoRo_4659551

              Hi Len,

               

              Thank you very much for the link, i am using PSoC 5 in the DAQ [data acquisition] board i designed and i would like to configure the MCU so i can use the different ports i designed [analog and digital IO, relay, etc].

               

              Is it possible to do so just by connecting the modules together in PSoC Creator? or do i have to write code?

               

              Thanks,

              Roy Roif.

              • 4. Re: PSoC 5LP Dedicated Tutorial Videos
                LePo_1062026

                Roy,

                 

                The beauty of the schematic entry via TopDesign is that the HW connections to many of the components are assigned at design-time.  This means if the TopDesign portion compiles without issue in the Application Build phase, the HW connections via UDBs, datapaths and Fixed Function blocks are loaded into the PSoC between the reset and running main().

                 

                Note however, that due to power savings, and other initialization sequence operations, many of the components have their own <component>_Init() and <component>_Start() API calls to allow for you to control when (or if) these components get started in code.

                 

                If you've already designed the DAQ board, you should be able to pre-assign the digital and analog IO by first allocating the pins in TopDesign.  The pin type can be assigned as Input HiZ digital or analog, Output can strong drive, weak drive, OD low or OD high or Birdirectional.   In many cases you can combine I or O characteristics.  These pins will be pin number UNASSIGNED.

                 

                Since you already have designed the DAQ board, you then need to:

                1. Go into the DWR (Design Wide Resource) group
                2. Select the "Pins" sub-group.
                3. Find the pin name assigned.
                4. Bring the "Ports" column.
                5. A list of available port pins will allow for a manual selection.
                6. A "GREEN" box to the far left indicates that pin fits your IO type selection.  If it isn't GREEN, you probably will be restricted from selecting it or advised not to select it.
                7. Once a selection has been made, the Check mark in the "Lock" column shown be present.   This locks the pin show you need to change the TopDesign in the future.

                 

                If you have not committed your design to a PCB build yet, this is the best option.  This allows you to reassign IO if needed.  Normally the IO routing for both analog and digital IO is very flexible.  Having said this, there is "preferred" IO assignments in the PSoC to get the optimal performance.  For analog and digital there are preferred pins to gain the lowest resistance routing.   This allow for high output drive or faster input or output max operating frequencies.

                 

                With this in mind, my strategy is normally to first lock in the pins that MUST be hard assigned.  In my case this is the serial port for IO debugging to the KitProg board connected to the Kit I'm using.   Next build your TopDesign with NO other pin assignments.   Let the Application build.   Evaluate the pins assigned after a successful build.   Cypress will try to optimize the pin assignment but they don't have the details of your specific design intent.   If I want to use some different pins, I change them in the DWR/Pins window and rebuild the Application.   If the build is successful, I move on the phase to write the Application code.

                 

                 

                Len

                1 of 1 people found this helpful
                • 5. Re: PSoC 5LP Dedicated Tutorial Videos
                  RoRo_4659551

                  Ah ok thank you very much