PLC Stamp 1

also available at CODICO GmbH

HomePlug Green PHY® powerline module with ARM Cortex M4 microcontroller and line coupling

With PLC Stamp 1 you get the simplest way to realize powerline communication with your own devices. You don’t have to develop a driver for the QCA7000, but you can run your application on PLC Stamp 1 instead. The board provides an SPI, UART, CAN or I2C interface for connecting your application hardware . With PLC Stamp 1 you can transmit data via AC, DC or dead wire connections.

You can make the first steps with the example applications from this website.  PLC Stamp 1 has an SWD (serial wire debug) interface for debugging.

  • Integrated transformer and zero crossing unit
  • On-board QCA7000 flash memory
  • DIP switches for custom use
  • Free software environment IDE from Freescale

Technical Characteristics


Powerline Controller Qualcomm QCA7000
 Microcontroller  Freescale ARM Cortex M4 MK20DX256
 Power Supply  3.3 V
 Power Consumption  0.5 W
 Data Rate  10 Mbit/s max.
 Reach  300 m max.
 Temperature Range  -40 °C to +85 °C
 Size  65 mm x 30 mm x 11 mm

Example software stack



The microcontroller on the PLC-Stamp 1 is shipped without any firmware. We want to give our customers the highest flexibility by providing all necessary components to build a tailor-made firmware on their own. All mentioned combinations should be unterstood as suggestions or examples.

To support the development of your application, we provide the following examples: – CodeWarrior 10.3 examples including libraries for Cortex M4, sources and project files

CodeWarrior is an integrated development environment for Microsoft Windows from Freescale.

lwIP (Open Source lightweight TCP/IP stack)

First of all you don’t need to use lwIP as TCP/IP stack for your application. You are free to use any other TCP/IP stack which fits to your needs.

For our example applications we have choosen lwIP, because of it’s small size, flexibility and stability. This software package isn’t maintained and supported by us. Please, have a look at lwIP homepage and lwIP Wiki.

lwIP_over_spi (Open Source device driver for lwIP)

To connect the libqca7k_spi_driver (lower layer) with the lwIP (upper layer) a device driver for ethernet frames is necessary. lwip_over_spi is such a device driver and is released under a BSD-style license. The device driver has been tested with lwIP 1.4.1, but should work with older versions of lwIP. In the case of an application with multiple stacks you must use ethertype_switch additionally, which routes packets to the corresponding stack.

The following source code can also be used as a reference to implement a device driver for other TCP/IP stacks. – Source code and API documentation

libmme (Library for HomePlug MMEs)

The library libmme handles and generates “MAC Management Entry” (MME) packets for the configuration of the QCA7000. libmme supports a commonly used subset of MMEs from HomePlug Green PHY. This library is only available in binary form. – Library for Cortex M4 and API documentation

libmme_over_spi (Open Source device driver for libmme)

The libmme_over_spi is a device driver to connect the libqca7k_spi_driver (lower layer) with the libmme (upper layer). This driver is released under a BSD-style license. In the case the application make use of multiple stacks ethertype_switch should be taken additionally. – Source code and API documentation

ethertype_switch (Open Source ethertype handler)

The ethertype_switch is an additional layer between some device drivers and the libqca7k_spi_driver. It checks the ethertype of incoming frames and invokes the corresponding device driver. This layer is only necessary to connect multiple stacks to the libqca7k_spi_driver (for instance lwIP and libmme). The source code is released under a BSD-style license. – Source code and API documentation

libqca7k_spi_driver (QCA7000 spi device driver)

The library libqca7k_spi_driver provides frame based data access on the Qualcomm QCA7000 (Ethernet over SPI). This library is only available in binary form. – Library for Cortex M4 and API documentation

Related Products

PLC Stamp micro 2


PLC Stamp mini 2


PLC Stamp micro EVK


PLC Bundle IoT