# Title: PWM 2 Click Board™ ## Description: The possibility to cascade more devices, as well as the ability to additionally fine-tune each PWM channel separately, compensating the brightness differences between the LED elements (dots), make PWM 2 click an ideal solution for building both small-scale and large-scale LED matrices and displays. Although it is targeted toward driving LEDs, the PWM 2 Click Board™ can also be used for other purposes, such as the motor control, industrial control, robotics, and similar applications that can benefit from having compact 48 channel PWM driver. How Does The PWM 2 Click Board™ Work? The main component of the PWM 2 Click Board™ is the LT8500, a 48-Channel LED PWM generator with 12-Bit resolution and 50MHz serial interface, from Analog Devices. This IC has 48 independent 12-bit PWM channels, each with 6-bit correction up to 50% of the original duty cycle. The LT8500 IC is clocked by a clock signal at the PWMCK pin. The frequency of the clock signal can go up to 25MHz, generating the PWM output frequency of up to 6.1kHz, which is sufficient for most purposes. The maximum speed of the LT8500 serial interface goes up to 50MHz in theory, but in practice, it will depend on many factors. The clock signal at the PWM pin of the mikroBUS™ is triggering an internal counter register (PWMCK). This register is compared with the content of the PWMRSYNC register, associated with each channel. Whenever the counter value is less than the value written in a specific channel PWMRSYNC register, the PWM output of that channel goes to a HIGH logic level. The frequency of the output PWM signal is therefore determined by the frequency the clock signal at the PWMCK pin. This represents the basic operating principle of the LTC8500 IC. The PWMCK pin is routed to the PWM pin of the mikroBUS™. The device uses an industry-standard SPI interface for the communication. The LDI pin acts as the normal Chip Select, latching the SPI data in, but it has an additional function if held to a HIGH logic level for more than 50µs. In that case, the IC will be reset, and all outputs will be blanked. Therefore, care should be taken not to hold this pin to a HIGH logic level, for more than 5µs. The LDI pin is routed to the CS pin of the mikroBUS™ and it is labeled as LDI. Besides the usual SPI interface lines, the LT8500 PWM generator IC provides a serial interface clock output signal (SCKO), allowing additional devices to be connected in the parallel 5-wire topology (LDI, SCKI, SDI, SDO, and SCKO). This allows large-scale cascading, without the need for the skew balancing or buffering the signals. These additional pins are available at the standard 2.54 pitch headers on board. These additional pins on the header are described in a table, below. More information about cascading and using the SCKO feature of the IC can be found in the LT8500 datasheet. The device is controlled by sending commands via the SPI interface, embedded in a command frame. There are eight different commands which are used to control the following parameters: PWM outputs update (synchronously or asynchronously to PWM period), the dot correction factor, self-test initialization, phase shifting between banks (groups of 16 channels), enabling/ disabling of the PWM output drivers, and enabling/disabling of the dot correction . A frame consists of a 12-bit data field for each of the 48 PWM channels, followed by an 8-bit command field, which contains one of the eight command codes. The status frame is clocked on the SDO pin, providing the host MCU with the frame information: LED fault status, phase shifting status, correction status, synchronization status, and so on. This information can be used either for troubleshooting or for other purposes by the host MCU application. As already mentioned, additional functionalities of the LT8500 IC are offered via the onboard headers, along with the 48 PWM channel outputs. The outputs are not meant to drive devices with high current, so PWM 2 click is best used as the driver for additional circuitry, whether it is a simple MOSFET LED driver, or a more complex ICs, such as the LT3595A LED driver, for which a special input pin is reserved, allowing open LED conditions to be detected, even on the externally connected LT3595 IC. Onboard headers also offer fixed 5V output from the mikroBUS™ for the auxiliary purposes. The PWM 2 Click Board™ offers an operating voltage level selection between 3.3V and 5V by switching an SMD jumper labeled as the PWR SEL to an appropriate position. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™. SPECIFICATIONS Type PWM Applications The PWM 2 Click Board™ can be used for driving up to 48 independent channels with the PWM signal of the programmable duty cycle, and can be used for driving LED matrices and displays, but it can also be used for the motor control, industrial control, robotics, and similar applications On-board modules LT8500, a 48-Channel LED PWM generator with 12-Bit resolution and 50MHz serial interface, from Linear Technology division of Analog Devices Key Features A complete pinout required for cascading available on the 2.54mm pin headers, along with the 48 independent PWM channels, each with programmable duty cycle, dot brightness correction for brightness uniformity, and error reporting for open LED via the status frame response Interface PWM,SPI Compatibility mikroBUS Click board size L (57.15 x 25.4 mm) Input Voltage 3.3V or 5V PINOUT DIAGRAM This table shows how the pinout on the PWM 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns). Notes Pin Pin Notes NC 1 AN PWM 16 PWM Clock Signal IN NC 2 RST INT 15 NC Latch Data In/Blank LDI 3 CS RX 14 NC SPI clock SCK 4 SCK TX 13 NC SPI Data OUT SDO 5 MISO SCL 12 NC SPI Data IN SDI 6 MOSI SDA 11 NC Power supply 3.3V 7 3.3V 5V 10 5V Power supply Ground GND 8 GND GND 9 GND Ground ONBOARD JUMPERS AND SETTINGS Label Name Default Description LD1 PWR - Power LED indicator J1 PWR SEL Right Power Supply voltage selection: left position 3.3V, right position 5V ONBOARD CONNECTORS Label Description 1 - 48 Channel 1 to Channel 48 PWM outputs LD Latch Data In/Blank pin (shared with the mikroBUS™) SO SPI Serial Data Out (shared with the mikroBUS™) C SPI Serial Clock In (shared with the mikroBUS™) CO SPI Serial Clock Out OL #OPENLED pin used to detect an external open LED condition 5V 5V power supply from the mikroBUS™ power rail GND Ground ## Product type: Click Board ## Vendor: Mikroelektronika d.o.o. ## Tags: Analog Devices, Click Board, Interface, MikroE, PWM, Serial Interface ## Price range: 22.4 - 22.4 GBP ## Link: https://thedebugstore.com/products/pwm-2-click-board-mikroe-3148-uk ## Compare-at price range: 32.0 - 32.0 GBP ## Options - Title: Default Title ## Collections - [New Products](https://thedebugstore.com/a/llms/collections/new-products-debug-store) - [Mikroelektronika d.o.o. (MikroE)](https://thedebugstore.com/a/llms/collections/mikroelektronika-catalogue-uk) - [Analog Devices Development Boards and Support Tools | Debug Store](https://thedebugstore.com/a/llms/collections/analog-devices-device-support-uk) - [Serial Interface Click Boards™](https://thedebugstore.com/a/llms/collections/serial-interface-click-boards-catalogue) - [MikroE Click Boards™](https://thedebugstore.com/a/llms/collections/mikroe-click-boards-catalogue-uk) - [Interface Click Boards™](https://thedebugstore.com/a/llms/collections/interface-click-boards-catalogue) - [PWM Interface Click Boards™](https://thedebugstore.com/a/llms/collections/pwm-interface-click-boards-catalogue) - [Click Boards™ Summer Sale](https://thedebugstore.com/a/llms/collections/inventory-sale) - [MikroE Sale](https://thedebugstore.com/a/llms/collections/mikroe-sale) - [MIKROE Stock](https://thedebugstore.com/a/llms/collections/mikroe-products-in-stock-sale) ## Variants - Default Title, SKU: MIKROE-3148, Available: yes, Inventory: 1 ## Metafields - full_description:

