NXP Semiconductors
UM11009
PCA9745B demonstration board OM13524
UM11009
All information provided in this document is subject to legal disclaimers.
© NXP Semiconductors N.V. 2016. All rights reserved.
User manual
Rev. 1 — 23 June 2016
19 of 28
,02,01
Sequence:01,02,03,04,05,06,07,08,09,10,11,12,13,14,15,16,17,18,19,20,21
3. After open the “PCA9745B gradation demo in continuous mode” text file, the “NXP
Fm+ Board GUI” in Expert mode screen will be displayed as shown in
Fig 9
.
4. Click the ‘Send All’ button, all the valid messages on the screen will be sent in the
order of the row number (Msg #). The action will be performed one time.
5. User can program the MOSI (Master Out Slave In) Data to PCA9745B, the first 7-bit
is to access the address of register and 8
th
bit to indicate Read (1) or Write (0), the
next byte is data to read or write.
Fig 9.
Message data in Expert mode to demo all white and red LEDs for gradation
9.2 Two PCA9745B demo boards in daisy-chain connection
1. From the ‘Device’ drop-down menus select ‘Expert Modes’ as shown in
Fig 8
.
2. Copy the “SPI daisy chain demo with two PCA9745B devices“ text file as shown
below. From the ‘File’ drop-down menus select ‘Open’, and from the “open data file”
window to select this text file.
SPI Data File 2
0,80,80,80,80,Comments: set PWMALL=80h
,00,80,00,80
900,82,20,82,10,Comments: set IREFALL=20h, 10h
,02,20,02,10