IDM2040-7A Bridgetek-Pte-Ltd
Document overview
- Manufacturer or author: Provided By alldatasheet.com(free datasheet download site)
- PDF pages: 29
Technical content
Copyright © Bridgetek Pte Ltd 1 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
1 Introduction
The IDM2040-7A is an intelligent display module featuring a 7” 800x480 capacitive touch panel . The module carries the latest generation EVE4 controller BT 817 supported by a low-cost high performance RP2040 microcontroller. The on -board RS485 transceiver allows communication with Long Distance Sensor Bus (LDSBus) devices or DMX512 devices through Cat 5/6 cables over an RJ45 connector. The input power supply can be either a Type -C PD charger or a PSU via the DC-jack. The Type -C PD port is controlled by FTDI ’s latest PD controller FT232HP, with PD sink profile programmable through the FTDI utility FT_PROG. With the use of a Raspberry Pi MCU RP2040, the IDM 2040-7A module allows easy programming with various circuitpython or micropython libraries.
1.1 Features
BT817 latest generation EVE controller. FT232HP: high speed USB connectivity with embedded USB PD support. RP2040 MCU with 8 MB on -board flash memory programmable with Circuit Python (libraries provided). BRT LDSBus connectivity to a wide range of long distance sensor s and actuators (libraries provided). USB type C connectivity throughout for connection reliability. DMX512 supported for lighting contr ol displays. Supports 7” 800x480 LCD with capacitive touch screen. On board 16MB NOR Flash for EVE assets. On board audio power amplifier and audio connector for external speaker and audio line in. RJ45 connector for controlling LDSBus or DMX512 devices. Type-C port for RP2040 USB DFU or debug. Type-C port for FT232HP USB serial converter. Type-C port for USB PD charger up to 20V. DC-jack for up to 24V PSU. Micro-SD card socket. 2x Stemma QT (QWIIC) I2C peripheral sockets. SPI pin headers for Adafruit Wi-Fi module or other peripherals. Hardware RESET button. RP2040 DFU button. Neither the whole nor any part of the information contained in, or the product described in this manual, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any particular purpose is either made or implied. Bridgetek Pte Ltd will not accept any claim for damages howsoever arising as a result of use or failure of this product. Your statutory rights are not affected. This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure of the product might reasonably be expected to result in personal injury. This document provides preliminary information that may be subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document . Bridgetek Pte Ltd, 178 Paya Lebar Road, #07 -03, Singapore 409030. Singapore Registered Company Number: 201542387H Bridgetek Pte Ltd IDM2040-7A Datasheet
Copyright © Bridgetek Pte Ltd 2 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
2 Ordering Information
Part No. Description IDM2040-7A Intelligent Display Module 7 inch for LDSBus/DMX controller
Copyright © Bridgetek Pte Ltd 3 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Table of Contents
9 Disclaimer Notice: Use of Third-Party Software or
Copyright © Bridgetek Pte Ltd 4 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
Copyright © Bridgetek Pte Ltd 5 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
3 Hardware Description
3.1 IDM2040-7A Module
The IDM2040-7A module consists of a 7” 800x480 capacitive touch LCD with HB_026 PCBA mounted to the LCD back frame. The size of the module is 165mm X 100mm X 21mm. Figure 1 - IDM2040-7A Module - Top View Figure 2 - IDM2040-7A Module - Bottom View
Copyright © Bridgetek Pte Ltd 7 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Figure 5 - IDM2040-7A Board – Bottom View Key Features: Micro-SD card socket Raspberry Pi RP2040 MCU Type-C USB connector Hardware Reset Button Two 4-position 1mm pitch JST male connectors (Stemma QT/ QWIIC) for I2C peripheral interface One 2-position 2mm pitch JST male connector for PD Load One 2-position 2.54mm pitch male Harwin header for BUS snooping One USB Type-C connector for 20.0V PD charger One USB Type-C connector for PC Debugging (Python Input/Output) One RJ45 connector for LDSBus and DMX512 application One 4-position 1.50mm JST male connector for audio filter and amplifier FT232HPQ chip for PD controller and USB serial communication One DC jack connector for DC input from PSU One 50-pin 0.50mm pitch FPC connector for LCD interface BT817Q chip for graphics, touch and audio controller One 3-position 2.54mm Harwin male header for ADC peripheral interface One 3-position 2.54mm Harwin male header for SWD interface One 9-position 2.54mm Harwin male header for SPI peripheral interface One 10-pin 0.50mm pitch FPC connector for capacitive touch screen
3.2 Power supply
There are various options for easily powering the IDM2040-7A board as listed below – 24V DC input coming from PSU – CN18 20V from USB Type-C PD charger – CN12 5V USB Type-C PC debug connector - CN13A 5V USB Type-C serial converter connector - CN13. All of these input options will go to the DC-DC Buck switching regulator to output 3.3V for the entire system. For applications where an LDSBus device or DMX512 device is connected, either 20V PD power or 24V DC power is required.
Copyright © Bridgetek Pte Ltd 8 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
3.3 Raspberry Pi RP2040 MCU
Raspberry Pi RP2040 micro-controller unit (MCU) with the following key features:
- Dual ARM Cortex-M0+ @ 133MHz
- 264kB on-chip SRAM in six independent banks
- Support 8MB of on-board Flash memory via dedicated QSPI bus
- Type-C USB port supporting USB2.0 Full-speed device function; reprogramming the Flash can be achieved by simply dragging and dropping a file onto the RP2040 which appears as a mass storage device. 26 multi-function 3.3V General Purpose I/O (GPIO) with 23 GPIOs being digital-only and 3 ADC-capable GPIOs. 3-pin ARM Serial Wire Debug (SWD) port ; the st andard Serial Wire Debug (SWD) port can reset the system and load and run code without any button presses as well as for debugging purpose. For full details of the Raspberry Pi RP2040 MCU, please refer to the RP2040 Datasheet.
3.4 The Connectors & Hardware Reset Button
Figure 6 – Connectors of IDM2040-7A The connectors and the hardware reset button are described in the following sections. Note: All GP(IO)s stated as below can also be configured as PIO or PWM.
- CN1 is a 10-pin FPC connector for capacitive touch panel.
- CN3 is a 4-position connector header for audio output to a speaker and external audio line-in input. Pin No. Name Type Description
1 SP- O Audio output for speaker
2 SP+ O Audio output for speaker
3 GND P Ground
4 AUD I Audio line-in input
- CN4 is a Micro SD card socket which is supporting SPI -single mode. The physical interface supports the card detection.
- CN5 is a 3-position vertical pin header connector for power (3.3V) and ADC input or it could also be configured as GPIO port.
Copyright © Bridgetek Pte Ltd 9 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Pin No. Name Type Description Pin Configurable Function 1 VCC3V3 P DC power supply (3.3V) -
2 GP26/ADC0 I by default, it is ADC0 input GP26/ADC0/I2C1_SD
A
3 GND P Ground -
- W1 is a 2-position vertical pin header connector for choosing CN12 Power delivery or CN13 for communication with PC. W1 status Application Short CN13 is plugged to a USB host, CN12 is left open Open CN12 is plugged to a Type-C PD charger Table 3 – W1 Function
- CN8 is a 3-position vertical pin header connector for SWD interface. Pin No. Name Type Description Pin Configurable Function
1 SWCLK I Serial Wire Debug, Clock SWCLK
2 GND P Ground -
3 SWDIO I Serial Wire Debug, I/O SWDIO
Table 4 – CN8 Pinout
- CN9 & CN10 are the Stemma QT/ QWIIC connectors for power (3.3V) and I2C interface. Pin No. Name Type Description Pin Configurable Function
1 GND P Ground -
2 VCC3V3 P DC power supply (3.3V) - CN9: I2C0_SDA CN10: I2C1_SDA I/O I2C Serial Bus, Data Line CN9: GP20/I2C0_SDA CN10: GP18/SPI0_SCK/I2C1 _SDA CN9: I2C0_SCL CN10: I2C1_SCL O I2C Serial Bus, Clock Line CN9: GP21/I2C0_SCL CN10: GP19/SPI0_TX/I2C1_ SCL Table 5 – CN9 7 & CN10 Pinout
- CN11 is the 9-position vertical pin header connector for power (3.3V) and SPI interface. The SPI bus signals are shared with Micro-SD card except for the chip select signal. Pin No. Name Type Description Pin Configurable Function 1 VCC3V3 P DC power supply (3.3V) - 2 - - NC -
4 SPI1_SCK O SPI1 clock output GP10/SPI1_SCK/I2C1
_SDA
Copyright © Bridgetek Pte Ltd 10 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
5 SPI1_MISO I SPI master input, slave
output. GP12/SPI1_RX/I2C0_ SDA/UART0_TX
6 SPI1_MOSI O SPI master output, slave
input. GP11/SPI1_TX/I2C1_ SCL SPI1_CS2# O SPI Chip Select output for external SPI peripheral device, active low. On board 10kΩ pull-up to 3.3V. GP22
8 BUSY I Reserve for AdafruitAirLift
Breakout Wi-Fi module GP14
9 RESET# O Reserve for AdafruitAirLift
Breakout Wi-Fi module GP15 Table 6 – CN11 Pinout CN12 is a USB type C receptacle connector used for FT232HPQ (U7) to negotiate with USB PD power source to deliver the power as programmed in external EEPROM sink PDO profile (default 20V/3A). It is also as a power supply option for the board. CN13 is a USB type C receptacle connector used for communication with PC. Use this port to program the EEPROM (U8) if needed. It can also be used for communication via USB to UART converter as a virtual com port, between RP2040 UART0 and PC host. Note that when CN12 is not connected to a Type -C PD charger, W1 jumper needs to be closed so that FT232HPQ can be detected as a USB device by PC host. CN13A is a USB type C re ceptacle connector used for RP2040 programming and debugging.
- CN14 is used for monitoring the UART0 communication. Pin No. Name Type Description
1 GND P Ground
2 TTL_RXD O RP2040 UART0 communication (= UART0_TXD AND
UART0_RXD) Table 7 – CN14 Pinout
- CN16 is Power delivery output from CN12 via load switch Q1. Maximum 20V @ 3A load can be connected. Pin No. Name Type Description
1 VOUT P Voltage output from CN12 USB type C VBUS
2 GND - Ground
Table 8 – CN16 Pinout
- CN17 is RJ45 port for RS -485 communication, LDSBus sensor control, DMX512 device control. The polarity of RS-485 A/B signal can be controlled by RP2040 GP16. Set GP16 to logic Low for normal A/B operation (for LDSBus), set GP16 to logic High to switch A/B operation (for DMX512). Pin No. Name Type Description
1 B/Z I/O RS-485 inverting Drive Output/Receiver Input
2 A/Y I/O RS-485 Noninverting Drive Output/Receiver Input
3 NC - Not Connect
4 +24V P 24V from CN18 or 20V from CN12 VBUS 5 +24V P 24V from CN18 or 20V from CN12 VBUS
6 NC - Not Connect
7 GND P Ground
8 GND P Ground
Table 9 – CN17 Pinout
Copyright © Bridgetek Pte Ltd 11 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
- CN18 is used for external DC power supply input. Pin No. Name Type Description Plug Inner DC+ P DC input, Inner diameter 2.5mm Plug Outer GND P Ground, Outer diameter 5.5mm Table 10 – CN18 Pinout
- SW1 is the hardware reset button. Push to reset MCU RP2040.
- SW1A is the BOOTSEL button to put the RP2040 MCU into programming mode to program the FLASH connected to RP2040 QSPI bus.
Copyright © Bridgetek Pte Ltd 12 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
4 Specifications
4.1 Electrical Specifications
Parameter Description Minimum Typical Maximum Units Notes VCC_24V 24V supply voltage 18 24 28 V CN18 VBUS supply voltage 4.5 20 22 V CN12 VBUS supply voltage 4.5 5.0 5.5 V CN13 VBUS supply voltage 4.5 5.0 5.5 V CN13A Icc1_3.3V VCC=3.3V operating current - 280 - mA With LCD and Backlight LED on Icc2_3.3V VCC=3.3V operating current - 490 - mA Add 1W speaker Voh Output Voltage High 2.4 - - V Vol Output Voltage Low - - 0.4 V Vih Input High Voltage 2.0 - - V Vil Input Low Voltage - - 0.8 V T Operating temperature -20 - +70 ℃ Table 11 – Operating Voltage and Current
4.2 Display Specifications
LCD Type TFT active matrix - Display Colours 16.7M - Display active area 154.0(H) * 85.92(V) mm 7.0 inch diagonal Number of Pixels 800(RGB)*480 dots Pixel pitch 0.135(H) * 0.135(V) mm Backlight 3X9 white LEDs - Touch screen 5-finger capacitive touch - Table 12 – LCD and Touch Information
Copyright © Bridgetek Pte Ltd 13 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
4.3 Optical Specifications
Item Symbol Condition Min. Typ. Max. Unit Note Brightness Bp θ=0° - 420 - Cd/m2 1 Uniformity ⊿Bp 75 - - % 1,2 Viewing Angle 3:00 Cr≥10 - 65 - Deg 3 6:00 - 55 - 9:00 - 65 - 12:00 - 65 - Contrast Ratio Cr θ=0° 300 500 - 4 Response Time Tr - 10 - ms
5 Tf - 10 - ms
W x θ=0 0.28 - 1,6 y 0.33 - R x 0.51 - y 0.34 - G x 0.31 - y 0.56 - B x 0.15 - y 0.14 - NTSC Ratio S 50 60 - % Table 13 – Optical Specifications Note 1: The parameter is slightly changed by temperature, driving voltage and material Note 2: The data are measured after LEDs are turned on for 5 minutes. LCM displays full white. The brightness is the average value of 9 measured spots. Measurement equipment PR‐705 (Φ8mm) Measuring condition: - Measuring surroundings: Dark room. - Measuring temperature: Ta=25℃. Adjust operating voltage to get optimum contrast at the center of the display. Measured value at the center point of LCD panel after more than 5 minutes while backlight turned on.
Copyright © Bridgetek Pte Ltd 14 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
5 Board Schematics
Figure 7 - RP2040 MCU Schematic Figure 8 – BT817Q and LCD Schematic D D C C B B A A Br idgetek Pte Ltd.
178 Paya Lebar Road
#07-03 Singapore 409030 http://www.brtchip.com7 IDM2040-7A 22/11/2021 12:59:47 pm HB_ 062_IDM2040-7A_RP 2040.SchDoc Title Size: Numbe r: Date: Revision: Sheet ofTim e: A4 1.1 RP2040 HB_ 062 File: GPIO29_ADC 3 USB_DX_N USB_DX_P QSPI_SD3 QSPI_SCLK QSPI_SD0 QSPI_SD2 QSPI_SD1 QSPI_SS XIN XOUT GPIO25 ADC _AVD D SWCLK SWDIO ADC _VR EF GPIO29_ADC3 USB_D_P USB_D_N 1V1 VCC3V3 VCC3V3 VCC3V3 1V1 VCC3V3 1V1 VCC3V3 VSY S VCC3V3 VCC3V3 VCC3V3 ADC cu rre nt = 150uA Fo r best perf orman ce use ex te rn al 3. 0V shunt ref (e .g . LM404 0) Fo r lo wer off set (at expense of noi se) connec t VREF to 3V3 with lo wer r es is tan ce ADC GPIO pi ns have diod e to VDDIO (ot her GPI O do not) FET st ops lea kag e th rou gh ADC3 pin di ode i nt o 3V3 net when 3V3 su pply is off (V SYS pre sen t but 3V3_EN low) BOOTSEL Di sa bl e Fla sh boot (f or ce s USB boot ) LED GND C21 0.1uF C64 100pF GND VOUT=0.8*( Ru+ Rd)/Rd = 0.8*(157K+30K )/30K = 5V C66 22uF C67 22uF GPIO24 USB Type -C GND GND A1 VBUS A4 CC1 A5 DP1 A6 DN1 A7 SBU1 A8 VBUS A9 GND A12GND B1 VBUS B4 CC2 B5 DP2 B6 DN2 B7 SBU2 B8 VBUS B9 GND B12 S HIE LDS HIE LDS HIE LDS HIE LD CN1 3A CN_ USB_C_VERT USB _ C_ PI CO VCC24 V VBUS USB_D_P USB_D_N (Ma x 500mA) VSY S C35 0.1uF VBUS GPIO23 C3A 1nF QSP I_SD3QSPI_SD1 QSPI_SS QSP I_SCLK QSP I_SD0 QSPI_SD2 D2A GREEN VCC3V3 I2C0_SCL I2C0_SDA VCC3V3 GND GND GND GND GND XIN XOUT XR Q1A DMG 1012T-7 SW1A TP-1221U-K9 K5325 D1A MB R120VLSFT1G IOVDD1 EP/GND 57 RP2040 GPI O02 GPI O13 GPI O24 GPI O35 GPI O46 GPI O57 GPI O68 GPI O79 GPI O811 GPI O912 GPI O1 013 GPI O1 114 G P IO 1215 G P IO 1316 G P IO 1417 G P IO 1518 G P IO 1627 G P IO 1728 GPI O1 8 29GPI O1 9 30GPI O2 0 31GPI O2 1 32 GPI O2 2 34GPI O2 3 35GPI O2 4 36GPI O2 5 37GPI O2 6 /ADC0 38GPI O2 7 /ADC1 39GPI O2 8 /ADC2 40GPI O2 9 /ADC3 41 IOVDD10 IO VDD22 IO VDD 49 IOVDD 33 IOVDD 42 TE S TE N19 XIN20 XO UT21 DVDD23 S WC LK24 S WDIO25 R UN26 ADC _AVDD 43VR E G _VIN 44VRE G _VO UT 45USB_ DM 46US B_DP 47US B_VDD 48 DVDD 50QS P I_S D3 51QS P I_S C LK 52QS P I_S D0 53QS P I_S D2 54QS P I_S D1 55QS P I_S S _N 56U1A SC0908 CC11 CC22 PORT3 VBUS_DET4 ADR/CON_DET5 INTB/OUT36 SDA/OUT1 7SCL /OUT2 8ID 9GND 10EXT_SEL 11VDD 12 PTN5150A GND GND SPI1_CS1# SPI1_MISO SPI1_MO SI SPI1_SCK EVE_PD# UART0_RXD UART0_TXD UART1_RXD UART1_TXD SPI1_CS2# I2C0_SDA I2C1_SCL I2C1_SDA GPIO26_ADC 0 RESET# CARD _DE T# I2C0_SCL UART1_DEGPIO2 GPIO3 GPIO4 GPIO5 GPIO6 GPIO14 GPIO15 GPIO24 GPIO25 INTB 10uH INTB GPIO23 IN1 GND2 EN3 /OC 4 OUT 5 U11 BD2220G-TR 12.0000MH z C16A 18pF C17A 18pF C69 150uFR92 5.1K R95 5.1K C70 0.1uF R89 10K R87 10K C68 0.1uF C15A 0.1uF C4A 0.1uF C 5A 0.1uF C8A 0.1uF C9A 0.1uF C6A 0.1uF C7A 0.1uF C10A 0.1uF C11A 0.1uF R94 10K R99 10K R85 30K R71 20K R10A 10K R1A 5K6 R11A CS1 DO(I O1)2 W P( IO2 )3 GND4 DI(IO0 ) 5CLK 6HOLD/RESET(I O3 ) 7VCC 8 U3A W25Q64JVS SIM C18A 2.2uF R6A 100K R5A 200K R3A 470R R14A R93 33R C12A 2.2uF C14A 2.2uF C13A 2.2uF R9A R7A 200R G ND4 SW 5 VIN3 FB 1 BST 6 EN2 U11A AP63201WU-7 R73 158K R12A 27R R13A 27R R72 95.3K R75 32.4K RJU003N0 3T106 UART1_POL Wi th USB Ho st: R92 , R95 Not fitted . Rest fit ted. Wi thou t USB Ho st: R92 , R95 fitted . Rest not fitted.
Copyright © Bridgetek Pte Ltd 17 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
6 Mechanical Dimensions
6.1 IDM2040-7A Board PCB Dimensions
All units are in millimeters (mm). Figure 13 – IDM2040-7A Board PCB Dimensions (Top View)
Copyright © Bridgetek Pte Ltd 18 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
7 Hardware Setup Information
7.1 Power Delivery Setup
Download EEPROM Programming Utility FT_PROG from https://ftdichip.com/utilities/, then install FT_PROG on the PC. Make sure jumper W1 is shorted on the board. Use a USB cable connect CN13 type C port to PC. Run FT_PROG, click Scan and Parse button to find the device. Click PDO Configuration and fill in the power deliver voltage and current in BM PDO Sink table. The last setting will effect output, for Figure 14, the power delivery will be 20V/3A. Figure 14 – Power Delivery Setting Use a type C to type C USB cable connect the power charger USB port to CN12 type C port on the board, U7, FT232HPQ will negotiate with the power charger and request to deliver 20/3A as configured in the above setting. PIN 1 of CN16 and PIN4, PIN5 of CN17 will output 20V, current output maximum 3A. Recommend power charger: Brand: UG Green Model: CD224 Brand: Wiredix Model: WD-PD65AC
Copyright © Bridgetek Pte Ltd 19 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
7.2 Control DMX512 Device Network
Use a standard RJ45 cable connect CN17 to the RJ45 port of DMX512 device. UART1 baud rate set at 250000 bits/s. When sending a command to a DMX512 device, set UART1_POL (GP16) to logic high to switch the output polarity to match with the polarity of RJ45 port of DMX512 device. Figure 15 – RS-485 Transceiver with Polarity Control Figure 16 – IDM2040-7A Module Connection to DMX512 Device A/Y B/Z VOUT GND GND GND DC24V UART1_RXD UART1_TXD UART1_DE A/Y2 5V3 B/Z1 24V4 24V5 GND7 GND8 SHLD 9 5V6 CN17 RJ45 VERT VCC3V3 R78 120R D10 PMEG3030BEP,115 D11 PMEG3030BEP,115 C63 0.1uF VCC24V RO1 POL2 DE3 DI4 GND 5 A 6 B 7 VCC 8 U14 MAX33072E UART1_POL
Copyright © Bridgetek Pte Ltd 20 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
7.3 Control LDSBus Sensor Network
Using a standard RJ45 cable, connect CN17 to the RJ45 port of the Bridgetek HVT and connect an LDSBus sensor such as the 4 in 1 sensor etc. UART1 baud rate set at 230400 bits/s. Figure 17 – IDM2040-7A Module Connection to LDSBus Sensor
Copyright © Bridgetek Pte Ltd 21 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
8 Software Setup Information
The RP2040 microcontroller can be programmed using C/C++, MicroPython or CircuitPython.
8.1 C/C++ SDK Setup
For C/C++ development, it is need to install the following programs. Python 3.x ARM GCC compiler CMake Build Tools for Visual Studio 2019 (C++ build tools only) Visual Studio Code pico-sdk tools It is recommended to download one package of all the above tools from here to install them. Raspberry Pi PICO/RP2040 C/C++ SDK document can be downloaded here. Raspberry Pi PICO/RP2040 C/C++ examples can be downloaded here. Raspberry Pi PICO/RP2040 C/C++ API Document is here. Download and install EVE Screen Designer ( ESD) version 4.14.0 or above from https://brtchip.com/ic-module/toolchains/. Open ESD tools and Run one example from C :\\Users\\Public\\Documents\\EVE Screen Designer\\Examples\\Advanced\\AdvancedWidgetsDemo\\AdvancedWidgetsDemo.esd, with the settings as shown below. Users need to change the build target to IDM2040EV-7A via the toolbar button: Figure 18 – Run AdvancedWidgetsDemo ESD Example Code
Copyright © Bridgetek Pte Ltd 22 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Click Build ->Build and Upgrade Hardware, it will compile the code and generate the AdvancedWidgetsDemo.UF2 file. Push and hold SW1A BOOTSEL button on the board, then connect CN13A to your computer using a USB cable. Release BOOTSEL once the drive RTPI -RP2 appears on your computer, Drag and drop the UF2 file on the RPI-RP2 drive. After reset, just press the 3 calibration dots and the following display will appear on the LCD. Figure 19 – Run AdvancedWidgetsDemo Example Code
8.2 MicroPython SDK Setup
Download the MicroPython UF2 file from MicroPython. Push and hold SW1A BOOTSEL button on the board, then connect your computer using a type C USB cable. Release BOOTSEL once the drive RTPI-RP2 appears on your computer Drag and drop the UF2 file on the RPI-RP2 drive. The RP2040 will reboot and will now run MicroPython. Download and install Thonny for your computer. Connect the board to your computer and in Thonny go to Tools>Options and click on the interpreter tab. From the inter preter dropdown lis t select MicroPython (Raspberry Pi PICO). Choose port ”USB Serial Device (COMX)”. Figure 7-1 shows the Micropython and Thonny in ready status.
Copyright © Bridgetek Pte Ltd 23 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Figure 20 – MicroPython with Thonny in READY status Raspberry Pi PICO/RP2040 MicroPython SDK document can be downloaded from here. Raspberry Pi PICO MicroPython examples can be downloaded from here. Blink D2A example code is from machine import Pin import utime led = Pin(25,Pin.OUT) while True: led.value(1) utime.sleep(1) led.value(0) utime.sleep(1)
8.3 Circuitpython SDK Setup
Download the CircuitPython UF2 file from CircuitPython. Push and hold SW1A BOOTSEL button on the board, then connect your computer using a type C USB cable. Release BootSEL once the drive RTPI-RP2 appears on your computer Drag and drop the UF2 file on the RPI -RP2 drive. The RP2040 will reboot and the drive CIRCUITPY appears on your computer. Download and install Thonny or Mu for your computer, recommend to install Mu editor for CircuitPython application. Connect the board to your computer and Run Mu, s elect RP2040, the MU with CircuitPython is ready to use.
Copyright © Bridgetek Pte Ltd 24 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Figure 21 – Install Mu Editor Blink D2A example code is import time import board import digitalio led = digitalio.DigitalInOut(board.GP25) led.direction = digitalio.Direction.OUTPUT while True: led.value = True time.sleep(1) led.value = False time.sleep(1)
8.4 Bridgetek CircuitPython SDK Setup
Below is the link which prov ides the sample code & libraries to run the EVE module in CircuitPython. o pico-bteve github link Visit BRT’s website at https://brtchip.com/eve/ for more information regarding the EVE module & its toolchain.
Copyright © Bridgetek Pte Ltd 25 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
9 Disclaimer Notice: Use of Third -Party Software or
We may recommend use of software or web sites that are owned or operated by other companies. We offer or facilitate this recommendation by hyperlinks or other methods to aid your access to the third-party resource. While we endeavour to direct you to helpful, trustworthy resources, we cannot endorse, approve, or guarantee software, information, products, or services provided by or at a third-party resource or track changes in the resource. Thus, we are not responsible for the content or accuracy of any third -party resource or for any loss or damage of any sort resulting from the use of, or for any failure of, products or services provided at or from a third party resource. We recommend these resources on an “as is” basis. When you use a third party resource, you will be subject to its terms and licenses and no longer be protected by our privacy policy or security practices, which may differ from the third policy or practices or other terms. You should familiarize yourself with any license or use terms of, and the privacy policy and security practices of, the third party resource, which will govern your use of that resource.
Copyright © Bridgetek Pte Ltd 26 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191
10 Contact Information
Head Quarters – Singapore Branch Office – Taipei, Taiwan Bridgetek Pte Ltd
178 Paya Lebar Road, #07-03
Tel: +65 6547 4827 Fax: +65 6841 6071 Bridgetek Pte Ltd, Taiwan Branch 2 Floor, No. 516, Sec. 1, Nei Hu Road, Nei Hu District Taipei 114 Taiwan, R.O.C. Tel: +886 (2) 8797 5691 Fax: +886 (2) 8751 9737 E-mail (Sales) sales.apac@brtchip.com E-mail (Sales) sales.apac@brtchip.com E-mail (Support) support.apac@brtchip.com E-mail (Support) support.apac@brtchip.com Branch Office - Glasgow, United Kingdom Branch Office – Vietnam Bridgetek Pte. Ltd. Unit 1, 2 Seaward Place, Centurion Business Park Glasgow G41 1HH United Kingdom Tel: +44 (0) 141 429 2777 Fax: +44 (0) 141 429 2758 Bridgetek VietNam Company Limited Lutaco Tower Building, 5th Floor, 173A Nguyen Van Troi, Ward 11, Phu Nhuan District, Ho Chi Minh City, Vietnam Tel : 08 38453222 Fax : 08 38455222 E-mail (Sales) sales.emea@brtichip.com E-mail (Sales) sales.apac@brtchip.com E-mail (Support) support.emea@brtchip.com E-mail (Support) support.apac@brtchip.com Web Site http://brtchip.com/ Distributor and Sales Representatives Please visit the Sales Network page of the Bridgetek Web site for the contact details of our distributor(s) and sales representative(s) in your country. System and equipment manufacturers and designers are responsible to ensure that their systems, and any Bridgetek Pte Ltd (BRTChip) devices incorporated in their systems, meet all applicable safety, regulatory and system -level performance requirements. All appl ication-related information in this document (including application descriptions, suggested Bridgetek devices and other materials) is provided for reference only. While Bridgetek has taken care to assure it is accurate, this information is subject to custo mer confirmation, and Bridgetek disclaims all liability for system designs and for any applications assistance provided by Bridgetek. Use of Bridgetek devices in life support and/or safety applications is entirel y at the user’s risk, and the user agrees to defend, indemnify and hold harmless Bridgetek from any and all damages, claims, suits or expense resulting from such use. This document is subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Neither the whole nor any part of the information contained in, or the product described in this document, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright hold er. Bridgetek Pte Ltd, 178 Paya Lebar Road, #07 -03, Singapore 409030. Singapore Registered Company Number: 201542387H.
Copyright © Bridgetek Pte Ltd 27 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Appendix A – References Document References BT817 Datasheet FT232HP Datasheet RP2040 Datasheet Acronyms and Abbreviations Terms Description DC Direct Current EVE Embedded Video Engine IC Integrated Circuit I2C Inter-Integrated Circuit LDSBus Long Distance Sensor Bus MCU Micro Controller Unit PD Power Delivery PWM Pulse Width Modulation SPI Serial Peripheral Interface SWD Serial Wire Debug TTL Transistor-transistor Logic USB Universal Serial Bus UART Universal Asynchronous Receiver-Transmitter
Copyright © Bridgetek Pte Ltd 29 IDM2040-7A Datasheet Version 1.0 Document Reference No.: BRT_000393 Clearance No.: BRT#191 Appendix C – Revision History Document Title: IDM2040-7A Datasheet Document Reference No.: BRT_000393 Clearance No.: BRT#191 Product Page: https://brtchip.com/ic-module/product-category/products/ Document Feedback: Send Feedback Revision Changes Date Version 1.0 Initial Release 03-03-2022