|
AT25080 from ATMEL is a serial EEPROM with SPI interface. The device has 8192 bits (1024 bytes) of EEPROM that can be controlled using a 4 wire SPI bus. This example project demonstrates how to interface a PSoC to this device and read and write an array of data using the SPIM user module.The project and documentation can be downloaded from the below link from Cypress websiteInterfacing the PSoC to an AT25080 Serial EEPROM
The MPXM2102A series device from Freescale Semiconductors is a silicon piezoresistive pressure sensor providing a highly accurate and linear voltage output — directly proportional to the applied pressure. The sensor is a single, monolithic silicon diaphragm with the strain gauge and a thin–film resistor network integrated on–chip. The chip is laser trimmed for precise span and offset calibration and temperature compensation. It measures the applied pressure with reference to the built in reference vacuum and provides a differential analog signal. It measures from 0kPA to 100kPa with a change of 0.2mV/kPa.This example project demonstrates how to use the PSoC1's analogs to measure pressure from this sensor. An INSAMP and ADCINCVR user modules are used to measure the voltage from the sensor an LCD user module is used to display the measured pressure. The documentation and project can be downloaded from the below link from Cypress website.Interfacing a MPXM2102A Pressure Sensor
Usually PWMs are used for applications like Motor control, LED control etc. A PWM (Pulse Width Modulator) has a variable pulse width, where the width of the pulse can be varied from 0 to 100% of its period. In the PSoC, a conventional PWM has a simple down counter and a compare register. When the value in the Count register is less than or equal to the Compare register the Compare output goes high. The pulse width of the PWM can be varied by changing the value in the Compare register. The waveform of a conventional PWM operating at 50% duty cycle and its spectrum plot are shown below.
This example project demonstrates using the high level UART User module APIs how to receive and decode a command string with parameters. A command string with parameters is transmitted from hyperterminal and the project receives and decodes the string and echoes back the command and the parameters. Use the below link to download the project and documentation from Cypress website.Example Project - UART
Dynamic reconfiguration is a very useful feature in PSoC where a single resource can be reused to perform different functions at various instances. This project demonstrates how a single Digital block can be switched between a RS232 Transmitter and Receiver using Dynamic Reconfiguration. Project Source: Cypress Semiconductors This project interfaces a PSoC to a 24C256 Serial I2C EEPROM. Project Source: Cypress Semiconductors This example project measures a 0-5V input voltage using ADCINCVR and displays it on LCD. Project Source: Cypress Semiconductors
|