element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Benefits of Membership
    • Achievement Levels
    • Members Area
    • Personal Blogs
    • Feedback and Support
    • What's New on element14
  • Learn
    Learn
    • Learning Center
    • eBooks
    • STEM Academy
    • Webinars, Training and Events
    • More
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • More
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • More
  • Products
    Products
    • Arduino
    • Dev Tools
    • Manufacturers
    • Raspberry Pi
    • RoadTests & Reviews
    • Avnet Boards Community
    • More
  • Store
    Store
    • Visit Your Store
    • Choose Another Store
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Cypress Kits
  • Products
  • Dev Tools
  • Cypress Kits
  • More
  • Cancel
Cypress Kits
Forum PSoC 4 Pioneer Kit Community Project#055 – Parallel to Serial UDB Component
  • Blog
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Cypress Kits requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 7 replies
  • Subscribers 14 subscribers
  • Views 294 views
  • Users 0 members are here
  • 100projects
Related

PSoC 4 Pioneer Kit Community Project#055 – Parallel to Serial UDB Component

cy.wbz
cy.wbz over 8 years ago

Hello!

 

Today’s example is the release of a community component for a parallel to serial UDB component. At the bottom of this post we have included the example project for the component and the custom component datasheet. The key point of this component is that it’s applicable to PSoC 3/4/5LP device families.

 

Forum Post Attachments:

 

At the bottom of this post we are including the following items:

  • Example Project Zip File
  • Zip File of Images
    • Project Schematic
    • Component Configurations

 

 

Components Used:

 

The user can download the example project at the bottom of this post. The project uses the following list of Creator Components:

  • Parallel to Serial

 

The components are configured by right clicking on the component in your Top Design schematic view and selecting Configure. Please enable the following selections in the Configuration windows for the listed components above.

 

Firmware Description:

 

The main.c firmware is included in the example project. Please review the commented sections for more details.

 

The parallel to serial component contains a set of datapaths that allow conversion of any parallel data, given to the component, to be transmitted in a serial data output. The required baud rate can be set using the clock input.

 

In this example we are outputing some parallel values to the serial port. Feel free to test out this example using and Oscope to verify the serial output content.

 

Hardware Connections:

 

There are no connections for this example. This is a custom component released to the community that enables some type of set functionality. Please refer to yesterday’s post for information on how to import or export your custom component.

 

Test Your Project:

 

Program the Pioneer kit with your example that utilizes the parallel to serial component and connect the kit to your custom hardware.

 

I hope this example can help you in your design.

 

Best,

Matt

Attachments:
Parallel to Serial v1_0.zip
3823.Project Images.zip
  • Reply
  • Cancel
  • Cancel

Top Replies

  • Former Member
    Former Member over 8 years ago in reply to DAB +1

    This project uses one Datapath instance for implementing Parallel to Serial conversion. Every UDB block contains one Datapath instance. So, you can use 4 such instances of this component in a 42xx family…

Parents
  • DAB
    DAB over 8 years ago

    A very useful capability.

     

    How many instances does the Psoc 4 support?

     

    DAB

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • Former Member
    Former Member over 8 years ago in reply to DAB

    This project uses one Datapath instance for implementing Parallel to Serial conversion. Every UDB block contains one Datapath instance. So, you can use 4 such instances of this component in a 42xx family of PSoC 4 which contains 4 UDB blocks. It is not possible to use this component in 41xx family as they don't have any UDBs.

    • Cancel
    • Up +1 Down
    • Reply
    • Cancel
  • jesusantoniocar
    jesusantoniocar over 8 years ago in reply to Former Member

    Hello Kishore Kumar S.

    Thanks for your explanation. i have to say too that  the UDB array also provides a switched Digital System Interconnect (DSI) fabric that allows signals from peripherals and ports to be routed to and through the UDBs for communication and control.

     

    Regards,

     

    Jesus Antonio.

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • DAB
    DAB over 8 years ago in reply to Former Member

    Hi Kishore,

     

    That's what I thought, but I wanted to make sure so that everyone could see how these programmable hardware blocks work.

     

    Thanks

    DAB

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Reply
  • DAB
    DAB over 8 years ago in reply to Former Member

    Hi Kishore,

     

    That's what I thought, but I wanted to make sure so that everyone could see how these programmable hardware blocks work.

     

    Thanks

    DAB

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Children
  • Former Member
    Former Member over 8 years ago in reply to DAB

    Speaking of parallel to serial, today's project shows how to make sound-effects by using the same concept (used in PSoC Creator's SPI and Shift Register components).

     

    Oh - it may also be interesting to state that PSoC 4 also has 2 SCBs (serial communication blocks) that can do SPI. Effectively, these are additional 'Parallel to serial' blocks that 41xx as well as 42xx parts have.

     

    PSoC 4's UDBs (Universal Digital Blocks) are a pretty versatile Programmable Logic fabric, in that there are a number of small custom functions that you can perform with them.

    For instance, Matt is soon going to release a project that implements an RGB LED controller function (Component) implemented in a single UDB (single Datapath and 3 Macrocells, actually).

    So if you understand the UDB, you can get really creative and efficient with your designs.

     

    Matt, do we have a release date for the triple-compare PWM ?

     

    Antonio

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
  • cy.wbz
    cy.wbz over 8 years ago in reply to Former Member

    Antonio,

     

    The triple compare PWM will be posted Thursday. The serial audio will be posted today (likely in the next hour)

     

    -Matt Buza

    • Cancel
    • Up 0 Down
    • Reply
    • Cancel
Element14

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2022 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • Facebook
  • Twitter
  • linkedin
  • YouTube