mini board PCU9669 (and PCA9665) sample code

Dependencies:   mbed PCU9669 utility PCA9665 I2C_slaves parallel_bus

Fork of mini_board_PCU9669_old by InetrfaceProducts NXP

Sample code for PCU9669 (PCU9661, PCA9663, PCA9661 and PCA9665) evaluation board.

PCU9669 evaluation board: Mini board PCU9669
User manual is available -> http://www.nxp.com/documents/user_manual/UM10580.pdf

Files at this revision

API Documentation at this revision

Comitter:
nxp_ip
Date:
Wed Mar 21 05:44:39 2012 +0000
Parent:
2:401c24301f60
Child:
4:c50d5596cb47
Commit message:
transfer sample generator for user manual

Changed in this revision

config.h Show annotated file Show diff for this revision Revisions of this file
main_PCA9665.c Show annotated file Show diff for this revision Revisions of this file
mini_board_libs/PCA9665.lib Show diff for this revision Revisions of this file
mini_board_libs/PCU9669.lib Show diff for this revision Revisions of this file
--- a/config.h	Wed Mar 21 02:18:02 2012 +0000
+++ b/config.h	Wed Mar 21 05:44:39 2012 +0000
@@ -27,8 +27,8 @@
  *    Uncomment the target name what you want to target. 
  */
 
-#define     CODE_FOR_PCU9669
+//#define     CODE_FOR_PCU9669
 //#define     CODE_FOR_PCA9663
-//#define     CODE_FOR_PCA9665
+#define     CODE_FOR_PCA9665
 
 
--- a/main_PCA9665.c	Wed Mar 21 02:18:02 2012 +0000
+++ b/main_PCA9665.c	Wed Mar 21 05:44:39 2012 +0000
@@ -104,8 +104,8 @@
                 i2c_write( PCx9955_ADDR0, &PCx9955_reg_read_start_address, sizeof( PCx9955_reg_read_start_address ), NEXT_RESTART );
                 i2c_read( PCx9955_ADDR0, read_buffer, sizeof( read_buffer ), STOP );
 
-                if ( !(count % 256) )
-                    i2c_write( PCA9629_ADDR5, PCx9629_reg_data, sizeof( PCx9629_reg_data ), STOP );
+//                if ( !(count % 256) )
+//                    i2c_write( PCA9629_ADDR5, PCx9629_reg_data, sizeof( PCx9629_reg_data ), STOP );
 
 //                dump_read_data( read_buffer, sizeof( read_buffer ) );
 
--- a/mini_board_libs/PCA9665.lib	Wed Mar 21 02:18:02 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/nxp_ip/libraries/PCA9665/m6vbya
\ No newline at end of file
--- a/mini_board_libs/PCU9669.lib	Wed Mar 21 02:18:02 2012 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-http://mbed.org/users/nxp_ip/libraries/PCU9669/m6xbaz
\ No newline at end of file