Let's Make Robots!

Cypress PSoC 4


Vendor's Description: 


I love the Arduino and the flexibility this little ATMEGA328 microcontroller can offer. It is easy to implement in new design and to solder.
I also have done some work with .NETMF using the USBizi100 chipset https://www.ghielectronics.com/catalog/product/117 but that is now discontinued.

So I was looking around for other microcontrollers and came across the PSoC 4 and the Pioneer Kit http://www.cypress.com/?rID=77780 It seems very powerful, and for $25.- it’s no great loss if I can’t figure it out.

At its core you find a 24 MHz ARM Cortex-M0 CPU but the exiting thing is that you can configure lots of internal mixed signal electronics directly on the chip.

  • From the analog world you can add circuits like ADC, Amplifiers, Analog MUX, Comparators etc.
  • From the digital world you can add things like Counters, PWM, decoders, Timers…
  • You can add logic directly on the pins with things like NAND, NOR –gates, D flip flop’s, multiplexers
  • And on top of this you can route signals to any GPIO pin you like.

So how far have I come…?

Not far. The IDE is a bit overwhelming but there is a method to this madness. After some tutorials and looking on demo projects it’s starting to make sense. I do think that mastering this device will be a great tool to have in some projects and I’m looking forward to learning more of this amazing little chip.

And another great thing is the price. It’s about $2.50 like the ATMEGA328P-AU for just the chip.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Hi Geir,
You know I respect your work a lot and I ask this not from a critical point but curiosity, how it is you chose to try this platform out. I believe the psoc is popular in industry but from a hobby perspective why did you overlook the stellaris launchpad or stm32 freedom discovery boards?
I couldn't see any limitations with psoc creator but I just installed IAR arm workbench evaluation limited to 32k version after finding some great tutorials from here. Ten lessons in all. Maybe a bit basic for what you need but the instructions on how to get IAR working are at least worth it.

 

but the PSoc is really nice.  Whereas most chips come with whatever peripherals (timers, adc, I2C, whatever) the manufacturer decides you might need, the PSoc comes with uncommitted hardware.  It is kind of like having an FPGA and an analog FPGA on the basic chip.  You can program the hardware to be whatever peripherals you need.  If you need 17 timers for some reason, you can do that.  Need a high resolution adc?  Yep, you can do that.  YOu aren't stuck with what the  vendor chooses.

As for dev tools, it (PSoc 4) has a standard ARM Cortex M0 processor, so there are free dev tools out there, mostly based on GCC.

This is a very versatile system.

Of course, that is reason enough, isn't it bdk. Now I feel like I win the stupidest question of the day this time. Although I had  strong competition today.   ; )

I was thinking maybe it was ease of access though. Although the mail can bring you all kinds of nice things these days, sometimes the economics stops you from trying things out.

If I didn't already have the other two systems and an mbed I'd like to try one of these out now.