CD4017 Plus

Thread Starter

danadak

Joined Mar 10, 2018
3,609
I see this part used frequently in forum. Ever need one that does more than 10 outputs, say 16, 32, or 64 outputs ? Or
anything in between like 27.....?

One that needs an enable, or a preload ?

No code design !

Here is one for 16 outputs, easily modified to add above features. Only uses small fraction
of chip. Clock accuracy if you use onchip clock +/- 2% or better depending on your
choice of speed. Of course use a Xtal and << 1 %

Just drag and drop library components (component is onchip resource) onto canvas, wire
up to each other and pins, right click to set parameters, like frequency, counter / mux size
and hit the build button.

Note right hand column, chip resources used/left, most of chip unused. Like all the analog stuff,
the more sophisticated stuff like SAR, DelSig, DAC, OpAmps, PWM, Timer, LCD, DSP, DMA.......

Other CD4XXX chips can be realized this way as well......

1575298030367.png


Regards, Dana.
 
Last edited:

Thread Starter

danadak

Joined Mar 10, 2018
3,609
There is no code in this design. Its just using the logic fabric supplied in the part. There is an ARM
32 in the part, but for simple stuff like this you in general, do not have to write any code. If you
use the more complex parts, like PWM, Timers, if you don't need to config them on the fly in code
you can just config the settings and then supply one line of code, a _Start(); command.

Of course if its a full embedded design then you do write code.

Min HW, $10 (full debug and programming) PSOC 4 or 5LP, or just the chip. When you buy the $ 10 board
it has a snap off section that can be used as a programmer/debugger, for working with PSOC chips, or by
replacing its firmware a general purpose board for other purposes. However the snap off programmer board
part has very limited I/O.

When you buy the $10 board I recommend folks buy the 5LP board, you are getting two 5LP processors,
one for program/debug, the other the target.

https://www.cypress.com/documentation/development-kitsboards/cy8ckit-059-psoc-5lp-prototyping-kit-onboard-programmer-and PSOC 5LP

https://www.cypress.com/documentation/development-kitsboards/cy8ckit-043-psoc-4-m-series-prototyping-kit PSOC 4M

https://www.cypress.com/documentation/development-kitsboards/cy8ckit-042-psoc-4-pioneer-kit PSOC 4, Arduino footprint



Attached is a component catalog. A component is an onchip resource.



Regards, Dana.
 

Attachments

Last edited:

Thread Starter

danadak

Joined Mar 10, 2018
3,609
What is the minimum practical hardware is needed to produce a usable CD4017+?
So once part is programmed (with your design) then you can either use a chip by
itself or one of the boards in the design. Keep in mind doing a 4017 is using << 1%
of the chips capabilities. Normally the rest of the design is also put into the part.
With all the analog + digital + DSP + ARM + Fabric + Routable you can do many
complex designs in just one chip.


Regards, Dana.
 

Thread Starter

danadak

Joined Mar 10, 2018
3,609
One point of clarification.

There is always code used in these designs, just not user written. That is
you configure settings in wizards, like supply V for part, width of a mux, clock
freq...., and the tool generates the code to do that. In these logic like designs
when you hit the build button part routes, checks timing, gens the basic chip
config code, then programs the part, you not having written any "traditional"
code.

But if you need to change PWM parameters on the fly in design, change
counter / timer values on the fly, then you do traditional code on top of
the underlying chip startup code.

Hope thats not too confusing.

Note the tool also allows doing Verilog to create your own HW designs in the
fabric. Or use schematic capture of the onchip components to make your own
custom components. There are a number of users that have done that and
published for others to add to the tool library. Like DDS, 74HCXXX parts, custom
led PWM drive HW......

Community designed components -

https://www.cypress.com/cdc/community-components
https://www.cypress.com/validated-components

Regards, Dana.
 
Last edited:
Top