E2ForLife

About

Home  >>  About

E2ForLife.com is a site dedicated to the development of great embedded systems using smart techniques that allow a maximum amount of performance from low-cost, quick-turn projects. In order to achieve these goals, my personal projects are documentedĀ  (along with the example and library code) to provide a resource to the professional developer as well as an educational resource for those new to the world of embedded development.

I’ve spent more than 20 years developing software and hardware to control everything from garment industry equipment and high-power motors to high performance embedded controllers using languages such as C, C#, C++, ADA, VHDL and more. With each project, I have always sought out new techniques or technologies to help to make the bottom line a bit lower while making the delivery a little bit shorter, and delighting the customer.

E2ForLife is not just Embedded Engineering… It’s much, much more.

7 Comments so far:

  1. Michael says:

    Hi, thanks for another project of high quality.
    Sets a standard for others…

    I am working with PSoC5 devices and would like to use the W5500 device.

    But unsure about editing your component.

    Do you think it a reasonable thing to do?

    Love your work, regards Michael Joubert.

  2. aksuakin says:

    Hi,

    Thanks for all knowledge,

    How can I use the CY8CKIT-042 Pioneer Kit and CY8CKIT-143 (CY8C4248LQI)

    I working PSoC4 and Wiz5100 devices but it don’t work.

    Could you help me?

    Regards

    Akin

    • chuck says:

      Glad it is helping you with your projects. As for the CY8CKIT-042 and/or the CY8CKIT-143, I recommend checking the repo at https://github.com/e2forlife/PSoC-W5100-Driver and starting with the PSoC pioneer + Arduino shield example project. That example uses the W5100 device with the PSoC 4 (CY8C4245) and, as far as I recall worked quite well. You’ll probably have to rig some wires and change the target device for the BLE part, but that example should help to get you moving in the correct direction.

      Hope all goes well, and as always, if you have any questions, please ask!

  3. Akin AKSU says:

    Hi Chuck,

    Thank you for your reply.

    I have tired PSoC pioneer + Arduino shield example project, but it couldn’t get IP. why could it be

    Thank you so much.

    Regards

    Akin

    • chuck says:

      Akin, the IP address is set from the component configuration dialog, so check to make sure that the IP address of the project is set correctly within the dialog. There is an API call that can be used for the update of the IP Address, but you will probably need to default the IP address in order for the socket to correctly open allowing you to call the API function to change the address. Also, try checking your pin connections to verify that they are properly connected. the PSoC4 uses SCB’s for SPI communication, and is pretty picky about the pins that can be used for interfacing with the W5100.

  4. Mohit Nandrajog says:

    Hi Chuck,

    I am working with the CY8CKIT-030.
    Tried to implement the example code and the component but the W5100 never acquires an IP.

    Kindly advise.

    Thanks,
    Mohit

    • chuck says:

      Is the W5100 getting initialized? The CY8CKIT-030 is a PSoC3 board, so you also might want to check that the word order is correct for the W5100. On PSoC3 since it is 8051-based, the byte ordering of words is BIG-ENDIAN, but the default Cortex-M configuration is LITTLE-ENDIAN, so the bytes have to get swapped when writing words to the W5100 for the Cortex-M. Make sure that the byte ordering is correct for the W5100 in the code. It could be that in the driver there is a bug that is causing the byte ordering to be set incorrectly for PSoC3.

Leave a Reply