UM10495
TDA5051A lighting master-slave demo board OM13314
Rev. 2 — 11 May 2012
User manual
Document information
Info
Keywords
Abstract
Content
TDA5051A, LPC1114, PCF8883, zero crossing and UART style
synchronization, lighting demo
This document is a user manual for the TDA5051A Power Line Modem
(PLM) master-slave lighting controller demo OM13314.
NXP Semiconductors
UM10495
TDA5051A lighting master-slave demo board OM13314
Revision history
Rev
v.2
Date
20120511
Description
User manual; second release.
•
•
v.1
20110816
Figure 4 “Schematic for 4 ´ PCF8883 capacitive proximity sensor switch”
updated
(to improve readability)
Figure 24 “TDA5051A lighting demo board schematic”
updated (to improve readability)
User manual; initial release.
Contact information
For more information, please visit:
http://www.nxp.com
For sales office addresses, please send an email to:
salesaddresses@nxp.com
UM10495
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 2 — 11 May 2012
2 of 43
NXP Semiconductors
UM10495
TDA5051A lighting master-slave demo board OM13314
1. Introduction
The TDA5051A lighting control demo consists of a master controller and a slave lighting
controller. The master controller uses the High-Bay board, which consists of the LPC1114
microcontroller, the TDA5051A PLM IC, and power management circuitry. An AC-DC
converter is used to provide +13 V DC supply voltage. The master employs 4
×
PCF8883
capacitive proximity switches to provide On/Off, Dim Up, Dim Down, and Select outputs of
the remote lighting slave controller. The slave controller consists of the High-Bay board,
an AC-DC converter to provide +13 V supply voltage, and an LED array. Both the master
and the slave are housed in a plastic box with 110 V AC power cords.
002aag521
Fig 1.
TDA5051A master lighting controller
002aag522
Fig 2.
UM10495
TDA5051Aslave lighting controller
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 2 — 11 May 2012
3 of 43
NXP Semiconductors
UM10495
TDA5051A lighting master-slave demo board OM13314
2. PLM demo board
The TDA5051A lighting demo board is designed to let customers evaluate the TDA5051A
in a realistic application. The TDA5051A lighting demo board schematic is found in
Section 12 “Appendix B — TDA5051A lighting demo board schematic”.
The demo board
includes a the TDA5051A, an LPC1114 microcontroller, a PCA9632 I
2
C-bus to PWM
converter, and software containing some pre-defined functions to brighten and dim the
four available LED outputs from the PCA9632. The parameters used by these functions
can be easily changed by changing a configuration header file with parameter values
used by the pre-defined functions. To further customize the application, the driver
functions used in the demo firmware can be easily modified.
2.1 Power line communications
The TDA5051A is an ASK modem chip designed for power line communications. In this
application, the carrier frequency is 125 kHz. However, the frequency can be changed
with the specified range by changing the frequency of the crystal or clock input. The
TDA5051A consists of an AGC amplifier and ADC on the front with digital band-pass
filtering and demodulation of the received signal. It also contains a lookup ROM and DAC
to provide the proper wave shape and envelope for transmitted data. The internal
amplifier then drives an external network to couple the transmit data onto the AC lines.
2.2 Demo application overview
The TDA5051A demo board is designed for easy setup and ease of operation. The demo
functions are executed by pressing one of four control buttons located externally to the
demo board. TDA5051A demo functions supported by the demo board and firmware
include the following:
Off/On —
Sends an On/Off command to the slave via the PLM
Dim Up —
Sends a Dim Up command to the slave via the PLM
Dim Down —
Sends a Dim Down command to the slave via the PLM
Select —
Rotates the selected channel from the following:
•
•
•
•
•
GROUP
PWM0
PWM1
PWM2
PWM3
Some of the other features of the TDA5051A demo board are:
•
Programmable device address (slave configuration)
•
Requires 12 V input, has onboard +5 V and +3.3 V regulators
•
Flexible re-programming, firmware updating
–
SWD
–
RS-232
UM10495
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 2 — 11 May 2012
4 of 43
NXP Semiconductors
UM10495
TDA5051A lighting master-slave demo board OM13314
This document will also discuss the firmware required to implement the demos. One set of
firmware was written utilizing the zero crossing of the AC line as a method to synchronize
transmission. The other set of firmware was written to use a start bit/stop bit
synchronization similar to a UART to allow transmission over DC lines that have no zero
crossing information.
3. Hardware requirements
The hardware requirements for both firmware implementations are similar when using the
AC line as transmission medium. Due to the synchronization differences of the two
different firmware implementations, the UART style would not need the opto-coupler that
is on the TDA5051A demo board. Considerations for other implementations will be
discussed in a later section. Even though the same demo board is used for both the
master and the slave, not all components are used in both configurations as discussed
later in
Section 4
and
Section 5.
3.1 Master hardware configuration
To implement the master the hex address switch SW1 is not needed. If SW1 is populated,
set the switch to the ‘0’ position (all ‘open’). This allows four external switches to be
connected to the same pins on the microcontroller as SW1 without generating a conflict.
The external switches mate with the SV2 connector on the demo board. A DC power
supply and connection to the AC line are also needed for the master. Additional details
can be found in
Section 4.
3.2 Slave configuration
To implement the slave for the SSL demo, the TDA5051A demo board, four LEDs with
current limiting resistors, an AC line connection, and a DC power input are required to
implement a PLM slave for the SSL demo. The slave actions in response to received
commands are discussed in
Section 5.
4. Master hardware description — TDA5051A demo board
In the master configuration, the TDA5051A demo board reads switch closures and
generates commands that are transmitted by the TDA5051A over the AC lines. The
details of how the LPC1114 handles these tasks will be discussed in the firmware portion
of the Users Manual.
4.1 TDA5051A demo board — general
The NXP TDA5051A and the LPC1114 are the heart of the board with the TDA5051A
providing the modem interface to the power lines and the LPC1114 providing a
high-performance programmable processor at low power and low cost. It handles all of
the ‘intelligent’ functions of the board and manages the peripheral interfaces.
UM10495
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 2 — 11 May 2012
5 of 43