Example MPC5748G + PCF8885 Touch sensing demo GHS614

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example MPC5748G + PCF8885 Touch sensing demo GHS614

Example MPC5748G + PCF8885 Touch sensing demo GHS614

********************************************************************************

* Detailed Description:

* Sensor board OM11057A which includes two PCF8885 circuits is connected

* to MPC5748G via I2C. MPC5748G continuously reads the state of touch sensors

* and the state is shown on LED diodes which are driven by I2C circuit PCA9535.

*

* Used I2C driver: https://community.freescale.com/docs/DOC-330972

*

* Touch sensor board (page 9 and 10):

* http://www.nxp.com/documents/user_manual/UM10505.pdf

*

* ------------------------------------------------------------------------------

*

* Connection:

*

* Connect I2C bus (I2C_2 on MPC5748G) to sensor board:

* I2C_SCL: P24-33 (pin PE9) on MPC574XG-MB to K3-1 on OM11057A

* I2C_SDA: P24-35 (pin PE8) on MPC574XG-MB to K3-13 on OM11057A

* Note: use two pull-up resistors on I2C signals (pulled to 3.3V).

* The value should be 3k3 - 10k

*

* Connect power supply from MPC574XG-MB to OM11057A:

* GND: P24-2 on MPC574XG-MB to K3-7 on OM11057A

* 3.3V: P24-1 on MPC574XG-MB to K3-9 on OM11057A

*

* Connect SLEEP pins of both PCF8885 to GND (this will ensure that sleep mode

* is not entered):

* SLEEP1: K3-11 to K2-3 (both on OM11057A)

* SLEEP2: K1-6 to K1-8 (both on OM11057A)

*

* ------------------------------------------------------------------------------

* Sensor board:    OM11057A

*                  http://www.nxp.com/documents/user_manual/UM10505.pdf

* Test HW:         MPC574XG-324DS Rev.A + MPC574XG-MB Rev.C

* MCU:             PPC5748GMMN6A 1N81M

* Fsys:            160 MHz PLL

* Debugger:        Lauterbach Trace32

* Target:          internal_FLASH

*

********************************************************************************

Labels (1)
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1121149%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20MPC5748G%20%2B%20PCF8885%20Touch%20sensing%20demo%20GHS614%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1121149%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************%3C%2FP%3E%3CP%3E*%20Detailed%20Description%3A%3C%2FP%3E%3CP%3E*%20Sensor%20board%20OM11057A%20which%20includes%20two%20PCF8885%20circuits%20is%20connected%3C%2FP%3E%3CP%3E*%20to%20MPC5748G%20via%20I2C.%20MPC5748G%20continuously%20reads%20the%20state%20of%20touch%20sensors%3C%2FP%3E%3CP%3E*%20and%20the%20state%20is%20shown%20on%20LED%20diodes%20which%20are%20driven%20by%20I2C%20circuit%20PCA9535.%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E%3CSPAN%3E*%20Used%20I2C%20driver%3A%20%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-wiki-small%22%20data-containerid%3D%2211363%22%20data-containertype%3D%2214%22%20data-objectid%3D%22330972%22%20data-objecttype%3D%22102%22%20href%3D%22https%3A%2F%2Fcommunity.freescale.com%2Fdocs%2FDOC-330972%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttps%3A%2F%2Fcommunity.freescale.com%2Fdocs%2FDOC-330972%3C%2FA%3E%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Touch%20sensor%20board%20(page%209%20and%2010)%3A%3C%2FP%3E%3CP%3E%3CSPAN%3E*%20%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-external-small%22%20href%3D%22https%3A%2F%2Fcommunity.freescale.com%2Fexternal-link.jspa%3Furl%3Dhttp%253A%252F%252Fwww.nxp.com%252Fdocuments%252Fuser_manual%252FUM10505.pdf%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fuser_manual%2FUM10505.pdf%3C%2FA%3E%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Connection%3A%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Connect%20I2C%20bus%20(I2C_2%20on%20MPC5748G)%20to%20sensor%20board%3A%3C%2FP%3E%3CP%3E*%20I2C_SCL%3A%20P24-33%20(pin%20PE9)%20on%20MPC574XG-MB%20to%20K3-1%20on%20OM11057A%3C%2FP%3E%3CP%3E*%20I2C_SDA%3A%20P24-35%20(pin%20PE8)%20on%20MPC574XG-MB%20to%20K3-13%20on%20OM11057A%3C%2FP%3E%3CP%3E*%20Note%3A%20use%20two%20pull-up%20resistors%20on%20I2C%20signals%20(pulled%20to%203.3V).%3C%2FP%3E%3CP%3E*%20The%20value%20should%20be%203k3%20-%2010k%3C%2FP%3E%3CP%3E*%20%3C%2FP%3E%3CP%3E*%20Connect%20power%20supply%20from%20MPC574XG-MB%20to%20OM11057A%3A%3C%2FP%3E%3CP%3E*%20GND%3A%20P24-2%20on%20MPC574XG-MB%20to%20K3-7%20on%20OM11057A%3C%2FP%3E%3CP%3E*%203.3V%3A%20P24-1%20on%20MPC574XG-MB%20to%20K3-9%20on%20OM11057A%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20Connect%20SLEEP%20pins%20of%20both%20PCF8885%20to%20GND%20(this%20will%20ensure%20that%20sleep%20mode%3C%2FP%3E%3CP%3E*%20is%20not%20entered)%3A%3C%2FP%3E%3CP%3E*%20SLEEP1%3A%20K3-11%20to%20K2-3%20(both%20on%20OM11057A)%3C%2FP%3E%3CP%3E*%20SLEEP2%3A%20K1-6%20to%20K1-8%20(both%20on%20OM11057A)%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E*%20------------------------------------------------------------------------------%3C%2FP%3E%3CP%3E*%20Sensor%20board%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%20OM11057A%3C%2FP%3E%3CP%3E%3CSPAN%3E*%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20%3C%2FSPAN%3E%3CA%20class%3D%22jive-link-external-small%22%20href%3D%22https%3A%2F%2Fcommunity.freescale.com%2Fexternal-link.jspa%3Furl%3Dhttp%253A%252F%252Fwww.nxp.com%252Fdocuments%252Fuser_manual%252FUM10505.pdf%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%20target%3D%22_blank%22%3Ehttp%3A%2F%2Fwww.nxp.com%2Fdocuments%2Fuser_manual%2FUM10505.pdf%3C%2FA%3E%3C%2FP%3E%3CP%3E*%20Test%20HW%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20MPC574XG-324DS%20Rev.A%20%2B%20MPC574XG-MB%20Rev.C%3C%2FP%3E%3CP%3E*%20MCU%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20PPC5748GMMN6A%201N81M%3C%2FP%3E%3CP%3E*%20Fsys%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20160%20MHz%20PLL%3C%2FP%3E%3CP%3E*%20Debugger%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20Lauterbach%20Trace32%3C%2FP%3E%3CP%3E*%20Target%3A%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%26nbsp%3B%20internal_FLASH%3C%2FP%3E%3CP%3E*%3C%2FP%3E%3CP%3E********************************************************************************%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1121149%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CLINGO-LABEL%3EGeneral%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
No ratings
Version history
Last update:
‎05-18-2016 10:36 PM
Updated by: