Cypress Semiconductor CY3280-MBR3 ユーザーズマニュアル

ページ / 90
CY3280-MBR3 Evaluation Kit User Guide, Doc. #: 001-89905 Rev. *B
72
Configuration Files and Example Projects
Figure 5-32.  Verify Output
5.3.3
Configuring the MBR3 Device From the PSoC 4 Pioneer Kit
The MBR3 device can be configured as required from an external host such as the CY8CKIT-042
PSoC 4 Pioneer Kit. This can be done using the configuration files generated by EZ-Click. Follow
these steps to configure the MBR3 device from an external host:
1. Open the EZ-Click 2.0 customizer tool.
2. Create a new project and select the CY8CMBR3116 device in the Product Selector Guide.
3. Configure the features as needed, considering the kit pin mapping (see 
4. Generate the configuration file.
5. Navigate to the EZ-Click project directory and look for <file name>.h file inside the directory.
6. Open <file name>.h either from within PSoC Creator or using any text editor such as WordPad.
7. Copy and paste the contents of the 128-byte array CY8CMBR3116_configuration[128] in <file 
name>.h to the configData array in the configuration.c file in the PSoC 4 project.
Note: The array is defined as "const" in the <file name>.h file; in the PSoC 4 project, it is a 128-
byte array of unsigned char type.
Note: When configuring the MBR3 device from an external host such as the PSoC 4 Pioneer Kit, 
ensure that a blank configuration or a slave address of 0x00 is not sent to the device. If this hap-
pens, see 
 to revert the kit back 
to factory default. The valid slave address for the MBR3 device is from 0x08–0x77.