The possibility to cascade more devices, as well as the ability to additionally fine-tune each PWM channel separately, compensating the brightness differences between the LED elements (dots), make PWM 2 click an ideal solution for building both small-scale and large-scale LED matrices and displays. Although it is targeted toward driving LEDs, the PWM 2 Click Board™ can also be used for other purposes, such as the motor control, industrial control, robotics, and similar applications that can benefit from having compact 48 channel PWM driver.

How Does The PWM 2 Click Board™ Work?

The main component of the PWM 2 Click Board™ is the LT8500, a 48-Channel LED PWM generator with 12-Bit resolution and 50MHz serial interface, from Analog Devices. This IC has 48 independent 12-bit PWM channels, each with 6-bit correction up to 50% of the original duty cycle. The LT8500 IC is clocked by a clock signal at the PWMCK pin. The frequency of the clock signal can go up to 25MHz, generating the PWM output frequency of up to 6.1kHz, which is sufficient for most purposes. The maximum speed of the LT8500 serial interface goes up to 50MHz in theory, but in practice, it will depend on many factors.

MikroElektronika Click Boards Interface PWM 2 click

The clock signal at the PWM pin of the mikroBUS™ is triggering an internal counter register (PWMCK). This register is compared with the content of the PWMRSYNC register, associated with each channel. Whenever the counter value is less than the value written in a specific channel PWMRSYNC register, the PWM output of that channel goes to a HIGH logic level. The frequency of the output PWM signal is therefore determined by the frequency the clock signal at the PWMCK pin. This represents the basic operating principle of the LTC8500 IC. The PWMCK pin is routed to the PWM pin of the mikroBUS™.

