add wiki pages

This commit is contained in:
aanper
2020-08-15 09:57:12 +03:00
parent 7951fcc1ae
commit cbfc5fad53
25 changed files with 909 additions and 0 deletions

View File

@@ -0,0 +1,90 @@
### Display
* Monochrome LCD
* Resolution: 128х64px
* Diagonal: 1.4”
* Orange LED backlight
### LED
RGB LED
### Control
* 5-button joystick
* Back button
* Reboot — Back+Left buttons for 2 seconds
### MCU
* ARM® Cortex®-M4
* 64 MHz
* 1MB (1M x 8) FLASH
### Sub-1 GHz Range
* СС1101
* TX/RX
* Frequency: 433/434/315/868 Mhz
* Modulation: ASK/FSK
### USB
* 1x USB 2.0 port, type C
* USB device
* Charging
### GPIO
* 0.65mm Female Header Connectors with 2.54 pitch
* x12+ — Data pins / 5V tolerant
* 2x — GND
* 1x — 3.3V
* 1x — 5V
### 125 khz RFID
* Supported protocols: EM-4100, HID Prox
* Operate modes: Reader/Writer/Emulator
### iButton 1-Wire
* Supported protocols: Dallas DS1990A, Cyphral, Metakom
* Operate modes: Reader/Writer/Emulator
### InfraRed
* Supported frequency: 36-40 kHz
* Operate modes: Reader/Emulator
### Bluetooth
* Bluetooth Low Energy 4.0+
* STM32WB55
### NFC
* Supported protocols: Mifare
* Operate modes: Reader/Emulator/Sniffer
### Vibro
* Type: Coin motor
* RPM: ≥10000
### Speaker
* Type: Coin
### Power and battery
* Built-in not removable lithiumion battery 2000mAh
* USB charging 5V, 500-2000mA
* ≥10 days standby
### Physical
* Materials: PC
* Weight: <200g
* Size: ~98х40х22mm
* Operating temperature: 0 ~ 50 °C

View File

@@ -0,0 +1,20 @@
[Device schematic (pdf)](https://github.com/Flipper-Zero/wiki/raw/master/Flipper_zero_rev_1_0.pdf)
## Errata
* NAND reset IC drive reset net by push-pull output may cause MCU fault and disable internal MCU reset feature.
* System going to boot-loop state when reset by reset circuit
* No series resistors on external gpio for protecting MCU
* Wrong value LED series resistor
* Wrong footprint for CMOS transistors
* Wrong value IR TX series resistor
* No need capacitor on IR RX
* Wrong value IR RX pullup resistor
* 125 kHz RFID + iButton wrong schematic
* It seems bad to place main VCC on external GPIO pins. Overcurrent can damage main regulator and cause device broken. User can apply wrong voltage on this pin.
### New RFID + iButton schematic
after many experiments we found good schematic solution for work with RFID and auxiliary follow iButton level (for non-TTL protocol like Cyphral)
![new RFID + iButton schematic](https://github.com/Flipper-Zero/wiki/raw/master/images/new-rfid-ibutton-sch.png)

View File

@@ -0,0 +1,76 @@
* Firmware target: F2
* Body version: no body
* Interconnection version: 1
# Pinout:
| Pin | Mode | Define | Description |
|-|-|-|-|
| PC13 | EXTI13 | BUTTON_BACK | Button |
| PC14 | RCC_OSC32_IN | | 32768 kHz XTAL |
| PC15 | RCC_OSC32_OUT | | 32768 kHz XTAL |
| PH0 | RCC_OSC_IN | | 16 MHz XTAL |
| PH1 | RCC_OSC_OUT | | 16 MHz XTAL |
| PC0 | GPIO_Analog | | External GPIO |
| PC1 | GPIO_Analog | | External GPIO |
| PC2 | EXTI2 | CHRG | Charge state |
| PC3 | ADC1_IN4 | BATT_V | Battery voltage |
| PA0 | ADC1_IN5 | IR_RX | Infrared receiver |
| PA1 | EXTI1 | BUTTON_DOWN | Button |
| PA2 | GPIO_Output | DISPLAY_DI | Display |
| PA3 | TIM5_CH4 | SPEAKER | |
| PA4 | GPIO_Analog | | External GPIO |
| PA5 | GPIO_Analog | | External GPIO |
| PA6 | GPIO_Analog | | External GPIO |
| PA7 | GPIO_Analog | | External GPIO |
| PC4 | GPIO_Output | NFC_CS | NFC SPI CS |
| PC5 | COMP1_INP | RFID_RF_IN | 125 kHz RFID RX, contact keys analog input (for Cyfral/metakom) |
| PB0 | EXTI0 | BUTTON_UP | Button |
| PB1 | GPIO_Output | LED_BLUE | Led |
| PB2 | GPIO_Analog | | External GPIO |
| PB10 | GPIO_Output | DISPLAY_RST | Display |
| PB11 | GPIO_Output | IR_TX | Infrared transmit |
| PB12 | GPIO_Analog | | External GPIO |
| PB13 | TIM15_CH1N | RFID_OUT | RFID 125 kHz read master tone/write TX |
| PB14 | GPIO_Output | LED_GREEN | Led |
| PB15 | TIM15_CH2 | RFID_PULL | RFID 125 kHz write/emulate pulling | NFC IRQ |
| PC6 | GPIO_Output | VIBRO | |
| PC7 | TIM8_CH2 | iButton | contact key |
| PC8 | GPIO_Output | DISPLAY_CS | Dispay |
| PC9 | GPIO_Output | SD_CS | microSD card SD |
| PA8 | GPIO_Output | LED_RED | Led |
| PA9 | USART1_TX | | External GPIO/USART TX |
| PA10 | USART1_RX | | External GPIO/USART RX |
| PA11 | USB_OTG_FS_DM | | USB |
| PA12 | USB_OTG_FS_DP | | USB |
| PA13 | SWDIO | | External GPIO/SWDIO |
| PA14 | SWCLK | | External GPIO/SWDCLK |
| PA15 | GPIO_Output | CC1101_CS | CC1101 CS |
| PC10 | SPI3_SCK | | SD/CC1101/NFC SPI |
| PC11 | SPI3_MISO | | SD/CC1101/NFC SPI |
| PC12 | SPI3_MOSI | | SD/CC1101/NFC SPI |
| PD2 | GPIO_Analog | | External GPIO |
| PB3 | SPI1_SCK | | Display |
| PB4 | EXTI4 | BUTTON_LEFT | Button |
| PB5 | SPI1_MOSI | | Display |
| PB6 | GPIO_Output | DISPLAY_BACKLIGHT | |
| PB7 | GPIO_Input | CC1101_G0 | |
| PB8 | EXTI8 | BUTTON_RIGHT | Button |
| PB9 | EXTI9 | BUTTON_OK | Button |
# External GPIO
| Pin | | | | | |
|-|-|-|-|-|-|
| PC0 | GPIO | LPUART RX | ADC1/2/3-1 | I²C SCL | |
| PC1 | GPIO | LPUART TX | ADC1/2/3-2 | I²C SDA | |
| PA4 | GPIO | DAC1-1 | ADC1/2-9 | SPI1 NSS | |
| PA5 | GPIO | DAC1-2 | ADC1/2-10 | SPI1 SCK | TIM2/8 OUT |
| PA6 | GPIO | | ADC1/2-11 | SPI1 MISO | TIM3/16 OUT |
| PA7 | GPIO | | ADC1/2-12 | SPI1 MOSI | TIM1/2/8/17 OUT |
| PB2 | GPIO | | | | RTC Alarm |
| PB12 | GPIO | | | | |
| PA9 | GPIO | USART1 TX | | | |
| PA10 | GPIO | USART1 RX | | | |
| PA13 | GPIO | SWDIO | | | |
| PA14 | GPIO | SWCLK | | | |
| PD2 | GPIO | UART5 RX | | | |