This repository has been archived by the owner on Nov 3, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
stm32f4_discovery.json
144 lines (144 loc) · 4.84 KB
/
stm32f4_discovery.json
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
{
"menu-platform": {
"config-name": "STM32",
"menu-stm32": {
"config-device": "STM32F407VG",
"menu-clock": {
"config-source": "HSE",
"config-speed": "8000000"
},
"config-console": "USART3",
"menu-uart": {
"table-uart": [
"USART3"
],
"menu-USART3": {
"config-baud": 115200
}
},
"menu-pins": {
"table-pins": [
"PD8",
"PD9",
"PC7",
"PC10",
"PC12",
"PA4",
"PB6",
"PB9",
"PD4"
],
"menu-PD8": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-comment": "Console UART pin",
"config-afsel": "AF7: USART3_TX",
"config-speed": 25
},
"menu-PD9": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-comment": "Console UART pin",
"config-afsel": "AF7: USART3_RX",
"config-speed": 25
},
"menu-PC7": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-speed": 50,
"config-afsel": "AF6: I2S3_MCK"
},
"menu-PC10": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-speed": 50,
"config-afsel": "AF6: SPI3_SCK//I2S3_CK"
},
"menu-PC12": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-speed": 50,
"config-afsel": "AF6: SPI3_MOSI/I2S3_SD"
},
"menu-PA4": {
"config-mode": "af",
"config-pull": "no",
"config-type": "push-pull",
"config-speed": 50,
"config-afsel": "AF6: SPI3_NSS/I2S3_WS"
},
"menu-PB6": {
"config-mode": "af",
"config-pull": "no",
"config-type": "open drain",
"config-speed": 50,
"config-afsel": "AF4: I2C1_SCL"
},
"menu-PB9": {
"config-mode": "af",
"config-pull": "no",
"config-type": "open drain",
"config-speed": 50,
"config-afsel": "AF4: I2C1_SDA"
},
"menu-PD4": {
"config-mode": "output",
"config-pull": "no",
"config-type": "push-pull",
"config-speed": 50,
"config-comment": "CS43L22 RST"
}
},
"menu-timer": {
"config-source": "systick",
"config-freq": "100",
"config-owner": "user"
},
"menu-i2c": {
"table-i2c": [
"I2C1"
],
"menu-I2C1": {
"config-mode": "IRQ",
"config-speed": "1000",
"config-duty-cycle": "2/1",
"config-ack": true,
"config-ack-addr-bit": 7,
"config-own-address": "0x51",
"config-comment": "CS43L22 I2C"
}
},
"menu-spi-i2s": {
"table-i2s": [
"I2S3"
],
"menu-I2S3": {
"config-standard": "phillips",
"config-master-clk": true,
"config-data-bits": 16,
"config-audio-freq": 8,
"config-cpol": 1,
"config-tx-dma-descriptor": "DMA1 Stream5 Channel0",
"config-rx-dma-descriptor": "DMA1 Stream0 Channel0"
}
}
}
},
"menu-dev": {
"menu-cs43l22": {
"table-cs43l22-dev": [
"cs43l22_instance"
],
"menu-cs43l22_instance": {
"config-i2s": "I2S3",
"config-i2c": "I2C1",
"config-rst": "PD4"
}
}
}
}