English
Language : 

AN91162 Datasheet, PDF (18/43 Pages) Ramtron International Corporation – Creating a BLE Custom Profile
Creating a BLE Custom Profile
RGB LED Control
For RGB LED control, this project uses a PrISM© Component based on Cypress’s propriety technology for LED intensity
control. This Component utilizes stochastic signal density modulation to control the intensity of individual LEDs. Combining
multiple LEDs allows for both color and intensity control. For more information, see AN47372 - PrISM™ Technology for LED
Dimming.
1. Drag two PrISM Components from the Component catalog (Cypress > Digital > PrISM) as shown in Figure 23. Each
Component supports two outputs, so for controlling three LEDs, two PrISM Components are required.
Figure 23. Place PrISM Components on Top Design
2. Double-click the first PrISM Component. On the configuration window, do the following on the General tab, as shown in
Figure 24, and click OK:
 Keep the Resolution as 8 bits and Seed value to the full range of 0xFF.
 Under Pulse Mode, keep PulseDensity0 and PulseDensity1 at the default value of ‘1’. The generated random
number is compared to this value.
 Keep both PulseType0 and PulseType1 as Less than or Equal. This implies that whenever a random number
generated by the Component is less than or equal to the set Pulse Density value, the Component output at
pulse_den0 and pulse_den1 will be HIGH; otherwise, it will be LOW.
www.cypress.com
Document No. 001-91162 Rev. *A
18