/a>LED” title=”LED”>LED” title=”LED”>LED driver reference design using SSL21082, TEA1721 and JN5148. The design uses a buck topology without isolation, and uses 2.4GHz RF to remotely control brightness and on/off .This paper mainly introduces the main features of JN5148-001 IEEE802.15.4 wireless MCU, block diagram, related application routing and main features of 11W LED driver reference design, complete circuit diagram and corresponding part list of materials.
The JN5148-001 is an IEEE802.15.4 wireless microcontroller that provides a fully integrated solution for applications using the IEEE802.15.4 standard in the 2.4 – 2.5GHz ISM frequency band including JenNet and ZigBee PRO. It includes all of the functionality required to meet the IEEE802.15.4, JenNet and ZigBee PRO specifications and has additional processor capability to run a wide range of applications including, but not limited to Smart Energy, Automatic Meter Reading , Remote Control, Home and Building Automation, Toys and Gaming.
The JN5148-001 is an ultra low power, high performance wireless microcontroller targeted at JenNet and ZigBee PRO networking applications. The device features an enhanced 32-bit RISC processor offering high coding efficiency through variable width instructions, a multi-stage instruction pipeline and low power operation with programmable clock speeds. It also includes a 2.4GHz IEEE802.15.4 compliant transceiver, 128kB of ROM, 128kB of RAM, and a rich mix of analogue and digital peripherals. The large memory footprint allows the device to run both a network stack (eg ZigBee PRO) and an embedded application or in a co-processor mode. The operating current is below 18mA, allowing operation direct from a coin cell.
Enhanced peripherals include low power pulse counters running in sleep mode designed for pulse counting in AMR applications and a unique Time of Flight ranging engine, allowing accurate location services to be implemented on wireless sensor networks. It also includes a 4-wire I2S audio interface, to interface directly to mainstream audio CODECs, as well as conventional MCU peripherals.
Applications that transfer data wirelessly tend to be more complex than wired ones. Wireless protocols make stringent demands on frequencies, data formats, timing of data transfers, security and other issues. Application development must consider the requirements of the wireless network in addition to the product functionality and user interfaces. To minimise this complexity, Jennic provides a series of software libraries and interfaces that control the transceiver and peripherals of the JN5148. These libraries and interfaces remove the need for the developer to understand wireless protocols and greatly simplifies the programming complexities of power modes, interrupts and hardware functionality.
The CPU of the JN5148 is a 32-bit load and store RISC processor. It has been architected for three key requirements:
Low power consumption for battery powered applications
High performance to implement a wireless protocol at the same time as complex applications
Efficient coding of high-level languages such as C provided with the Jennic Software Developers Kit
It features a linear 32-bit logical address space with unified memory architecture, accessing both code and data in the same address space. Registers for peripheral units, such as the timers, UARTs and the baseband processor are also mapped into this space.
The CPU has access to a block of 15 32-bit General-Purpose (GP) registers together with a small number of special purpose registers which are used to store processor state and control interrupt handling. The contents of any GP register can be loaded from or stored to memory, while arithmetic and logical operations, shift and rotate operations, and signed and unsigned comparisons can be performed either between two registers and stored in a third, or between registers and a constant carried in the instruction. Operations between general or special -purpose registers execute in one cycle while those that access memory require a further cycle to allow the memory to respond.
The instruction set manipulates 8, 16 and 32-bit data; this means that programs can use objects of these sizes very efficiently. Manipulation of 32-bit quantities is particularly useful for protocols and high-end applications allowing algorithms to be implemented in fewer instructions than on smaller word-size processors, and to execute in fewer clock cycles. In addition, the CPU supports hardware Multiply that can be used to efficiently implement algorithms needed by Digital Signal Processing applications.
The instruction set is designed for the efficient implementation of high-level languages such as C. Access to fields in complex data structures is very efficient due to the provision of several addressing modes, together with the ability to be able to use any of the GP registers to contain the address of objects. Subroutine parameter passing is also made more efficient by using GP registers rather than pushing objects onto the stack. The recommended programming method for the JN5148 is by using C, which is supported by a software developer kit comprising a C compiler, linker and debugger.
The CPU architecture also contains features that make the processor suitable for embedded, real-time applications. In some applications, it may be necessary to use a real-time operating system to allow multiple tasks to run on the processor. To provide protection for device -wide resources being altered by one task and affecting another, the processor can run in either supervisor or user mode, the former allowing access to all processor registers, while the latter only allows the GP registers to be manipulated. Supervisor mode is entered on reset or interrupt; tasks starting up would normally run in user mode in a RTOS environment.
Embedded applications require efficient handling of external hardware events. Exception processing (including reset and interrupt handling) is enhanced by the inclusion of a number of special-purpose registers into which the PC and status register contents are copied as part of the operation of the exception hardware. This means that the essential registers for exception handling are stored in one cycle, rather than the slower method of pushing them onto the processor stack. The PC is also loaded with the vector address for the exception that occurred, allowing the handler to start executing in the next cycle.
To improve power consumption a number of power-saving modes are implemented in the JN5148, described more fully in section 21 – Power Management and Sleep Modes. One of these modes is the CPU doze mode; under software control, the processor can be shut down and on an interrupt it will wake up to service the request. Additionally, it is possible under software control, to set the speed of the CPU to 4, 8, 16 or 32MHz. This feature can be used to trade-off processing power against current consumption.
Main features of JN5148-001:
• 2.4GHz IEEE802.15.4 compliant
• Time of Flight ranging engine
• 128-bit AES security processor
• MAC accelerator with packet formatting, CRCs, address check, auto-acks, timers
• 500 & 667kbps data rate modes
• Integrated sleep oscillator for low power
• On chip power regulation for 2.0V to 3.6V battery operation
• Deep sleep current 100nA
• Sleep current with active sleep timer 1.25μA
•<$0.50 external component cost
•Rx current 17.5mA
•Tx current 15.0mA
•Receiver sensitivity -95dBm
•Transmit power 2.5dBm
•Low power 32-bit RISC CPU, 4 to 32MHz clock speed
•Variable instruction width for high coding efficiency
•Multi-stage instruction pipeline
•128kB ROM and 128kB RAM for bootloaded program code & data
•JTAG debug interface
•4-input 12-bit ADC, 2 12-bit DACs, 2 comparators
•3 application timers/counters,
• 2 UARTs
•SPI port with 5 selects
•2-wire serial interface
•4-wire digital audio interface
•Low power pulse counters
•Up to 21 DIO
Industrial temp (-40℃ to +85℃)
8x8mm 56-lead Punched QFN
Lead-free and RoHS compliant
Advantages of JN5148-001:
• Single chip integrates transceiver and microcontroller for wireless sensor networks
• Large memory footprint to run ZigBee PRO or JenNet together with an application
• Very low current solution for long battery life
• Highly featured 32-bit RISC CPU for high performance and low power
• System BOM is low in component count and cost
• Extensive user peripherals
• Robust and secure low power wireless applications
• ZigBee PRO and JenNet networks
• Smart metering (eg AMR)
• Home and commercial building automation
• Location Aware services – eg Asset Tracking
• Industrial systems
• Remote Control
• Toys and gaming peripherals
Figure 1. JN5148-001 block diagram
Figure 2. JN5148-001 radio architecture diagram
Figure 3. JN5148-001 external radio component diagram
Figure 4. JN5148-001 Modem Architecture Diagram
Figure 5. JN5148-001 baseband processor block diagram
Figure 6. Typical SPI connection diagram of JN5148-001
Remote Control Non-Isolated 11W LED Driver Reference Design Using SSL21082, TEA1721 and JN5148
This application note provides basic information on the operation and performance of NXP Semiconductors SSL2108X_DR1166 reference design. It contains complete remote controller 11 W SSL Driver. However, the casing with heat sink, LEDs and 2.4 GHz antenna are not included in the shipment.
The design is based on buck topology which does not provide galvanic isolation. Using the RF remote control, brightness and on/off switch are controlled.
Figure 7. 120 V SSL2108X and DR1166 Demo Board Outline Drawing
The 11W LED driver reference design includes:
•Large signal board (SSL2108X)
–Valley fill circuit
–Buck Inductor for supply unit
–SSL driver (SSL21082)
•Small signal board (DR1166) buck supply (TEA1721)
–Generates VCC = 2.7 V for JN5148 microcontroller/RF
–Generates VDD = 13.5 V for SSL2108 driver IC
–Contains microcontroller with flash memory
–Contains 2.4 GHz transceiver
–Contains connector for programming the flash memory
Figure 8. 11W LED driver reference design circuit diagram (1)
Figure 9. 11W LED Driver Reference Design 230V Application Circuit Diagram
Figure 10. SL2108x circuit diagram with wall dimmer circuit
Figure 11. DR1166 and JN5148 RF/MCU circuit diagram
Figure 12. DR1166 and TEA1721 Buck Power Supply Circuit
SL2108X board bill of materials:
DR1166 Board Bill of Materials:
For details, see: