forked from semerad/gt3b
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HWINFO.txt
44 lines (40 loc) · 1.43 KB
/
HWINFO.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
microcontroller: STM8S105K6T6C LQFP32, crystal 18.432 MHz
at my unit is written STM8S105K4T6C, but it has 32KB so
this must be wrong sign
crystal frequency 18.432 MHz is more then max specified
for this microcontroller (16Mhz) and is good for UART
to get exact frequencies, but UART is not used at this
radio
LCD driver: HOLTEK HT1621B
encoder: 30 ticks/360deg
processor pinout (i-input/o-output, f-floating/o-opencollector/p-push_pull, f-fast):
PB0 if AIN0 steering
PB1 if AIN1 throttle
PB2 if AIN2 CH3 button, resistor 1K to +5V
PB3 if AIN3 battery voltage (3:1 divider)
PB4 oof button row B4
PB5 oof button row B5
PC1 if TIM1_CH1 - rotate encoder
PC2 if TIM1_CH2 - rotate encoder
PC3 opf CS/ to LCD controller
PC4 oof button row C4
PC5 ip button col C5
PC6 ip button col C6
PC7 ip button col C7
PD0 op PPM signal
PD2 op LCD backlight
PD3 oof button row D3
PD4 op buzzer
PE5 op DATA to LCD controller
PF4 op WR/ to LCD controller
-----
PD1 SWIM
PD5 ? UART TX
PD6 ? UART RX
PD7 ?
buttons matrix:
C5 C6 C7
B4 TrimSteerLeft TrimCh3_Minus End
B5 TrimSteerRight TrimCh3_Plus Back
D3 TrimThrotFwd DR_Plus
C4 TrimThrotBack DR_Minus Enter