Example TRK-MPC5606B I2C communication with PCA24S08 CW210

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

Example TRK-MPC5606B I2C communication with PCA24S08 CW210

Example TRK-MPC5606B I2C communication with PCA24S08 CW210

This example shows I2C communication with NXP PCA24S08 memory.

The simple MPC5xxx I2C driver is used,

see driver code/description on https://community.freescale.com/docs/DOC-330972.

 

EVB connection:

P1.11 - A[10] .. I2C0 SDA

P1.12 - A[11] .. I2C0 SCL

 

------------------------------------------------------------------------------

Test HW:  TRK-MPC5606B

Maskset:  0N13E

Target :  RAM, Flash

Terminal: 115200, 8N1

Fsys:     64 MHz PLL with 8 MHz crystal reference in RUN0.

 

 

PC terminal displays this info ...

 

149802_149802.pngpastedImage_1.png

 

 

You can see following I2C bus signals for particular conditions …

Writing byte “H” into address 0x28

149803_149803.pngpastedImage_2.png

Read content of the address 0x28

  149804_149804.pngpastedImage_3.png

Writing string “Hello world!” into address 0x152

  149805_149805.pngpastedImage_4.png

 

Reading page (16 bytes) from memory address 0x150

149806_149806.pngpastedImage_6.png

 

Attachments
No ratings
Version history
Last update:
‎10-05-2021 01:56 AM
Updated by: