2017-08-29 13:20:29 +00:00
|
|
|
# TREZOR Core Hardware
|
|
|
|
|
|
|
|
## TREZOR v2 Open Source Hardware Reference Documentation
|
|
|
|
|
|
|
|
### Photo Front
|
|
|
|
TODO
|
|
|
|
|
|
|
|
### Photo Back
|
|
|
|
TODO
|
|
|
|
|
|
|
|
### Bill of Materials / BOM
|
|
|
|
TODO
|
|
|
|
|
|
|
|
### Eagle Schematic
|
|
|
|
TODO
|
|
|
|
|
|
|
|
### Eagle Board
|
|
|
|
TODO
|
|
|
|
|
|
|
|
## Developer Kit
|
|
|
|
|
2017-10-14 10:26:34 +00:00
|
|
|
* 1 x [STM32F429I-DISC1](http://www.st.com/en/evaluation-tools/32f429idiscovery.html)
|
2017-08-29 13:20:29 +00:00
|
|
|
* 1 x USB Cable Type A Plug/Male to Type Mini-B Plug/Male
|
2017-09-05 20:21:53 +00:00
|
|
|
* 1 x USB Cable Type A Plug/Male to Type Micro-B Plug/Male
|
2017-09-27 16:39:56 +00:00
|
|
|
* 1 x [ER-TFTM028-4 Display + Capacitive Touch Panel Module](http://www.ebay.com/itm/302049581340) (Note: specify 40-Pin Header, 8080 8-bit Parallel, VDD=3.3V, Capacitive Touch Panel)
|
|
|
|
* 1 x [microSD Board](https://www.waveshare.com/product/modules/storage/sd-tf-storage/micro-sd-storage-board.htm)
|
2017-10-14 10:26:34 +00:00
|
|
|
* 27 x Female to female jumper wires with 0.1" header contacts
|
2017-08-29 13:20:29 +00:00
|
|
|
|
|
|
|
#### Display
|
2017-09-27 16:39:56 +00:00
|
|
|
|
2017-08-29 13:20:29 +00:00
|
|
|
* Resolution: 240px x 240px -OR- 240px x 320px
|
|
|
|
* Driver IC: ST7789V or ILI9341V (on-chip display data RAM of 240x320x18 bits)
|
|
|
|
* 18-bit (262,144) RGB color graphic type TFT-LCD
|
|
|
|
* Bus/Interface: 8-bit parallel
|
|
|
|
|
|
|
|
##### Pinout
|
|
|
|
|
2017-09-05 20:21:53 +00:00
|
|
|
|Description|MCU Pin|Notes|
|
|
|
|
|-----------|-------|-----|
|
2017-10-14 10:26:34 +00:00
|
|
|
|LCD_RST|PC14|display module pin 21|
|
2017-09-05 20:21:53 +00:00
|
|
|
|LCD_FMARK|PD12|tearing effect input|
|
2017-10-14 10:26:34 +00:00
|
|
|
|LCD_PWM|PA7|backlight control (brightness); display module pin 29|
|
|
|
|
|LCD_CS|PD7|display module pin 23|
|
|
|
|
|LCD_RS|PD11|register select aka command/data; display module pin 24|
|
|
|
|
|LCD_RD|PD4|display module pin 26|
|
|
|
|
|LCD_WR|PD5|display module pin 25|
|
|
|
|
|LCD_D0|PD14|display module pin 3|
|
|
|
|
|LCD_D1|PD15|display module pin 4|
|
|
|
|
|LCD_D2|PD0|display module pin 5|
|
|
|
|
|LCD_D3|PD1|display module pin 6|
|
|
|
|
|LCD_D4|PE7|display module pin 7|
|
|
|
|
|LCD_D5|PE8|display module pin 8|
|
|
|
|
|LCD_D6|PE9|display module pin 9|
|
|
|
|
|LCD_D7|PE10|display module pin 10|
|
2017-08-29 13:20:29 +00:00
|
|
|
|
|
|
|
#### Capacitive Touch Panel / Sensor
|
2017-09-27 16:39:56 +00:00
|
|
|
|
2017-08-29 13:20:29 +00:00
|
|
|
* Bus/Interface: I2C
|
2017-10-11 10:50:10 +00:00
|
|
|
* Driver IC: FT6206
|
2017-08-29 13:20:29 +00:00
|
|
|
* single touch
|
|
|
|
|
|
|
|
##### Pinout
|
|
|
|
|
2017-10-14 10:26:34 +00:00
|
|
|
|Description|MCU Pin|Notes|
|
|
|
|
|-----------|-------|-----|
|
|
|
|
|I2C1_SCL|PB6|display module pin 30|
|
|
|
|
|I2C1_SDA|PB7|display module pin 31|
|
2017-08-29 13:20:29 +00:00
|
|
|
|
|
|
|
#### microSD Socket
|
2017-09-27 16:39:56 +00:00
|
|
|
|
2017-08-29 13:20:29 +00:00
|
|
|
* Bus/Interface: 4-bit
|
|
|
|
|
|
|
|
##### Pinout
|
|
|
|
|
|
|
|
|Description|MCU Pin|
|
|
|
|
|-----------|-------|
|
|
|
|
|SDIO_D0|PC8|
|
|
|
|
|SDIO_D1|PC9|
|
|
|
|
|SDIO_D2|PC10|
|
|
|
|
|SDIO_D3|PC11|
|
|
|
|
|SDIO_CK|PC12|
|
|
|
|
|SDIO_CMD|PD2|
|
|
|
|
|SD_CARDDETECT|PC13|
|
|
|
|
|
|
|
|
#### USB Socket
|
|
|
|
|
2017-10-11 10:50:10 +00:00
|
|
|
* USB HS (high-speed) peripheral in FS (full-speed) mode
|
2017-09-27 16:39:56 +00:00
|
|
|
|
2017-08-29 13:20:29 +00:00
|
|
|
##### Pinout
|
|
|
|
|
|
|
|
|Description|MCU Pin|
|
|
|
|
|-----------|-------|
|
2017-10-11 10:50:10 +00:00
|
|
|
|OTG_HS_VBUS|PB13|
|
|
|
|
|OTG_HS_ID|PB12|
|
|
|
|
|OTG_HS_DM|PB14|
|
|
|
|
|OTG_HS_DP|PB15|
|
2017-08-29 13:20:29 +00:00
|
|
|
|
|
|
|
#### Dev Board
|
2017-09-27 16:39:56 +00:00
|
|
|
|
2017-10-14 10:26:34 +00:00
|
|
|
* [STM32F429ZIT6](http://www.st.com/en/microcontrollers/stm32f429zi.html)
|
2017-08-29 13:20:29 +00:00
|
|
|
* HSE / High-Speed External Crystal: 8 MHz
|
2017-09-05 20:21:53 +00:00
|
|
|
* Integrated STMicroelectronics ST-LINK/V2.1 debugger
|
2017-08-29 13:20:29 +00:00
|
|
|
|
2017-09-27 16:39:56 +00:00
|
|
|
Minimum MCU requirements:
|
2017-10-14 10:26:34 +00:00
|
|
|
* STM32F4 family [STM32F427VIT6](http://www.st.com/en/microcontrollers/stm32f427vi.html)
|
2017-09-27 16:39:56 +00:00
|
|
|
* 168 MHz, 8 MHz HSE
|
2017-10-14 10:26:34 +00:00
|
|
|
* 2048 KB Flash memory
|
|
|
|
* 192 KB SRAM
|
2017-09-27 16:39:56 +00:00
|
|
|
* 64 KB CCMRAM
|
|
|
|
* FSMC controller
|
|
|
|
* TRNG
|
|
|
|
|
2017-10-14 10:26:34 +00:00
|
|
|
#### Clock Tree
|
|
|
|
|
|
|
|
![Clock Tree](clock-tree.png)
|
|
|
|
|