The device uses an industry-standard SPI interface for the communication. The LDI pin acts as the normal Chip Select, latching the SPI data in, but it has an additional function if held to a HIGH logic level for more than 50µs. In that case, the IC will be reset, and all outputs will be blanked. Therefore, care should be taken not to hold this pin to a HIGH logic level, for more than 5µs. The LDI pin is routed to the CS pin of the mikroBUS™ and it is labeled as LDI.

Besides the usual SPI interface lines, the LT8500 PWM generator IC provides a serial interface clock output signal (SCKO), allowing additional devices to be connected in the parallel 5-wire topology (LDI, SCKI, SDI, SDO, and SCKO). This allows large-scale cascading, without the need for the skew balancing or buffering the signals. These additional pins are available at the standard 2.54 pitch headers on board. These additional pins on the header are described in a table, below. More information about cascading and using the SCKO feature of the IC can be found in the LT8500 datasheet.

The device is controlled by sending commands via the SPI interface, embedded in a command frame. There are eight different commands which are used to control the following parameters: PWM outputs update (synchronously or asynchronously to PWM period), the dot correction factor, self-test initialization, phase shifting between banks (groups of 16 channels), enabling/ disabling of the PWM output drivers, and enabling/disabling of the dot correction . A frame consists of a 12-bit data field for each of the 48 PWM channels, followed by an 8-bit command field, which contains one of the eight command codes. The status frame is clocked on the SDO pin, providing the host MCU with the frame information: LED fault status, phase shifting status, correction status, synchronization status, and so on. This information can be used either for troubleshooting or for other purposes by the host MCU application.

As already mentioned, additional functionalities of the LT8500 IC are offered via the onboard headers, along with the 48 PWM channel outputs. The outputs are not meant to drive devices with high current, so PWM 2 click is best used as the driver for additional circuitry, whether it is a simple MOSFET LED driver, or a more complex ICs, such as the LT3595A LED driver, for which a special input pin is reserved, allowing open LED conditions to be detected, even on the externally connected LT3595 IC. Onboard headers also offer fixed 5V output from the mikroBUS™ for the auxiliary purposes.

The PWM 2 Click Board™ offers an operating voltage level selection between 3.3V and 5V by switching an SMD jumper labeled as the PWR SEL to an appropriate position. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™.

SPECIFICATIONS

