This project will be a platform for internet connected PSoC 4 devices.
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
Create an account to leave a comment. Already have an account? Log In.
There are two flavours of this board. One uses the CY8C4125 and the other (pictured) uses the CY8C4245. The latter is the more powerful device.
I have got this working to an 'entry' level using work by Kartik Mankad that can be downloaded from https://github.com/kmmankad/ENC28J60-PSoC3
Note that Kartik's work is for the PSoC3 series and the PSoC4 has different endianness. I have got this working with the CY8C4125. If I can join the team, I'll upload the project files.
You will need to take it from there. In 'real' projects, I want to use the PSoC5, not the PSoC4.
As a note: if you use the CY8C4245 as here, the SPI is simpler and Kartik's original SPI send/receive code works unmodified. The CY8C4125 works differently.
Any progress? I'd like to follow your work as a) I have the very same bits on my desk as I type this and b) I'd really like to get some useable handle on adding Ethernet to my products.
Become a member to follow this project and never miss any updates
By using our website and services, you expressly agree to the placement of our performance, functionality, and advertising cookies. Learn More
This is very do-able. There are some minor issues.
Firstly, the ENC28J60 works at 3.3V so it is necessary to add a regulator. This can be done by taking off the PTC fuse on the board and bridging the pins with a capacitor and a TO92 linear regulator.
Secondly, it is a good idea to have a unique MAC address. This can be done with a DS2502E48 device. This takes just one IO with a resistor pull-up.
The CY8CKIT-049-41XX is now discontinued but the 42XX version has more capability and is still very cheap. It isn't debuggable because it uses a bootloader on the break-off part. But if you have a MiniProg3 and a suitable header, you can use that instead.
I have written a little program to convert simple HTML to 'c' code that will kluge into Kartik Mankad's code (see link above). I have adapted his code somewhat so that it incorporates the macros to make it work transparently between 8051 and ARM PSoC devices.
If anyone is following this and wants to get in touch, Google my name to find my web site and email via the link.