Home PSoC 1 Projects
PSoC1 Projects

Interfacing PSoC to an SPI EEPROM AT25080

E-mail Print PDF
( 1 Vote )
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 website

Interfacing the PSoC to an AT25080 Serial EEPROM


Interfacing a PSoC to MPXM2102A Pressure Sensor

E-mail Print PDF
( 1 Vote )
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

FileFile size
Download this file (MPX2102.pdf)MPX2102.pdf300 Kb


E-mail Print PDF
( 4 Votes )
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.

  • «
  •  Start 
  •  Prev 
  •  1 
  •  2 
  •  3 
  •  4 
  •  Next 
  •  End 
  • »

Page 1 of 4