Type PWM
Applications The PWM 2 Click Board™ can be used for driving up to 48 independent channels with the PWM signal of the programmable duty cycle, and can be used for driving LED matrices and displays, but it can also be used for the motor control, industrial control, robotics, and similar applications
On-board modules LT8500, a 48-Channel LED PWM generator with 12-Bit resolution and 50MHz serial interface, from Linear Technology division of Analog Devices
Key Features A complete pinout required for cascading available on the 2.54mm pin headers, along with the 48 independent PWM channels, each with programmable duty cycle, dot brightness correction for brightness uniformity, and error reporting for open LED via the status frame response
Interface PWM,SPI
Compatibility mikroBUS
Click board size L (57.15 x 25.4 mm)
Input Voltage 3.3V or 5V

PINOUT DIAGRAM

This table shows how the pinout on the PWM 2 Click Board™ corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).

Notes Pin Mikrobus logo.png Pin Notes
NC 1 AN PWM 16 PWM Clock Signal IN
NC 2 RST INT 15 NC
Latch Data In/Blank LDI 3 CS RX 14 NC
SPI clock SCK 4 SCK TX 13 NC
SPI Data OUT SDO 5 MISO SCL 12 NC
SPI Data IN SDI 6 MOSI SDA 11 NC
Power supply 3.3V 7 3.3V 5V 10 5V Power supply
Ground GND 8 GND GND 9 GND Ground


ONBOARD JUMPERS AND SETTINGS

Label Name Default Description
LD1 PWR - Power LED indicator
J1 PWR SEL Right Power Supply voltage selection: left position 3.3V, right position 5V

ONBOARD CONNECTORS

Label Description
1 - 48 Channel 1 to Channel 48 PWM outputs
LD Latch Data In/Blank pin (shared with the mikroBUS™)
SO SPI Serial Data Out (shared with the mikroBUS™)
C SPI Serial Clock In (shared with the mikroBUS™)
CO SPI Serial Clock Out
OL #OPENLED pin used to detect an external open LED condition
5V 5V power supply from the mikroBUS™ power rail
GND Ground

 

- description_tag: The PWM 2 Click Board™ offers 48 independently controlled PWM channels, available over the on-board headers, perfectly suited for driving LEDs. Available from Debug Store UK. - title_tag: MikroE PWM 2 Click Board™ (MIKROE-3148) - manufacturer: Mikroelektronika d.o.o. - warranty: 12 months - amazon_enable: TRUE - amazon_title: PWM 2 Click Board - amazon_product_type: computercomponent - amazon_block: FALSE - amazon_prime_enable: FALSE - amazon_search: MikroElektronika Microelectronica MIKROE-1100 - amazon_uk_price: 16.72 - amazon_uk_currency: GBP - amazon_de_currency: EUR - amazon_de_price: 18.8936 - amazon_fr_currency: EUR - amazon_fr_price: 18.8936 - amazon_es_currency: EUR - amazon_es_price: 18.8936 - amazon_nl_currency: EUR - amazon_nl_price: 18.8936 - amazon_it_currency: EUR - amazon_it_price: 18.8936 - amazon_se_curency: SEK - amazon_se_price: 190.608 - amazon_product_id: 8606018713493 - amazon_product_id_type: EAN - amazon_update: Update - amazon_short_description: PWM 2 Click Board™ offers 48 independently controlled PWM channels, available over the on-board headers, perfectly suited for driving LEDs. Each channel has a 12-bit PWM register associated to it, with the addition of the 6-bit correction register, also known as the dot correction register. PWM 2 is able to detect both synchronization errors and open LED errors, signaling the error via the dedicated pin and the status frame. The Click Board™ fully supports cascading, exposing all the necessary pins on the on-board headers, so it can support a large array of LED elements. - amazon_long_description:

