AN2352 Cypress, AN2352 Datasheet
![no-image](/images/no-image-200.jpg)
AN2352
Related parts for AN2352
AN2352 Summary of contents
Page 1
... C device capabilities Revision ** AN2352 Author: Valeriy Kyrynyuk Associated Project: Yes Associated Part Family: CY8C24894 Software Version: PSoC Designer™ into a PSoC project Connect GND of the device to GND of the bridge. Connect the SDA, SCL lines to the bridge (Figure 1). ...
Page 2
... The 2 address of the I C buffer is set by MyI2C_Regs, which is the third argument communication. The EzI2Cs 2 C slave is the offset into the 2 C buffer. If the size buffer. Without such AN2352 2 C interrupt - 2 - ...
Page 3
... Step Sends LSB Byte of WORD Value Current buffer index interrupt service 01 00 256 2 WORD type variable into I C buffer Revision ** Sends 00 h This is MSB Byte of WORD Value 2 C Buffer Sends 00 h This is LSB Byte of WORD Value AN2352 - 3 - ...
Page 4
... The Slave_Addr parameter is 0. The command line for the USB2IIC.exe program, which reads tachometer values follows xk3 xk2 xk1 xk0 p 9/22/2006 2 C slave implementation // Set up RAM buffer // Turn on interrupts // Turn on I2C Figure 3 shows a diagram of data collected from the tachometer. and prepare reports. Revision ** AN2352 - 4 - ...
Page 5
... The command line of this example is as follows xk1 xk0 xl1 xl0 xm1 xm0 xn1 xn0 p Figure 4. CSR Keypad Period Samples 100 150 200 250 Revision ** 300 350 400 AN2352 - 5 - ...
Page 6
... The following command string will read samples from the device in high-speed BURST mode xk0 xl0 xm0 p The samples were recorded at about 10 seconds. A diagram of the received data is shown below (Figure 5). Figure 5. Three Channel ADC Samples Revision ** 2 C buffer should be set first at: AN2352 - 6 - ...
Page 7
... Once this command string executes, EEPROM is available at address 0x80+Expander Address, or 0xA2, in this case. Let’s write 8 bytes to EEPROM address of 0x0020 Now, we will read 4 bytes from address 0x0024: sA2 Revision ** AN2352 //set PWM pin 2 C master. To enable - 7 - ...
Page 8
... Three Channel ADC Example Project PC Software for I2C-USB Bridge PC Software for Binary Data Conversion Valeriy Kyrynyuk Title: Engineer Eight years experience with fieldbus and communication device designs. lopik@lviv.farlep.net Cypress Semiconductor 198 Champion Court San Jose, CA 95134-1709 Phone: 408-943-2600 Fax: 408-943-4730 http://www.cypress.com AN2352 - 8 - ...