element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • 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
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • 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
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum Getting to grips with CPLD as a replacement for micro-controllers.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 2 replies
  • Subscribers 479 subscribers
  • Views 346 views
  • Users 0 members are here
Related

Getting to grips with CPLD as a replacement for micro-controllers.

KennyMillar
KennyMillar over 14 years ago

About 6 months ago I got a Dev Kit free from another supplier who was trying to win my business.

At first I thought it was a bit gimicky - a small PCB with a few chips on it, when you waved it in the air it spelled out messages using a single row of 8 LEDs. Just wonderful, I thought.

 

However, as I played with the kit, and loaded up a few more of the demo projects that came with it, I realised that this was something very different from what I had been used to working with.

 

It turned out the device is actually a PLD - a programmable logic device. It has an ARM Cortex processor core, and whole bunch of programmable logic. Now, I'd looked at PLD, PGA etc before and dismissed it as being only for the 'big guys' - with big development budgets and loads of time to work with this stuff. But this device was different... mainly due to the development environment which comes with it.

 

Let me go back a bit however, and cover some stuff for those who are not familiar with programmable logic.

A programmable logic device, in simple terms, is a collection of logic blocks which can be interconnected, and configured to do just about anything. They can be configured to be any number of things, such as UARTS, i2c masters or slaves, CAN controllers, logic gates (AND, OR, NOT, OR, XOR etc etc), GPIO with open drain, or open collector, or strong drive, or pullup, or pull down.... They can be USB devices, RS232, RS485, even analog ADC and DAC, with all kinds of possibilities. The configuration possibilities are endless.... and it's all implemented in HARDWARE not software. In fact, it's possible to configure the device to perform a full function of many different kinds without even writing a single piece of code to run on it's core!

 

As well as the programmable logic blocks, the device also contains an ARM Cortex 32 bit core, EEPROM, FLASH and RAM, Clock generators, interrupt controllers, SWD debuggers - just about everything you need to build a working system all on one chip.

 

I hear you say, yes but it's all very complex and all very expensive - but that;s the big thing with these modern devices - they are not complex to use, or implement, and are no longer expensive.

 

The devices I am talking about are the latest range of PSoC 3 and PSoC 5 devices from Cypress - and available from Farnell/Element 14. Cypress do not refer to them as PLD or CPLD, but rather as 'System On Chip' - but to some people SoC means fixed function - so be prepared to view them with an open mind.

 

The new development environment which is available for free (PSoC Creator) is fab. It combines a drag-and-drop editor with a huge library of pre-built components, with a great C/C++ Compiler - so you can configure the logic blocks, and program the core all in one IDE - all tightly integrated. It contains a huge library of devices that can be implemented, everything from discrete digital i/o to complex analog mixers, various interfaces such as CAN, USB, UART, I2C, SPI etc, as well as logic functions such as shift registers, LCD Drivers,  and you can also design your own logic blocks.

 

If you're in the habbit of putting a micro-controller and a bunch of glue-logic into your designs, why not consider looking at the new breed of PSoC 3 or 5 devices - you won't be disappointed.

 

One great place to start would be with the PSoC5 First Touch Kit - available from Farnell at item number 1823448

 

Bootnote.

I am an independent consultant engineer, and not affiliated with Farnell, Element14 or Cypress. The above is all my own thoughts, and does not represent the comments of the manufacturers or distributors mentioned above.

  • Sign in to reply
  • Cancel
  • awinning
    awinning over 14 years ago

    Hey Kenny,

     

    Nice to see you down Leeds the other week. Sorry I couldn't hang about long.

     

    Thanks for the post, looks really interesting. I have been trying to get Cypress on RoadTest for a while. How did you get on with the analog blocks? Were they easy to use?


    Ally

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • KennyMillar
    KennyMillar over 14 years ago in reply to awinning

    Yeah - the analog stuff is actually pleasantly easy to use, having said that, it still has some really useful features.

    Look at this screen shot, that shows just how many analog components are in the library to begin with - and if you know what you're doing you can add your own too!

     

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
element14 Community

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 © 2026 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

  • X
  • Facebook
  • linkedin
  • YouTube