PWM 2 Click Board™ offers 48 independently controlled PWM channels, available over the on-board headers, perfectly suited for driving LEDs. Each channel has a 12-bit PWM register associated to it, with the addition of the 6-bit correction register, also known as the dot correction register. PWM 2 is able to detect both synchronization errors and open LED errors, signaling the error via the dedicated pin and the status frame. The Click Board™ fully supports cascading, exposing all the necessary pins on the on-board headers, so it can support a large array of LED elements.

- amazon_main_image: https://www.thedebugstore.com/images/product/lg-pwm-2-back_1.jpg - amazon_other_image_1: https://www.thedebugstore.com/images/product/lg-pwm-2-click-in-use_1.jpg - amazon_other_image_2: https://www.thedebugstore.com/images/product/lg-pwm-2-front_1.jpg - amazon_browse_node: 428655031 - mpn: MIKROE-3148 - backorder_label: If no stock shown above, check availability - badge: - widget:

Customer Reviews

Be the first to write a review
0%
(0)
0%
(0)
0%
(0)
0%
(0)
0%
(0)
- google_product_category: 222 - examples:

We provide a demo application for the PWM 2 Click Board™ on our Libstock page, as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.

Library Description

The library carries all necessary functions for complete control over the PWM 2 Click Board™.

Key Functions

Example Description

The application is composed of three sections:

void applicationInit()
{
 uint8_t i;

 pwm2_spiDriverInit( (T_PWM2_P)&_MIKROBUS1_GPIO, (T_PWM2_P)&_MIKROBUS1_SPI );
 Delay_ms( 100 );

 //PWMCK setup:
 period_PWM = PWM_TIM2_Init(_PWM2_CLOCK_15_MHZ);
 PWM_TIM2_Set_Duty(period_PWM/2,_PWM_NON_INVERTED,_PWM_CHANNEL1);
 PWM_TIM2_Start(_PWM_CHANNEL1, &_GPIO_MODULE_TIM2_CH1_PA0);
 //end of PWMCK setup
 dutyMode = 1;

 pwm2_Inits();
 //setting all 48 PWM2 channels on the PWM2 click to 75% duty
 for(i = 1; i < 49; i++)
 {
 pwm2_setChannel(i,_PWM2_50_PERCENT_DUTY,_PWM2_NO_CORRECTION);
 }
 pwm2_togglePhaseShift();
}

The full application code, and ready to use projects can be found on our Libstock page. 

Other MikroElektronika libraries used in the example:

ADDITIONAL NOTES AND INFORMATION

Depending on the development board you are using, you may need a USB UART click, USB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

MIKROSDK

The PWM 2 Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant click board demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.

