summaryrefslogtreecommitdiff
path: root/platforms/stm32/wb.yaml
blob: 5fdb127756b2ec338901ab5ae97cba6df24b7640 (plain)
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
- match:
    mem: c
  mem:
    flash:
      origin: 0x08000000
      size: 256k

- match:
    mem: e
  mem:
    flash:
      origin: 0x08000000
      size: 512k

- match:
    mem: g
  mem:
    flash:
      origin: 0x08000000
      size: 1M

- mem:
    ram:
      origin: 0x20000000
      size: 192k
    ram_shared:
      origin: 0x20030000
      size: 10k

  periph:
    stm32_dma:
      DMA1:
        type: v1
        offset: 0x40020000
      DMA2:
        type: v1
        offset: 0x40020400

    stm32_dmamux:
      DMAMUX1:
        type: v1
        offset: 0x40020800

    stm32_exti:
      EXTI:
        type: wb
        offset: 0x58000800

    stm32_flash:
      FLASH:
        type: wb
        offset: 0x58004000

    stm32_gpio:
      GPIOA:
        offset: 0x48000000
      GPIOB:
        offset: 0x48000400
      GPIOC:
        offset: 0x48000800
      GPIOD:
        offset: 0x48000c00
      GPIOE:
        offset: 0x48001000

    stm32_hsem:
      HSEM:
        offset: 0x58001400

    stm32_ipcc:
      IPCC:
        offset: 0x58000c00

    stm32_pwr:
      PWR:
        type: wb
        offset: 0x58000400

    stm32_timer:
      TIM1:
        offset: 0x40012C00
      TIM2:
        offset: 0x40000000
      TIM16:
        offset: 0x40014400
      TIM17:
        offset: 0x40014800

    stm32_uart:
      USART1:
        type: v2
        offset: 0x40013800

    rcc:
      RCC:
        offset: 0x58000000
        type: wb
        bus:
          AHB1:
            DMA1: 0
            DMA2: 1
            DMAMUX1: 2
            CRC: 12
            TSC: 16

          AHB2:
            GPIOA: 0
            GPIOB: 1
            GPIOC: 2
            GPIOD: 3
            GPIOE: 4
            GPIOH: 7
            ADC1: 13
            AES1: 16

          AHB3:
            QUADSPI: 8
            PKA: 16
            AES2: 17
            RNG: 18
            HSEM: 19
            IPCC: 20
            FLASH: 25

          APB1_1:
            TIM2: 0
            LCD: 9
            RTCAPB: 10
            WWDG: 11
            SPI2: 14
            I2C1: 21
            I2C3: 23
            CRS: 24
            USB: 26
            LPTIM1: 31

          APB1_2:
            LPUART1: 0
            LPTIM2: 5

          APB2:
            TIM1: 11
            SPI1: 12
            USART1: 14
            TIM16: 17
            TIM17: 18
            SAI1: 21

          C2AHB1:
            C2DMA1: 0
            C2DMA2: 1
            C2DMAMUX1: 2
            C2SRAM1: 9
            C2CRC: 12
            C2TSC: 16

          C2AHB2:
            C2GPIOA: 0
            C2GPIOB: 1
            C2GPIOC: 2
            C2GPIOD: 3
            C2GPIOE: 4
            C2GPIOH: 7
            C2ADC1: 13
            C2AES1: 16

          C2AHB3:
            C2PKA: 16
            C2AES2: 17
            C2RNG: 18
            C2HSEM: 19
            C2IPCC: 20
            C2FLASH: 25

          C2APB1_1:
            C2TIM2: 0
            C2LCD: 9
            C2RTCAPB: 10
            C2SPI2: 14
            C2I2C1: 21
            C2I2C3: 23
            C2CRS: 24
            C2USB: 26
            C2LPTIM1: 31

          C2APB1_2:
            C2LPUART1: 0
            C2LPTIM2: 5

          C2APB2:
            C2TIM1: 11
            C2SPI1: 12
            C2USART1: 14
            C2TIM16: 17
            C2TIM17: 18
            C2SAI1: 21

          C2APB3:
            C2BLESM: 0
            C2802SM: 1

  interrupt:
    irq:
      0: WWDG
      1: PVD
      2: TAMP_STAMP
      3: RTC_WKUP
      4: FLASH
      5: RCC
      6: EXTI0
      7: EXTI1
      8: EXTI2
      9: EXTI3
      10: EXTI4
      11: DMA1_CH1
      12: DMA1_CH2
      13: DMA1_CH3
      14: DMA1_CH4
      15: DMA1_CH5
      16: DMA1_CH6
      17: DMA1_CH7
      18: ADC1
      19: USB_HP
      20: USB_LP
      21: C2SEV
      22: COMP
      23: EXTI9_5
      24: TIM1_BRK
      25: TIM1_UP_TIM16
      26: TIM1_TRG_COM_TIM17
      27: TIM1_CC
      28: TIM2
      29: PKA
      30: I2C1_EV
      31: I2C1_ER
      32: I2C3_EV
      33: I2C3_ER
      34: SPI1
      35: SPI2
      36: USART1
      37: LPUART1
      38: SAI1
      39: TSC
      40: EXTI15_10
      41: RTC_Alarm
      42: CRS_IT
      43: SOTF_BLEACT_802ACT_RFPHASE
      44: IPCC_C1_RX
      45: IPCC_C1_TX
      46: HSEM
      47: LPTIM1
      48: LPTIM2
      49: LCD
      50: QUADSPI
      51: AES1
      52: AES2
      53: TRNG
      54: FPU
      55: DMA2_CH1
      56: DMA2_CH2
      57: DMA2_CH3
      58: DMA2_CH4
      59: DMA2_CH5
      60: DMA2_CH6
      61: DMA2_CH7
      62: DMAMUX1_OVR

  define:
    - STM32WB

  meta:
    cpu: cortex-m4f