Using Breakout Boards to Enable Lighting Protocols on the CY3267 PowerPSoC® Lighting Evaluation Kit – KBA90579

Version: **

 

Question: How do I enable lighting protocols on the CY3267 PowerPSoC Lighting Evaluation Kit by using commercially available breakout boards?

 

Answer:

 

You can enable lighting protocols such as DMX512 and Digital Addressable Lighting Interface (DALI) on the CY3267 PowerPSoC Lighting Evaluation Kit by using commercially available breakout boards.

DMX512

To enable DMX512, use one of the following RS485 breakout boards:

  1.   RS485 Click™ 5 V from MikroElektronika, Serbia
      http://www.mikroe.com/click/rs485-5v/
  2.   AK-MAX485 RS485 Transceiver Breakout from Artekit, Italy
      http://www.artekit.eu/products/breakout-boards/ak-max485-rs485-transceiver-breakout/

The firmware and the necessary documents to test DMX512 are available in the design guide, CY8CLED0xx0x - PowerPSoC® Firmware Design Guidelines, Lighting Control Interfaces on the Cypress website. Additionally, you will need a DMX512 master, which
can either be PC-based or a dedicated hardware.

You must connect the breakout boards between the DMX512 master and the J12-ISSP connector for PowerPSoC on the CY3267 evaluation board.

AK-MAX485 Board

Figure 1. Schematic Snippet for AK-MAX485 Board

RS485 Click 5 V Board

Figure 2. Schematic Snippet for RS485 Click 5 V Board

Figure 1 and Figure 2 show the schematic snippets for the breakout boards. To test the functionality, program the CY3267 board with the DMX512 example from the design guide, and follow the wiring tables below.

Table 1. Wiring Table for ISSP and the Breakout Boards

                                                                                                                                           
   
     PSoC Side
  
   
     J12 on CY3267
  
   
     TTL on AK-MAX485
  
   
     RS485 Click 5 V
  
   
      
  
   
      
  
   
      
  
   
     1 – VCC
  
   
     1 – VCC
  
   
     CN2 – VBUS
  
   
     2 – GND
  
   
     5 – GND and
     4 – RTS
  
   
     CN3 – GND and mikroBUS – R/T
  
    3 – NC    -    -
    4 – RX    3 – TX    mikroBUS– TX
    5 – TX    2 – RX    mikroBUS – RX

Table 2. XLR Connector Pin Names and Wiring Table

                                                                                                                                       
   
     Pin
  
   
     XLR: 3-Pin or 5-Pin
  
   
     AK-MAX485
  
   
     RS485 Click 5 V
  
   
     1
  
   
     Ground
  
   
     -
  
   
     -
  
   
     2
  
   
     DMX Data (B/-)
  
   
     NET RS485 – B
  
   
     CN3 – MINUS
  
   
     3
  
   
     DMX Data (A/+)
  
   
     NET RS485 – A
  
   
     CN2 – PLUS
  
   
     4
  
   
     NA
  
   
     -
  
   
     -
  
   
     5
  
   
     NA
  
   
     -
  
   
     -
  

Table 2 lists the XLR connector pin naming convention for DMX512 and appropriate connections to the breakout boards.

DALI

To enable DALI, you can use a DALI breakout board such as DALI Click from MikroElektronika, Serbia (http://www.mikroe.com/click/dali/).

The firmware and the necessary documents to test DALI are available in the design guide, CY8CLED0xx0x - PowerPSoC® Firmware Design Guidelines, Lighting Control Interfaces on the Cypress website. You will also need a DALI master, which can either be PCbased or a dedicated hardware, and a DALI power supply. Refer to the design guide for more information.

You must connect the board between the DALI bus and the J12-ISSP connector for PowerPSoC of CY3267.

DALI Click Board

Figure 3. Schematic Snippet for DALI Click Board

Figure 3 shows the schematic snippet for the breakout board. To test the functionality, program the CY3267 board with the DALI example from the design guide and follow the wiring table below. Additionally, on the breakout board, change the jumper J2 so that VCC is set to 5 V.

Table 3. Wiring Table for ISSP and the Breakout Board

                                                                                                     
    J12 on CY3267    DALI Click
          
    1 – VCC    mikroBUS – +5 V
    2 – GND    mikroBUS – GND
    3 – NC    -
    4 – ISSP_CLK    mikroBUS – INT
    5 – ISSP_DATA    mikroBUS – TX

Table 3 shows the connection between the ISSP connector J12 of CY3267 and the mikroBUS connector of the breakout board. DALI bus terminals on CN2/DALI connector of the breakout board must be connected to the DALI bus.

mikroBUS™ is a trademark of MikroElektronika