- attachments: [{"download_file":[{"download_file":"PWM 2 Click Board™ Schematic"}],"download_filetype":[{"download_filetype":"pdf"}]},{"download_file":[{"download_file":"Analog Devices LT8500 48-Channel PWM Controller Datasheet"}],"download_filetype":[{"download_filetype":"pdf"}]}] - condition: new - custom_product: false - mpn: MIKROE-3148 - google_product_category: Electronics - custom_label_0: Click Board - device_vendor: Linear Technology - device_type: LT8500ETJ#PBF - warranty: 12 months - brand: MikroE - manufacturer: Mikroelektronika d.o.o. - brands: gid://shopify/Metaobject/56256004319 - breadcrumbs: ["gid://shopify/Collection/447955239135","gid://shopify/Collection/241680580797","gid://shopify/Collection/241546100925"] - customhs_code: 847330 - detailed_description: {"type":"root","children":[{"type":"paragraph","children":[{"type":"text","value":"The possibility to cascade more devices, as well as the ability to additionally fine-tune each PWM channel separately, compensating the brightness differences between the LED elements (dots), make PWM 2 click an ideal solution for building both small-scale and large-scale LED matrices and displays. Although it is targeted toward driving LEDs, the "},{"type":"text","value":"PWM 2 Click Board™","bold":true},{"type":"text","value":" can also be used for other purposes, such as the motor control, industrial control, robotics, and similar applications that can benefit from having compact 48 channel PWM driver."}]},{"type":"heading","level":2,"children":[{"type":"text","value":"How Does The PWM 2 Click Board™ Work?"}]},{"type":"paragraph","children":[{"type":"text","value":"The main component of the "},{"type":"text","value":"PWM 2 Click Board™","bold":true},{"type":"text","value":" is the LT8500, a 48-Channel LED PWM generator with 12-Bit resolution and 50MHz serial interface, from Analog Devices. This IC has 48 independent 12-bit PWM channels, each with 6-bit correction up to 50% of the original duty cycle. The LT8500 IC is clocked by a clock signal at the PWMCK pin. The frequency of the clock signal can go up to 25MHz, generating the PWM output frequency of up to 6.1kHz, which is sufficient for most purposes. The maximum speed of the LT8500 serial interface goes up to 50MHz in theory, but in practice, it will depend on many factors."},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""},{"type":"text","value":""}]},{"type":"paragraph","children":[{"type":"text","value":"The clock signal at the PWM pin of the mikroBUS™ is triggering an internal counter register (PWMCK). This register is compared with the content of the PWMRSYNC register, associated with each channel. Whenever the counter value is less than the value written in a specific channel PWMRSYNC register, the PWM output of that channel goes to a HIGH logic level. The frequency of the output PWM signal is therefore determined by the frequency the clock signal at the PWMCK pin. This represents the basic operating principle of the LTC8500 IC. The PWMCK pin is routed to the PWM pin of the mikroBUS™."}]},{"type":"paragraph","children":[{"type":"text","value":"The device uses an industry-standard SPI interface for the communication. The LDI pin acts as the normal Chip Select, latching the SPI data in, but it has an additional function if held to a HIGH logic level for more than 50µs. In that case, the IC will be reset, and all outputs will be blanked. Therefore, care should be taken not to hold this pin to a HIGH logic level, for more than 5µs. The LDI pin is routed to the CS pin of the mikroBUS™ and it is labeled as LDI."}]},{"type":"paragraph","children":[{"type":"text","value":"Besides the usual SPI interface lines, the LT8500 PWM generator IC provides a serial interface clock output signal (SCKO), allowing additional devices to be connected in the parallel 5-wire topology (LDI, SCKI, SDI, SDO, and SCKO). This allows large-scale cascading, without the need for the skew balancing or buffering the signals. These additional pins are available at the standard 2.54 pitch headers on board. These additional pins on the header are described in a table, below. More information about cascading and using the SCKO feature of the IC can be found in the LT8500 datasheet."}]},{"type":"paragraph","children":[{"type":"text","value":"The device is controlled by sending commands via the SPI interface, embedded in a command frame. There are eight different commands which are used to control the following parameters: PWM outputs update (synchronously or asynchronously to PWM period), the dot correction factor, self-test initialization, phase shifting between banks (groups of 16 channels), enabling/ disabling of the PWM output drivers, and enabling/disabling of the dot correction . A frame consists of a 12-bit data field for each of the 48 PWM channels, followed by an 8-bit command field, which contains one of the eight command codes. The status frame is clocked on the SDO pin, providing the host MCU with the frame information: LED fault status, phase shifting status, correction status, synchronization status, and so on. This information can be used either for troubleshooting or for other purposes by the host MCU application."}]},{"type":"paragraph","children":[{"type":"text","value":"As already mentioned, additional functionalities of the LT8500 IC are offered via the onboard headers, along with the 48 PWM channel outputs. The outputs are not meant to drive devices with high current, so PWM 2 click is best used as the driver for additional circuitry, whether it is a simple MOSFET LED driver, or a more complex ICs, such as the LT3595A LED driver, for which a special input pin is reserved, allowing open LED conditions to be detected, even on the externally connected LT3595 IC. Onboard headers also offer fixed 5V output from the mikroBUS™ for the auxiliary purposes."}]},{"type":"paragraph","children":[{"type":"text","value":"The "},{"type":"text","value":"PWM 2 Click Board™","bold":true},{"type":"text","value":" offers an operating voltage level selection between 3.3V and 5V by switching an SMD jumper labeled as the PWR SEL to an appropriate position. This allows both 3.3V and 5V MCUs to be interfaced with this Click board™."}]},{"type":"heading","level":3,"children":[{"type":"text","value":"SPECIFICATIONS"}]},{"type":"paragraph","children":[{"type":"text","value":"Type\nPWM\nApplications\nThe PWM 2 Click Board™ can be used for driving up to 48 independent channels with the PWM signal of the programmable duty cycle, and can be used for driving LED matrices and displays, but it can also be used for the motor control, industrial control, robotics, and similar applications\nOn-board modules\nLT8500, a 48-Channel LED PWM generator with 12-Bit resolution and 50MHz serial interface, from Linear Technology division of Analog Devices\nKey Features\nA complete pinout required for cascading available on the 2.54mm pin headers, along with the 48 independent PWM channels, each with programmable duty cycle, dot brightness correction for brightness uniformity, and error reporting for open LED via the status frame response\nInterface\nPWM,SPI\nCompatibility\nmikroBUS\nClick board size\nL (57.15 x 25.4 mm)\nInput Voltage\n3.3V or 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"PINOUT DIAGRAM"}]},{"type":"paragraph","children":[{"type":"text","value":"This table shows how the pinout on the "},{"type":"text","value":"PWM 2 Click Board™","bold":true},{"type":"text","value":" corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns)."}]},{"type":"paragraph","children":[{"type":"text","value":"Notes\nPin\nPin\nNotes\nNC\n1\nAN\nPWM\n16\nPWM\nClock Signal IN\nNC\n2\nRST\nINT\n15\nNC\nLatch Data In/Blank\nLDI\n3\nCS\nRX\n14\nNC\nSPI clock\nSCK\n4\nSCK\nTX\n13\nNC\nSPI Data OUT\nSDO\n5\nMISO\nSCL\n12\nNC\nSPI Data IN\nSDI\n6\nMOSI\nSDA\n11\nNC\nPower supply\n3.3V\n7\n3.3V\n5V\n10\n5V\nPower supply\nGround\nGND\n8\nGND\nGND\n9\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":""},{"type":"text","value":"ONBOARD JUMPERS AND SETTINGS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nName\nDefault\nDescription\nLD1\nPWR\n-\nPower LED indicator\nJ1\nPWR SEL\nRight\nPower Supply voltage selection: left position 3.3V, right position 5V"}]},{"type":"heading","level":3,"children":[{"type":"text","value":"ONBOARD CONNECTORS"}]},{"type":"paragraph","children":[{"type":"text","value":"Label\nDescription\n1 - 48\nChannel 1 to Channel 48 PWM outputs\nLD\nLatch Data In/Blank pin (shared with the mikroBUS™)\nSO\nSPI Serial Data Out (shared with the mikroBUS™)\nC\nSPI Serial Clock In (shared with the mikroBUS™)\nCO\nSPI Serial Clock Out\nOL\n#OPENLED pin used to detect an external open LED condition\n5V\n5V power supply from the mikroBUS™ power rail\nGND\nGround"}]},{"type":"heading","level":3,"children":[{"type":"text","value":" "}]}]} - summary:

The PWM 2 Click Board™ offers 48 independently controlled PWM channels, available over the on-board headers, perfectly suited for driving LEDs. Each channel has a 12-bit PWM register associated to it, with the addition of the 6-bit correction register, also known as the dot correction register. PWM 2 is able to detect both synchronization errors and open LED errors, signaling the error via the dedicated pin and the status frame.

The PWM 2 Click Board™ fully supports cascading, exposing all the necessary pins on the on-board headers, so it can support a large array of LED elements.