|
Project Information
Links
|
Software/Firmware support for the PSoC3PIM1 & PSoC5PIM1 boards
See http://www.powerfulboard.com for details of the hardware and a USB device library.IntroductionThis software includes both firmware for the Cypress PSoC3 ad PSoC5LP chips and host application software to provide a browser based UI. The frmware consists of project files, code and configuration files for the PSoC Creator IDE available from Cypress Semiconductor. It configures the PSoC chip to offer USB communications to a host and digital I/O on the boards connectors. The supplied code supports the USB communication and sets the state of the pins and reads back their state according to messages sent by the host and returned to it. The host software is JavaScript programs that run in the Node.js web server environment. USB Enumeration and DriversUSB devices enumerate their properties to the host. The host uses such information as Class Code, Vendor ID and Product ID to determine the appropriate driver and to load it. The libusb library for Linux and the libusb-win32 for MS Windows provide such drivers. Host SoftwareThe host software uses a browser based UI. It interfaces to the usb driver and sends messages to the device to set the pins. It then displays the current state of the pins.. |