STM32H743xx.py 33 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249
  1. #!/usr/bin/env python
  2. '''
  3. these tables are generated from the STM32 datasheets for the STM32H743bi
  4. '''
  5. # additional build information for ChibiOS
  6. build = {
  7. "CHIBIOS_STARTUP_MK" : "os/common/startup/ARMCMx/compilers/GCC/mk/startup_stm32h7xx.mk",
  8. "CHIBIOS_PLATFORM_MK" : "os/hal/ports/STM32/STM32H7xx/platform.mk"
  9. }
  10. # MCU parameters
  11. mcu = {
  12. # location of MCU serial number
  13. 'UDID_START' : 0x1FF1E800,
  14. # ram map, as list of (address, size-kb, flags)
  15. # flags of 1 means DMA-capable (DMA and BDMA)
  16. # flags of 2 means faster memory for CPU intensive work
  17. # flags of 4 means memory can be used for SDMMC DMA
  18. 'RAM_MAP' : [
  19. (0x20000000, 128, 2), # DTCM, tightly coupled, no DMA, fast
  20. (0x30000000, 288, 0), # SRAM1, SRAM2, SRAM3
  21. (0x38000000, 64, 1), # SRAM4. This supports both DMA and BDMA ops
  22. (0x24000000, 512, 4), # AXI SRAM. Use this for SDMMC IDMA ops
  23. (0x00000400, 63, 2), # ITCM (first 1k removed, to keep address 0 unused)
  24. ]
  25. }
  26. pincount = {
  27. 'A': 16,
  28. 'B': 16,
  29. 'C': 16,
  30. 'D': 16,
  31. 'E': 16,
  32. 'F': 16,
  33. 'G': 16,
  34. 'H': 16,
  35. 'I': 16,
  36. 'J': 16,
  37. 'K': 16
  38. }
  39. # no DMA map as we will dynamically allocate DMA channels using the DMAMUX
  40. DMA_Map = None
  41. AltFunction_map = {
  42. # format is PIN:FUNCTION : AFNUM
  43. # extracted from tabula-AF-H743.csv
  44. "PA0:ETH_MII_CRS" : 11,
  45. "PA0:EVENT-OUT" : 15,
  46. "PA0:SAI2_SD_B" : 10,
  47. "PA0:SDMMC2_CMD" : 9,
  48. "PA0:TIM15_BKIN" : 4,
  49. "PA0:TIM2_CH1" : 1,
  50. "PA0:TIM2_ETR" : 1,
  51. "PA0:TIM5_CH1" : 2,
  52. "PA0:TIM8_ETR" : 3,
  53. "PA0:UART4_TX" : 8,
  54. "PA0:USART2_CTS_NSS" : 7,
  55. "PA1:ETH_MII_RX_CLK" : 11,
  56. "PA1:ETH_RMII_REF_CLK" : 11,
  57. "PA1:EVENT-OUT" : 15,
  58. "PA1:LCD_R2" : 14,
  59. "PA1:LPTIM3_OUT" : 3,
  60. "PA1:QUADSPI_BK1_IO3" : 9,
  61. "PA1:SAI2_MCK_B" : 10,
  62. "PA1:TIM15_CH1N" : 4,
  63. "PA1:TIM2_CH2" : 1,
  64. "PA1:TIM5_CH2" : 2,
  65. "PA1:UART4_RX" : 8,
  66. "PA1:USART2_RTS" : 7,
  67. "PA2:ETH_MDIO" : 11,
  68. "PA2:EVENT-OUT" : 15,
  69. "PA2:LCD_R1" : 14,
  70. "PA2:LPTIM4_OUT" : 3,
  71. "PA2:MDIOS_MDIO" : 12,
  72. "PA2:SAI2_SCK_B" : 8,
  73. "PA2:TIM15_CH1" : 4,
  74. "PA2:TIM2_CH3" : 1,
  75. "PA2:TIM5_CH3" : 2,
  76. "PA2:USART2_TX" : 7,
  77. "PA3:ETH_MII_COL" : 11,
  78. "PA3:EVENT-OUT" : 15,
  79. "PA3:LCD_B2" : 9,
  80. "PA3:LCD_B5" : 14,
  81. "PA3:LPTIM5_OUT" : 3,
  82. "PA3:OTG_HS_ULPI_D0" : 10,
  83. "PA3:TIM15_CH2" : 4,
  84. "PA3:TIM2_CH4" : 1,
  85. "PA3:TIM5_CH4" : 2,
  86. "PA3:USART2_RX" : 7,
  87. "PA4:DCMI_HSYNC" : 13,
  88. "PA4:EVENT-OUT" : 15,
  89. "PA4:I2S1_WS" : 5,
  90. "PA4:I2S3_WS" : 6,
  91. "PA4:LCD_VSYNC" : 14,
  92. "PA4:OTG_HS_SOF" : 12,
  93. "PA4:SPI1_NSS" : 5,
  94. "PA4:SPI3_NSS" : 6,
  95. "PA4:SPI6_NSS" : 8,
  96. "PA4:TIM5_ETR" : 2,
  97. "PA4:USART2_CK" : 7,
  98. "PA5:EVENT-OUT" : 15,
  99. "PA5:I2S1_CK" : 5,
  100. "PA5:LCD_R4" : 14,
  101. "PA5:OTG_HS_ULPI_CK" : 10,
  102. "PA5:SPI1_SCK" : 5,
  103. "PA5:SPI6_SCK" : 8,
  104. "PA5:TIM2_CH1" : 1,
  105. "PA5:TIM2_ETR" : 1,
  106. "PA5:TIM8_CH1N" : 3,
  107. "PA6:DCMI_PIXCLK" : 13,
  108. "PA6:EVENT-OUT" : 15,
  109. "PA6:I2S1_SDI" : 5,
  110. "PA6:LCD_G2" : 14,
  111. "PA6:MDIOS_MDC" : 11,
  112. "PA6:SPI1_MISO" : 5,
  113. "PA6:SPI6_MISO" : 8,
  114. "PA6:TIM13_CH1" : 9,
  115. "PA6:TIM1_BKIN" : 1,
  116. "PA6:TIM1_BKIN_COMP12" : 12,
  117. "PA6:TIM3_CH1" : 2,
  118. "PA6:TIM8_BKIN" : 3,
  119. "PA6:TIM8_BKIN_COMP12" : 10,
  120. "PA7:ETH_MII_RX_DV" : 11,
  121. "PA7:ETH_RMII_CRS_DV" : 11,
  122. "PA7:EVENT-OUT" : 15,
  123. "PA7:FMC_SDNWE" : 12,
  124. "PA7:I2S1_SDO" : 5,
  125. "PA7:SPI1_MOSI" : 5,
  126. "PA7:SPI6_MOSI" : 8,
  127. "PA7:TIM14_CH1" : 9,
  128. "PA7:TIM1_CH1N" : 1,
  129. "PA7:TIM3_CH2" : 2,
  130. "PA7:TIM8_CH1N" : 3,
  131. "PA8:EVENT-OUT" : 15,
  132. "PA8:HRTIM_CHB2" : 2,
  133. "PA8:I2C3_SCL" : 4,
  134. "PA8:LCD_B3" : 13,
  135. "PA8:LCD_R6" : 14,
  136. "PA8:MCO1" : 0,
  137. "PA8:OTG_FS_SOF" : 10,
  138. "PA8:TIM1_CH1" : 1,
  139. "PA8:TIM8_BKIN2" : 3,
  140. "PA8:TIM8_BKIN2_COMP12" : 12,
  141. "PA8:UART7_RX" : 11,
  142. "PA8:USART1_CK" : 7,
  143. "PA9:DCMI_D0" : 13,
  144. "PA9:EVENT-OUT" : 15,
  145. "PA9:CAN1_RX" : 9,
  146. "PA9:HRTIM_CHC1" : 2,
  147. "PA9:I2C3_SMBA" : 4,
  148. "PA9:I2S2_CK" : 5,
  149. "PA9:LCD_R5" : 14,
  150. "PA9:LPUART1_TX" : 3,
  151. "PA9:SPI2_SCK" : 5,
  152. "PA9:TIM1_CH2" : 1,
  153. "PA9:USART1_TX" : 7,
  154. "PA10:DCMI_D1" : 13,
  155. "PA10:EVENT-OUT" : 15,
  156. "PA10:CAN1_TX" : 9,
  157. "PA10:HRTIM_CHC2" : 2,
  158. "PA10:LCD_B1" : 14,
  159. "PA10:LCD_B4" : 12,
  160. "PA10:LPUART1_RX" : 3,
  161. "PA10:MDIOS_MDIO" : 11,
  162. "PA10:OTG_FS_ID" : 10,
  163. "PA10:TIM1_CH3" : 1,
  164. "PA10:USART1_RX" : 7,
  165. "PA11:EVENT-OUT" : 15,
  166. "PA11:CAN1_RX" : 9,
  167. "PA11:HRTIM_CHD1" : 2,
  168. "PA11:I2S2_WS" : 5,
  169. "PA11:LCD_R4" : 14,
  170. "PA11:LPUART1_CTS" : 3,
  171. "PA11:OTG_FS_DM" : 10,
  172. "PA11:SPI2_NSS" : 5,
  173. "PA11:TIM1_CH4" : 1,
  174. "PA11:UART4_RX" : 6,
  175. "PA11:USART1_CTS_NSS" : 7,
  176. "PA12:EVENT-OUT" : 15,
  177. "PA12:CAN1_TX" : 9,
  178. "PA12:HRTIM_CHD2" : 2,
  179. "PA12:I2S2_CK" : 5,
  180. "PA12:LCD_R5" : 14,
  181. "PA12:LPUART1_RTS" : 3,
  182. "PA12:OTG_FS_DP" : 10,
  183. "PA12:SAI2_FS_B" : 8,
  184. "PA12:SPI2_SCK" : 5,
  185. "PA12:TIM1_ETR" : 1,
  186. "PA12:UART4_TX" : 6,
  187. "PA12:USART1_RTS" : 7,
  188. "PA13:EVENT-OUT" : 15,
  189. "PA13:JTMS-SWDIO" : 0,
  190. "PA14:EVENT-OUT" : 15,
  191. "PA14:JTCK-SWCLK" : 0,
  192. "PA15:EVENT-OUT" : 15,
  193. "PA15:HDMI_CEC" : 4,
  194. "PA15:HRTIM_FLT1" : 2,
  195. "PA15:I2S1_WS" : 5,
  196. "PA15:I2S3_WS" : 6,
  197. "PA15:JTDI" : 0,
  198. "PA15:SPI1_NSS" : 5,
  199. "PA15:SPI3_NSS" : 6,
  200. "PA15:SPI6_NSS" : 7,
  201. "PA15:TIM2_CH1" : 1,
  202. "PA15:TIM2_ETR" : 1,
  203. "PA15:UART4_RTS" : 8,
  204. "PA15:UART7_TX" : 11,
  205. "PB0:DFSDM_CKOUT" : 6,
  206. "PB0:ETH_MII_RXD2" : 11,
  207. "PB0:EVENT-OUT" : 15,
  208. "PB0:LCD_G1" : 14,
  209. "PB0:LCD_R3" : 9,
  210. "PB0:OTG_HS_ULPI_D1" : 10,
  211. "PB0:TIM1_CH2N" : 1,
  212. "PB0:TIM3_CH3" : 2,
  213. "PB0:TIM8_CH2N" : 3,
  214. "PB0:UART4_CTS" : 8,
  215. "PB1:DFSDM_DATIN1" : 6,
  216. "PB1:ETH_MII_RXD3" : 11,
  217. "PB1:EVENT-OUT" : 15,
  218. "PB1:LCD_G0" : 14,
  219. "PB1:LCD_R6" : 9,
  220. "PB1:OTG_HS_ULPI_D2" : 10,
  221. "PB1:TIM1_CH3N" : 1,
  222. "PB1:TIM3_CH4" : 2,
  223. "PB1:TIM8_CH3N" : 3,
  224. "PB2:DFSDM_CKIN1" : 4,
  225. "PB2:EVENT-OUT" : 15,
  226. "PB2:I2S3_SDO" : 7,
  227. "PB2:QUADSPI_CLK" : 9,
  228. "PB2:SAI1_D1" : 2,
  229. "PB2:SAI1_SD_A" : 6,
  230. "PB2:SAI4_D1" : 10,
  231. "PB2:SAI4_SD_A" : 8,
  232. "PB2:SPI3_MOSI" : 7,
  233. "PB3:EVENT-OUT" : 15,
  234. "PB3:HRTIM_FLT4" : 2,
  235. "PB3:I2S1_CK" : 5,
  236. "PB3:I2S3_CK" : 6,
  237. "PB3:JTDO" : 0,
  238. "PB3:SDMMC2_D2" : 9,
  239. "PB3:SPI1_SCK" : 5,
  240. "PB3:SPI3_SCK" : 6,
  241. "PB3:SPI6_SCK" : 8,
  242. "PB3:TIM2_CH2" : 1,
  243. "PB3:TRACESWO" : 0,
  244. "PB3:UART7_RX" : 11,
  245. "PB4:EVENT-OUT" : 15,
  246. "PB4:HRTIM_EEV6" : 3,
  247. "PB4:I2S1_SDI" : 5,
  248. "PB4:I2S2_WS" : 7,
  249. "PB4:I2S3_SDI" : 6,
  250. "PB4:NJTRST" : 0,
  251. "PB4:SDMMC2_D3" : 9,
  252. "PB4:SPI1_MISO" : 5,
  253. "PB4:SPI2_NSS" : 7,
  254. "PB4:SPI3_MISO" : 6,
  255. "PB4:SPI6_MISO" : 8,
  256. "PB4:TIM16_BKIN" : 1,
  257. "PB4:TIM3_CH1" : 2,
  258. "PB4:UART7_TX" : 11,
  259. "PB5:DCMI_D10" : 13,
  260. "PB5:ETH_PPS_OUT" : 11,
  261. "PB5:EVENT-OUT" : 15,
  262. "PB5:CAN2_RX" : 9,
  263. "PB5:FMC_SDCKE1" : 12,
  264. "PB5:HRTIM_EEV7" : 3,
  265. "PB5:I2C1_SMBA" : 4,
  266. "PB5:I2C4_SMBA" : 6,
  267. "PB5:I2S1_SDO" : 5,
  268. "PB5:I2S3_SDO" : 7,
  269. "PB5:OTG_HS_ULPI_D7" : 10,
  270. "PB5:SPI1_MOSI" : 5,
  271. "PB5:SPI3_MOSI" : 7,
  272. "PB5:SPI6_MOSI" : 8,
  273. "PB5:TIM17_BKIN" : 1,
  274. "PB5:TIM3_CH2" : 2,
  275. "PB5:UART5_RX" : 14,
  276. "PB6:DCMI_D5" : 13,
  277. "PB6:DFSDM_DATIN5" : 11,
  278. "PB6:EVENT-OUT" : 15,
  279. "PB6:CAN2_TX" : 9,
  280. "PB6:FMC_SDNE1" : 12,
  281. "PB6:HDMI_CEC" : 5,
  282. "PB6:HRTIM_EEV8" : 3,
  283. "PB6:I2C1_SCL" : 4,
  284. "PB6:I2C4_SCL" : 6,
  285. "PB6:LPUART1_TX" : 8,
  286. "PB6:QUADSPI_BK1_NCS" : 10,
  287. "PB6:TIM16_CH1N" : 1,
  288. "PB6:TIM4_CH1" : 2,
  289. "PB6:UART5_TX" : 14,
  290. "PB6:USART1_TX" : 7,
  291. "PB7:DCMI_VSYNC" : 13,
  292. "PB7:DFSDM_CKIN5" : 11,
  293. "PB7:EVENT-OUT" : 15,
  294. "PB7:CAN2_TX" : 9,
  295. "PB7:FMC_NL" : 12,
  296. "PB7:HRTIM_EEV9" : 3,
  297. "PB7:I2C1_SDA" : 4,
  298. "PB7:I2C4_SDA" : 6,
  299. "PB7:LPUART1_RX" : 8,
  300. "PB7:TIM17_CH1N" : 1,
  301. "PB7:TIM4_CH2" : 2,
  302. "PB7:USART1_RX" : 7,
  303. "PB8:DCMI_D6" : 13,
  304. "PB8:DFSDM_CKIN7" : 3,
  305. "PB8:ETH_MII_TXD3" : 11,
  306. "PB8:EVENT-OUT" : 15,
  307. "PB8:CAN1_RX" : 9,
  308. "PB8:I2C1_SCL" : 4,
  309. "PB8:I2C4_SCL" : 6,
  310. "PB8:LCD_B6" : 14,
  311. "PB8:SDMMC1_CKIN" : 7,
  312. "PB8:SDMMC1_D4" : 12,
  313. "PB8:SDMMC2_D4" : 10,
  314. "PB8:TIM16_CH1" : 1,
  315. "PB8:TIM4_CH3" : 2,
  316. "PB8:UART4_RX" : 8,
  317. "PB9:DCMI_D7" : 13,
  318. "PB9:DFSDM_DATIN7" : 3,
  319. "PB9:EVENT-OUT" : 15,
  320. "PB9:CAN1_TX" : 9,
  321. "PB9:I2C1_SDA" : 4,
  322. "PB9:I2C4_SDA" : 6,
  323. "PB9:I2C4_SMBA" : 11,
  324. "PB9:I2S2_WS" : 5,
  325. "PB9:LCD_B7" : 14,
  326. "PB9:SDMMC1_CDIR" : 7,
  327. "PB9:SDMMC1_D5" : 12,
  328. "PB9:SDMMC2_D5" : 10,
  329. "PB9:SPI2_NSS" : 5,
  330. "PB9:TIM17_CH1" : 1,
  331. "PB9:TIM4_CH4" : 2,
  332. "PB9:UART4_TX" : 8,
  333. "PB10:DFSDM_DATIN7" : 6,
  334. "PB10:ETH_MII_RX_ER" : 11,
  335. "PB10:EVENT-OUT" : 15,
  336. "PB10:HRTIM_SCOUT" : 2,
  337. "PB10:I2C2_SCL" : 4,
  338. "PB10:I2S2_CK" : 5,
  339. "PB10:LCD_G4" : 14,
  340. "PB10:LPTIM2_IN1" : 3,
  341. "PB10:OTG_HS_ULPI_D3" : 10,
  342. "PB10:QUADSPI_BK1_NCS" : 9,
  343. "PB10:SPI2_SCK" : 5,
  344. "PB10:TIM2_CH3" : 1,
  345. "PB10:USART3_TX" : 7,
  346. "PB11:DFSDM_CKIN7" : 6,
  347. "PB11:ETH_MII_TX_EN" : 11,
  348. "PB11:ETH_RMII_TX_EN" : 11,
  349. "PB11:EVENT-OUT" : 15,
  350. "PB11:HRTIM_SCIN" : 2,
  351. "PB11:I2C2_SDA" : 4,
  352. "PB11:LCD_G5" : 14,
  353. "PB11:LPTIM2_ETR" : 3,
  354. "PB11:OTG_HS_ULPI_D4" : 10,
  355. "PB11:TIM2_CH4" : 1,
  356. "PB11:USART3_RX" : 7,
  357. "PB12:DFSDM_DATIN1" : 6,
  358. "PB12:ETH_MII_TXD0" : 11,
  359. "PB12:ETH_RMII_TXD0" : 11,
  360. "PB12:EVENT-OUT" : 15,
  361. "PB12:CAN2_RX" : 9,
  362. "PB12:I2C2_SMBA" : 4,
  363. "PB12:I2S2_WS" : 5,
  364. "PB12:OTG_HS_ID" : 12,
  365. "PB12:OTG_HS_ULPI_D5" : 10,
  366. "PB12:SPI2_NSS" : 5,
  367. "PB12:TIM1_BKIN" : 1,
  368. "PB12:TIM1_BKIN_COMP12" : 13,
  369. "PB12:UART5_RX" : 14,
  370. "PB12:USART3_CK" : 7,
  371. "PB13:DFSDM_CKIN1" : 6,
  372. "PB13:ETH_MII_TXD1" : 11,
  373. "PB13:ETH_RMII_TXD1" : 11,
  374. "PB13:EVENT-OUT" : 15,
  375. "PB13:CAN2_TX" : 9,
  376. "PB13:I2S2_CK" : 5,
  377. "PB13:LPTIM2_OUT" : 3,
  378. "PB13:OTG_HS_ULPI_D6" : 10,
  379. "PB13:SPI2_SCK" : 5,
  380. "PB13:TIM1_CH1N" : 1,
  381. "PB13:UART5_TX" : 14,
  382. "PB13:USART3_CTS_NSS" : 7,
  383. "PB14:DFSDM_DATIN2" : 6,
  384. "PB14:EVENT-OUT" : 15,
  385. "PB14:I2S2_SDI" : 5,
  386. "PB14:OTG_HS_DM" : 12,
  387. "PB14:SDMMC2_D0" : 9,
  388. "PB14:SPI2_MISO" : 5,
  389. "PB14:TIM12_CH1" : 2,
  390. "PB14:TIM1_CH2N" : 1,
  391. "PB14:TIM8_CH2N" : 3,
  392. "PB14:UART4_RTS" : 8,
  393. "PB14:USART1_TX" : 4,
  394. "PB14:USART3_RTS" : 7,
  395. "PB15:DFSDM_CKIN2" : 6,
  396. "PB15:EVENT-OUT" : 15,
  397. "PB15:I2S2_SDO" : 5,
  398. "PB15:OTG_HS_DP" : 12,
  399. "PB15:RTC_REFIN" : 0,
  400. "PB15:SDMMC2_D1" : 9,
  401. "PB15:SPI2_MOSI" : 5,
  402. "PB15:TIM12_CH2" : 2,
  403. "PB15:TIM1_CH3N" : 1,
  404. "PB15:TIM8_CH3N" : 3,
  405. "PB15:UART4_CTS" : 8,
  406. "PB15:USART1_RX" : 4,
  407. "PC0:DFSDM_CKIN0" : 3,
  408. "PC0:DFSDM_DATIN4" : 6,
  409. "PC0:EVENT-OUT" : 15,
  410. "PC0:FMC_SDNWE" : 12,
  411. "PC0:LCD_R5" : 14,
  412. "PC0:OTG_HS_ULPI_STP" : 10,
  413. "PC0:SAI2_FS_B" : 8,
  414. "PC1:DFSDM_CKIN4" : 4,
  415. "PC1:DFSDM_DATIN0" : 3,
  416. "PC1:ETH_MDC" : 11,
  417. "PC1:EVENT-OUT" : 15,
  418. "PC1:I2S2_SDO" : 5,
  419. "PC1:MDIOS_MDC" : 12,
  420. "PC1:SAI1_D1" : 2,
  421. "PC1:SAI1_SD_A" : 6,
  422. "PC1:SAI4_D1" : 10,
  423. "PC1:SAI4_SD_A" : 8,
  424. "PC1:SDMMC2_CK" : 9,
  425. "PC1:SPI2_MOSI" : 5,
  426. "PC1:TRACED0" : 0,
  427. "PC2:DFSDM_CKIN1" : 3,
  428. "PC2:DFSDM_CKOUT" : 6,
  429. "PC2:ETH_MII_TXD2" : 11,
  430. "PC2:EVENT-OUT" : 15,
  431. "PC2:FMC_SDNE0" : 12,
  432. "PC2:I2S2_SDI" : 5,
  433. "PC2:OTG_HS_ULPI_DIR" : 10,
  434. "PC2:SPI2_MISO" : 5,
  435. "PC3:DFSDM_DATIN1" : 3,
  436. "PC3:ETH_MII_TX_CLK" : 11,
  437. "PC3:EVENT-OUT" : 15,
  438. "PC3:FMC_SDCKE0" : 12,
  439. "PC3:I2S2_SDO" : 5,
  440. "PC3:OTG_HS_ULPI_NXT" : 10,
  441. "PC3:SPI2_MOSI" : 5,
  442. "PC4:DFSDM_CKIN2" : 3,
  443. "PC4:ETH_MII_RXD0" : 11,
  444. "PC4:ETH_RMII_RXD0" : 11,
  445. "PC4:EVENT-OUT" : 15,
  446. "PC4:FMC_SDNE0" : 12,
  447. "PC4:I2S1_MCK" : 5,
  448. "PC4:SPDIFRX_IN2" : 9,
  449. "PC5:COMP_1_OUT" : 13,
  450. "PC5:DFSDM_DATIN2" : 3,
  451. "PC5:ETH_MII_RXD1" : 11,
  452. "PC5:ETH_RMII_RXD1" : 11,
  453. "PC5:EVENT-OUT" : 15,
  454. "PC5:FMC_SDCKE0" : 12,
  455. "PC5:SAI1_D3" : 2,
  456. "PC5:SAI4_D3" : 10,
  457. "PC5:SPDIFRX_IN3" : 9,
  458. "PC6:DCMI_D0" : 13,
  459. "PC6:DFSDM_CKIN3" : 4,
  460. "PC6:EVENT-OUT" : 15,
  461. "PC6:FMC_NWAIT" : 9,
  462. "PC6:HRTIM_CHA1" : 1,
  463. "PC6:I2S2_MCK" : 5,
  464. "PC6:LCD_HSYNC" : 14,
  465. "PC6:SDMMC1_D0DIR" : 8,
  466. "PC6:SDMMC1_D6" : 12,
  467. "PC6:SDMMC2_D6" : 10,
  468. "PC6:TIM3_CH1" : 2,
  469. "PC6:TIM8_CH1" : 3,
  470. "PC6:USART6_TX" : 7,
  471. "PC7:DCMI_D1" : 13,
  472. "PC7:DFSDM_DATIN3" : 4,
  473. "PC7:EVENT-OUT" : 15,
  474. "PC7:FMC_NE1" : 9,
  475. "PC7:HRTIM_CHA2" : 1,
  476. "PC7:I2S3_MCK" : 6,
  477. "PC7:LCD_G6" : 14,
  478. "PC7:SDMMC1_D123DIR" : 8,
  479. "PC7:SDMMC1_D7" : 12,
  480. "PC7:SDMMC2_D7" : 10,
  481. "PC7:SWPMI_TX" : 11,
  482. "PC7:TIM3_CH2" : 2,
  483. "PC7:TIM8_CH2" : 3,
  484. "PC7:TRGIO" : 0,
  485. "PC7:USART6_RX" : 7,
  486. "PC8:DCMI_D2" : 13,
  487. "PC8:EVENT-OUT" : 15,
  488. "PC8:FMC_NCE" : 9,
  489. "PC8:FMC_NE2" : 9,
  490. "PC8:HRTIM_CHB1" : 1,
  491. "PC8:SDMMC1_D0" : 12,
  492. "PC8:SWPMI_RX" : 11,
  493. "PC8:TIM3_CH3" : 2,
  494. "PC8:TIM8_CH3" : 3,
  495. "PC8:TRACED1" : 0,
  496. "PC8:UART5_RTS" : 8,
  497. "PC8:USART6_CK" : 7,
  498. "PC9:DCMI_D3" : 13,
  499. "PC9:EVENT-OUT" : 15,
  500. "PC9:I2C3_SDA" : 4,
  501. "PC9:I2S_CKIN" : 5,
  502. "PC9:LCD_B2" : 14,
  503. "PC9:LCD_G3" : 10,
  504. "PC9:MCO2" : 0,
  505. "PC9:QUADSPI_BK1_IO0" : 9,
  506. "PC9:SDMMC1_D1" : 12,
  507. "PC9:SWPMI_SUSPEND" : 11,
  508. "PC9:TIM3_CH4" : 2,
  509. "PC9:TIM8_CH4" : 3,
  510. "PC9:UART5_CTS" : 8,
  511. "PC10:DCMI_D8" : 13,
  512. "PC10:DFSDM_CKIN5" : 3,
  513. "PC10:EVENT-OUT" : 15,
  514. "PC10:HRTIM_EEV1" : 2,
  515. "PC10:I2S3_CK" : 6,
  516. "PC10:LCD_R2" : 14,
  517. "PC10:QUADSPI_BK1_IO1" : 9,
  518. "PC10:SDMMC1_D2" : 12,
  519. "PC10:SPI3_SCK" : 6,
  520. "PC10:UART4_TX" : 8,
  521. "PC10:USART3_TX" : 7,
  522. "PC11:DCMI_D4" : 13,
  523. "PC11:DFSDM_DATIN5" : 3,
  524. "PC11:EVENT-OUT" : 15,
  525. "PC11:HRTIM_FLT2" : 2,
  526. "PC11:I2S3_SDI" : 6,
  527. "PC11:QUADSPI_BK2_NCS" : 9,
  528. "PC11:SDMMC1_D3" : 12,
  529. "PC11:SPI3_MISO" : 6,
  530. "PC11:UART4_RX" : 8,
  531. "PC11:USART3_RX" : 7,
  532. "PC12:DCMI_D9" : 13,
  533. "PC12:EVENT-OUT" : 15,
  534. "PC12:HRTIM_EEV2" : 2,
  535. "PC12:I2S3_SDO" : 6,
  536. "PC12:SDMMC1_CK" : 12,
  537. "PC12:SPI3_MOSI" : 6,
  538. "PC12:TRACED3" : 0,
  539. "PC12:UART5_TX" : 8,
  540. "PC12:USART3_CK" : 7,
  541. "PC13:EVENT-OUT" : 15,
  542. "PC14:EVENT-OUT" : 15,
  543. "PC15:EVENT-OUT" : 15,
  544. "PD0:DFSDM_CKIN6" : 3,
  545. "PD0:EVENT-OUT" : 15,
  546. "PD0:CAN1_RX" : 9,
  547. "PD0:FMC_D2" : 12,
  548. "PD0:FMC_DA2" : 12,
  549. "PD0:SAI3_SCK_A" : 6,
  550. "PD0:UART4_RX" : 8,
  551. "PD1:DFSDM_DATIN6" : 3,
  552. "PD1:EVENT-OUT" : 15,
  553. "PD1:CAN1_TX" : 9,
  554. "PD1:FMC_D3" : 12,
  555. "PD1:FMC_DA3" : 12,
  556. "PD1:SAI3_SD_A" : 6,
  557. "PD1:UART4_TX" : 8,
  558. "PD2:DCMI_D11" : 13,
  559. "PD2:EVENT-OUT" : 15,
  560. "PD2:SDMMC1_CMD" : 12,
  561. "PD2:TIM3_ETR" : 2,
  562. "PD2:TRACED2" : 0,
  563. "PD2:UART5_RX" : 8,
  564. "PD3:DCMI_D5" : 13,
  565. "PD3:DFSDM_CKOUT" : 3,
  566. "PD3:EVENT-OUT" : 15,
  567. "PD3:FMC_CLK" : 12,
  568. "PD3:I2S2_CK" : 5,
  569. "PD3:LCD_G7" : 14,
  570. "PD3:SPI2_SCK" : 5,
  571. "PD3:USART2_CTS" : 7,
  572. "PD4:EVENT-OUT" : 15,
  573. "PD4:CAN1_RX" : 9,
  574. "PD4:FMC_NOE" : 12,
  575. "PD4:HRTIM_FLT3" : 2,
  576. "PD4:SAI3_FS_A" : 6,
  577. "PD4:USART2_RTS" : 7,
  578. "PD5:EVENT-OUT" : 15,
  579. "PD5:CAN1_TX" : 9,
  580. "PD5:FMC_NWE" : 12,
  581. "PD5:HRTIM_EEV3" : 2,
  582. "PD5:USART2_TX" : 7,
  583. "PD6:DCMI_D10" : 13,
  584. "PD6:DFSDM_CKIN4" : 3,
  585. "PD6:DFSDM_DATIN1" : 4,
  586. "PD6:EVENT-OUT" : 15,
  587. "PD6:CAN2_RX" : 9,
  588. "PD6:FMC_NWAIT" : 12,
  589. "PD6:I2S3_SDO" : 5,
  590. "PD6:LCD_B2" : 14,
  591. "PD6:SAI1_D1" : 2,
  592. "PD6:SAI1_SD_A" : 6,
  593. "PD6:SAI4_D1" : 10,
  594. "PD6:SAI4_SD_A" : 8,
  595. "PD6:SDMMC2_CK" : 11,
  596. "PD6:SPI3_MOSI" : 5,
  597. "PD6:USART2_RX" : 7,
  598. "PD7:DFSDM_CKIN1" : 6,
  599. "PD7:DFSDM_DATIN4" : 3,
  600. "PD7:EVENT-OUT" : 15,
  601. "PD7:FMC_NE1" : 12,
  602. "PD7:I2S1_SDO" : 5,
  603. "PD7:SDMMC2_CMD" : 11,
  604. "PD7:SPDIFRX_IN0" : 9,
  605. "PD7:SPI1_MOSI" : 5,
  606. "PD7:USART2_CK" : 7,
  607. "PD8:DFSDM_CKIN3" : 3,
  608. "PD8:EVENT-OUT" : 15,
  609. "PD8:FMC_D13" : 12,
  610. "PD8:FMC_DA13" : 12,
  611. "PD8:SAI3_SCK_B" : 6,
  612. "PD8:SPDIFRX_IN1" : 9,
  613. "PD8:USART3_TX" : 7,
  614. "PD9:DFSDM_DATIN3" : 3,
  615. "PD9:EVENT-OUT" : 15,
  616. "PD9:CAN2_RX" : 9,
  617. "PD9:FMC_D14" : 12,
  618. "PD9:FMC_DA14" : 12,
  619. "PD9:SAI3_SD_B" : 6,
  620. "PD9:USART3_RX" : 7,
  621. "PD10:DFSDM_CKOUT" : 3,
  622. "PD10:EVENT-OUT" : 15,
  623. "PD10:CAN2_TX" : 9,
  624. "PD10:FMC_D15" : 12,
  625. "PD10:FMC_DA15" : 12,
  626. "PD10:LCD_B3" : 14,
  627. "PD10:SAI3_FS_B" : 6,
  628. "PD10:USART3_CK" : 7,
  629. "PD11:EVENT-OUT" : 15,
  630. "PD11:FMC_A16" : 12,
  631. "PD11:I2C4_SMBA" : 4,
  632. "PD11:LPTIM2_IN2" : 3,
  633. "PD11:QUADSPI_BK1_IO0" : 9,
  634. "PD11:SAI2_SD_A" : 10,
  635. "PD11:USART3_CTS" : 7,
  636. "PD12:EVENT-OUT" : 15,
  637. "PD12:FMC_A17" : 12,
  638. "PD12:I2C4_SCL" : 4,
  639. "PD12:LPTIM1_IN1" : 1,
  640. "PD12:LPTIM2_IN1" : 3,
  641. "PD12:QUADSPI_BK1_IO1" : 9,
  642. "PD12:SAI2_FS_A" : 10,
  643. "PD12:TIM4_CH1" : 2,
  644. "PD12:USART3_RTS" : 7,
  645. "PD13:EVENT-OUT" : 15,
  646. "PD13:FMC_A18" : 12,
  647. "PD13:I2C4_SDA" : 4,
  648. "PD13:LPTIM1_OUT" : 1,
  649. "PD13:QUADSPI_BK1_IO3" : 9,
  650. "PD13:SAI2_SCK_A" : 10,
  651. "PD13:TIM4_CH2" : 2,
  652. "PD14:EVENT-OUT" : 15,
  653. "PD14:FMC_D0" : 12,
  654. "PD14:FMC_DA0" : 12,
  655. "PD14:SAI3_MCLK_B" : 6,
  656. "PD14:TIM4_CH3" : 2,
  657. "PD14:UART8_CTS" : 8,
  658. "PD15:EVENT-OUT" : 15,
  659. "PD15:FMC_D1" : 12,
  660. "PD15:FMC_DA1" : 12,
  661. "PD15:SAI3_MCLK_A" : 6,
  662. "PD15:TIM4_CH4" : 2,
  663. "PD15:UART8_RTS" : 8,
  664. "PE0:DCMI_D2" : 13,
  665. "PE0:EVENT-OUT" : 15,
  666. "PE0:CAN1_RX" : 9,
  667. "PE0:FMC_NBL0" : 12,
  668. "PE0:HRTIM_SCIN" : 3,
  669. "PE0:LPTIM1_ETR" : 1,
  670. "PE0:LPTIM2_ETR" : 4,
  671. "PE0:SAI2_MCK_A" : 10,
  672. "PE0:TIM4_ETR" : 2,
  673. "PE0:UART8_RX" : 8,
  674. "PE1:DCMI_D3" : 13,
  675. "PE1:EVENT-OUT" : 15,
  676. "PE1:CAN1_TX" : 9,
  677. "PE1:FMC_NBL1" : 12,
  678. "PE1:HRTIM_SCOUT" : 3,
  679. "PE1:LPTIM1_IN2" : 1,
  680. "PE1:UART8_TX" : 8,
  681. "PE2:ETH_MII_TXD3" : 11,
  682. "PE2:EVENT-OUT" : 15,
  683. "PE2:FMC_A23" : 12,
  684. "PE2:QUADSPI_BK1_IO2" : 9,
  685. "PE2:SAI1_CK1" : 2,
  686. "PE2:SAI1_MCLK_A" : 6,
  687. "PE2:SAI4_CK1" : 10,
  688. "PE2:SAI4_MCLK_A" : 8,
  689. "PE2:SPI4_SCK" : 5,
  690. "PE2:TRACECLK" : 0,
  691. "PE3:EVENT-OUT" : 15,
  692. "PE3:FMC_A19" : 12,
  693. "PE3:SAI1_SD_B" : 6,
  694. "PE3:SAI4_SD_B" : 8,
  695. "PE3:TIM15_BKIN" : 4,
  696. "PE3:TRACED0" : 0,
  697. "PE4:DCMI_D4" : 13,
  698. "PE4:DFSDM_DATIN3" : 3,
  699. "PE4:EVENT-OUT" : 15,
  700. "PE4:FMC_A20" : 12,
  701. "PE4:LCD_B0" : 14,
  702. "PE4:SAI1_D2" : 2,
  703. "PE4:SAI1_FS_A" : 6,
  704. "PE4:SAI4_D2" : 10,
  705. "PE4:SAI4_FS_A" : 8,
  706. "PE4:SPI4_NSS" : 5,
  707. "PE4:TIM15_CH1N" : 4,
  708. "PE4:TRACED1" : 0,
  709. "PE5:DCMI_D6" : 13,
  710. "PE5:DFSDM_CKIN3" : 3,
  711. "PE5:EVENT-OUT" : 15,
  712. "PE5:FMC_A21" : 12,
  713. "PE5:LCD_G0" : 14,
  714. "PE5:SAI1_CK2" : 2,
  715. "PE5:SAI1_SCK_A" : 6,
  716. "PE5:SAI4_CK2" : 10,
  717. "PE5:SAI4_SCK_A" : 8,
  718. "PE5:SPI4_MISO" : 5,
  719. "PE5:TIM15_CH1" : 4,
  720. "PE5:TRACED2" : 0,
  721. "PE6:DCMI_D7" : 13,
  722. "PE6:EVENT-OUT" : 15,
  723. "PE6:FMC_A22" : 12,
  724. "PE6:LCD_G1" : 14,
  725. "PE6:SAI1_D1" : 2,
  726. "PE6:SAI1_SD_A" : 6,
  727. "PE6:SAI2_MCK_B" : 10,
  728. "PE6:SAI4_D1" : 9,
  729. "PE6:SAI4_SD_A" : 8,
  730. "PE6:SPI4_MOSI" : 5,
  731. "PE6:TIM15_CH2" : 4,
  732. "PE6:TIM1_BKIN2" : 1,
  733. "PE6:TIM1_BKIN2_COMP12" : 11,
  734. "PE6:TRACED3" : 0,
  735. "PE7:DFSDM_DATIN2" : 3,
  736. "PE7:EVENT-OUT" : 15,
  737. "PE7:FMC_D4" : 12,
  738. "PE7:FMC_DA4" : 12,
  739. "PE7:QUADSPI_BK2_IO0" : 10,
  740. "PE7:TIM1_ETR" : 1,
  741. "PE7:UART7_RX" : 7,
  742. "PE8:COMP_2_OUT" : 13,
  743. "PE8:DFSDM_CKIN2" : 3,
  744. "PE8:EVENT-OUT" : 15,
  745. "PE8:FMC_D5" : 12,
  746. "PE8:FMC_DA5" : 12,
  747. "PE8:QUADSPI_BK2_IO1" : 10,
  748. "PE8:TIM1_CH1N" : 1,
  749. "PE8:UART7_TX" : 7,
  750. "PE9:DFSDM_CKOUT" : 3,
  751. "PE9:EVENT-OUT" : 15,
  752. "PE9:FMC_D6" : 12,
  753. "PE9:FMC_DA6" : 12,
  754. "PE9:QUADSPI_BK2_IO2" : 10,
  755. "PE9:TIM1_CH1" : 1,
  756. "PE9:UART7_RTS" : 7,
  757. "PE10:DFSDM_DATIN4" : 3,
  758. "PE10:EVENT-OUT" : 15,
  759. "PE10:FMC_D7" : 12,
  760. "PE10:FMC_DA7" : 12,
  761. "PE10:QUADSPI_BK2_IO3" : 10,
  762. "PE10:TIM1_CH2N" : 1,
  763. "PE10:UART7_CTS" : 7,
  764. "PE11:DFSDM_CKIN4" : 3,
  765. "PE11:EVENT-OUT" : 15,
  766. "PE11:FMC_D8" : 12,
  767. "PE11:FMC_DA8" : 12,
  768. "PE11:LCD_G3" : 14,
  769. "PE11:SAI2_SD_B" : 10,
  770. "PE11:SPI4_NSS" : 5,
  771. "PE11:TIM1_CH2" : 1,
  772. "PE12:COMP_1_OUT" : 13,
  773. "PE12:DFSDM_DATIN5" : 3,
  774. "PE12:EVENT-OUT" : 15,
  775. "PE12:FMC_D9" : 12,
  776. "PE12:FMC_DA9" : 12,
  777. "PE12:LCD_B4" : 14,
  778. "PE12:SAI2_SCK_B" : 10,
  779. "PE12:SPI4_SCK" : 5,
  780. "PE12:TIM1_CH3N" : 1,
  781. "PE13:COMP_2_OUT" : 13,
  782. "PE13:DFSDM_CKIN5" : 3,
  783. "PE13:EVENT-OUT" : 15,
  784. "PE13:FMC_D10" : 12,
  785. "PE13:FMC_DA10" : 12,
  786. "PE13:LCD_DE" : 14,
  787. "PE13:SAI2_FS_B" : 10,
  788. "PE13:SPI4_MISO" : 5,
  789. "PE13:TIM1_CH3" : 1,
  790. "PE14:EVENT-OUT" : 15,
  791. "PE14:FMC_D11" : 12,
  792. "PE14:FMC_DA11" : 12,
  793. "PE14:LCD_CLK" : 14,
  794. "PE14:SAI2_MCK_B" : 10,
  795. "PE14:SPI4_MOSI" : 5,
  796. "PE14:TIM1_CH4" : 1,
  797. "PE15:EVENT-OUT" : 15,
  798. "PE15:FMC_D12" : 12,
  799. "PE15:FMC_DA12" : 12,
  800. "PE15:HDMI__TIM1_BKIN" : 5,
  801. "PE15:LCD_R7" : 14,
  802. "PE15:TIM1_BKIN" : 1,
  803. "PE15:TIM1_BKIN_COMP12" : 13,
  804. "PF0:EVENT-OUT" : 15,
  805. "PF0:FMC_A0" : 12,
  806. "PF0:I2C2_SDA" : 4,
  807. "PF1:EVENT-OUT" : 15,
  808. "PF1:FMC_A1" : 12,
  809. "PF1:I2C2_SCL" : 4,
  810. "PF2:EVENT-OUT" : 15,
  811. "PF2:FMC_A2" : 12,
  812. "PF2:I2C2_SMBA" : 4,
  813. "PF3:EVENT-OUT" : 15,
  814. "PF3:FMC_A3" : 12,
  815. "PF4:EVENT-OUT" : 15,
  816. "PF4:FMC_A4" : 12,
  817. "PF5:EVENT-OUT" : 15,
  818. "PF5:FMC_A5" : 12,
  819. "PF6:EVENT-OUT" : 15,
  820. "PF6:QUADSPI_BK1_IO3" : 9,
  821. "PF6:SAI1_SD_B" : 6,
  822. "PF6:SAI4_SD_B" : 8,
  823. "PF6:SPI5_NSS" : 5,
  824. "PF6:TIM16_CH1" : 1,
  825. "PF6:UART7_RX" : 7,
  826. "PF7:EVENT-OUT" : 15,
  827. "PF7:QUADSPI_BK1_IO2" : 9,
  828. "PF7:SAI1_MCLK_B" : 6,
  829. "PF7:SAI4_MCLK_B" : 8,
  830. "PF7:SPI5_SCK" : 5,
  831. "PF7:TIM17_CH1" : 1,
  832. "PF7:UART7_TX" : 7,
  833. "PF8:EVENT-OUT" : 15,
  834. "PF8:QUADSPI_BK1_IO0" : 10,
  835. "PF8:SAI1_SCK_B" : 6,
  836. "PF8:SAI4_SCK_B" : 8,
  837. "PF8:SPI5_MISO" : 5,
  838. "PF8:TIM13_CH1" : 9,
  839. "PF8:TIM16_CH1N" : 1,
  840. "PF8:UART7_RTS" : 7,
  841. "PF9:EVENT-OUT" : 15,
  842. "PF9:QUADSPI_BK1_IO1" : 10,
  843. "PF9:SAI1_FS_B" : 6,
  844. "PF9:SAI4_FS_B" : 8,
  845. "PF9:SPI5_MOSI" : 5,
  846. "PF9:TIM14_CH1" : 9,
  847. "PF9:TIM17_CH1N" : 1,
  848. "PF9:UART7_CTS" : 7,
  849. "PF10:DCMI_D11" : 13,
  850. "PF10:EVENT-OUT" : 15,
  851. "PF10:LCD_DE" : 14,
  852. "PF10:QUADSPI_CLK" : 9,
  853. "PF10:SAI1_D3" : 2,
  854. "PF10:SAI4_D3" : 10,
  855. "PF10:TIM16_BKIN" : 1,
  856. "PF11:DCMI_D12" : 13,
  857. "PF11:EVENT-OUT" : 15,
  858. "PF11:FMC_SDNRAS" : 12,
  859. "PF11:SAI2_SD_B" : 10,
  860. "PF11:SPI5_MOSI" : 5,
  861. "PF12:EVENT-OUT" : 15,
  862. "PF12:FMC_A6" : 12,
  863. "PF13:DFSDM_DATIN6" : 3,
  864. "PF13:EVENT-OUT" : 15,
  865. "PF13:FMC_A7" : 12,
  866. "PF13:I2C4_SMBA" : 4,
  867. "PF14:DFSDM_CKIN6" : 3,
  868. "PF14:EVENT-OUT" : 15,
  869. "PF14:FMC_A8" : 12,
  870. "PF14:I2C4_SCL" : 4,
  871. "PF15:EVENT-OUT" : 15,
  872. "PF15:FMC_A9" : 12,
  873. "PF15:I2C4_SDA" : 4,
  874. "PG0:EVENT-OUT" : 15,
  875. "PG0:FMC_A10" : 12,
  876. "PG1:EVENT-OUT" : 15,
  877. "PG1:FMC_A11" : 12,
  878. "PG2:EVENT-OUT" : 15,
  879. "PG2:FMC_A12" : 12,
  880. "PG2:TIM8_BKIN" : 3,
  881. "PG2:TIM8_BKIN_COMP12" : 11,
  882. "PG3:EVENT-OUT" : 15,
  883. "PG3:FMC_A13" : 12,
  884. "PG3:TIM8_BKIN2" : 3,
  885. "PG3:TIM8_BKIN2_COMP12" : 11,
  886. "PG4:EVENT-OUT" : 15,
  887. "PG4:FMC_A14" : 12,
  888. "PG4:FMC_BA0" : 12,
  889. "PG4:TIM1_BKIN2" : 1,
  890. "PG4:TIM1_BKIN2_COMP12" : 11,
  891. "PG5:EVENT-OUT" : 15,
  892. "PG5:FMC_A15" : 12,
  893. "PG5:FMC_BA1" : 12,
  894. "PG5:TIM1_ETR" : 1,
  895. "PG6:DCMI_D12" : 13,
  896. "PG6:EVENT-OUT" : 15,
  897. "PG6:FMC_NE3" : 12,
  898. "PG6:HRTIM_CHE1" : 2,
  899. "PG6:LCD_R7" : 14,
  900. "PG6:QUADSPI_BK1_NCS" : 10,
  901. "PG6:TIM17_BKIN" : 1,
  902. "PG7:DCMI_D13" : 13,
  903. "PG7:EVENT-OUT" : 15,
  904. "PG7:FMC_INT" : 12,
  905. "PG7:HRTIM_CHE2" : 2,
  906. "PG7:LCD_CLK" : 14,
  907. "PG7:SAI1_MCLK_A" : 6,
  908. "PG7:USART6_CK" : 7,
  909. "PG8:ETH_PPS_OUT" : 11,
  910. "PG8:EVENT-OUT" : 15,
  911. "PG8:FMC_SDCLK" : 12,
  912. "PG8:LCD_G7" : 14,
  913. "PG8:SPDIFRX_IN2" : 8,
  914. "PG8:SPI6_NSS" : 5,
  915. "PG8:TIM8_ETR" : 3,
  916. "PG8:USART6_RTS" : 7,
  917. "PG9:DCMI_VSYNC" : 13,
  918. "PG9:EVENT-OUT" : 15,
  919. "PG9:FMC_NCE" : 12,
  920. "PG9:FMC_NE2" : 12,
  921. "PG9:I2S1_SDI" : 5,
  922. "PG9:QUADSPI_BK2_IO2" : 9,
  923. "PG9:SAI2_FS_B" : 10,
  924. "PG9:SPDIFRX_IN3" : 8,
  925. "PG9:SPI1_MISO" : 5,
  926. "PG9:USART6_RX" : 7,
  927. "PG10:DCMI_D2" : 13,
  928. "PG10:EVENT-OUT" : 15,
  929. "PG10:FMC_NE3" : 12,
  930. "PG10:HRTIM_FLT5" : 2,
  931. "PG10:I2S1_WS" : 5,
  932. "PG10:LCD_B2" : 14,
  933. "PG10:LCD_G3" : 9,
  934. "PG10:SAI2_SD_B" : 10,
  935. "PG10:SPI1_NSS" : 5,
  936. "PG11:DCMI_D3" : 13,
  937. "PG11:ETH_MII_TX_EN" : 11,
  938. "PG11:ETH_RMII_TX_EN" : 11,
  939. "PG11:EVENT-OUT" : 15,
  940. "PG11:HRTIM_EEV4" : 2,
  941. "PG11:I2S1_CK" : 5,
  942. "PG11:LCD_B3" : 14,
  943. "PG11:SDMMC2_D2" : 10,
  944. "PG11:SPDIFRX_IN0" : 8,
  945. "PG11:SPI1_SCK" : 5,
  946. "PG12:ETH_MII_TXD1" : 11,
  947. "PG12:ETH_RMII_TXD1" : 11,
  948. "PG12:EVENT-OUT" : 15,
  949. "PG12:FMC_NE4" : 12,
  950. "PG12:HRTIM_EEV5" : 2,
  951. "PG12:LCD_B1" : 14,
  952. "PG12:LCD_B4" : 9,
  953. "PG12:LPTIM1_IN1" : 1,
  954. "PG12:SPDIFRX_IN1" : 8,
  955. "PG12:SPI6_MISO" : 5,
  956. "PG12:USART6_RTS" : 7,
  957. "PG13:ETH_MII_TXD0" : 11,
  958. "PG13:ETH_RMII_TXD0" : 11,
  959. "PG13:EVENT-OUT" : 15,
  960. "PG13:FMC_A24" : 12,
  961. "PG13:HRTIM_EEV10" : 2,
  962. "PG13:LCD_R0" : 14,
  963. "PG13:LPTIM1_OUT" : 1,
  964. "PG13:SPI6_SCK" : 5,
  965. "PG13:TRACED0" : 0,
  966. "PG13:USART6_CTS" : 7,
  967. "PG14:ETH_MII_TXD1" : 11,
  968. "PG14:ETH_RMII_TXD1" : 11,
  969. "PG14:EVENT-OUT" : 15,
  970. "PG14:FMC_A25" : 12,
  971. "PG14:LCD_B0" : 14,
  972. "PG14:LPTIM1_ETR" : 1,
  973. "PG14:QUADSPI_BK2_IO3" : 9,
  974. "PG14:SPI6_MOSI" : 5,
  975. "PG14:TRACED1" : 0,
  976. "PG14:USART6_TX" : 7,
  977. "PG15:DCMI_D13" : 13,
  978. "PG15:EVENT-OUT" : 15,
  979. "PG15:FMC_SDNCAS" : 12,
  980. "PG15:USART6_CTS" : 7,
  981. "PH0:EVENT-OUT" : 15,
  982. "PH1:EVENT-OUT" : 15,
  983. "PH2:ETH_MII_CRS" : 11,
  984. "PH2:EVENT-OUT" : 15,
  985. "PH2:FMC_SDCKE0" : 12,
  986. "PH2:LCD_R0" : 14,
  987. "PH2:LPTIM1_IN2" : 1,
  988. "PH2:QUADSPI_BK2_IO0" : 9,
  989. "PH2:SAI2_SCK_B" : 10,
  990. "PH3:ETH_MII_COL" : 11,
  991. "PH3:EVENT-OUT" : 15,
  992. "PH3:FMC_SDNE0" : 12,
  993. "PH3:LCD_R1" : 14,
  994. "PH3:QUADSPI_BK2_IO1" : 9,
  995. "PH3:SAI2_MCK_B" : 10,
  996. "PH4:EVENT-OUT" : 15,
  997. "PH4:I2C2_SCL" : 4,
  998. "PH4:LCD_G4" : 14,
  999. "PH4:LCD_G5" : 9,
  1000. "PH4:OTG_HS_ULPI_NXT" : 10,
  1001. "PH5:EVENT-OUT" : 15,
  1002. "PH5:FMC_SDNWE" : 12,
  1003. "PH5:I2C2_SDA" : 4,
  1004. "PH5:SPI5_NSS" : 5,
  1005. "PH6:DCMI_D8" : 13,
  1006. "PH6:ETH_MII_RXD2" : 11,
  1007. "PH6:EVENT-OUT" : 15,
  1008. "PH6:FMC_SDNE1" : 12,
  1009. "PH6:I2C2_SMBA" : 4,
  1010. "PH6:SPI5_SCK" : 5,
  1011. "PH6:TIM12_CH1" : 2,
  1012. "PH7:DCMI_D9" : 13,
  1013. "PH7:ETH_MII_RXD3" : 11,
  1014. "PH7:EVENT-OUT" : 15,
  1015. "PH7:FMC_SDCKE1" : 12,
  1016. "PH7:I2C3_SCL" : 4,
  1017. "PH7:SPI5_MISO" : 5,
  1018. "PH8:DCMI_HSYNC" : 13,
  1019. "PH8:EVENT-OUT" : 15,
  1020. "PH8:FMC_D16" : 12,
  1021. "PH8:I2C3_SDA" : 4,
  1022. "PH8:LCD_R2" : 14,
  1023. "PH8:TIM5_ETR" : 2,
  1024. "PH9:DCMI_D0" : 13,
  1025. "PH9:EVENT-OUT" : 15,
  1026. "PH9:FMC_D17" : 12,
  1027. "PH9:I2C3_SMBA" : 4,
  1028. "PH9:LCD_R3" : 14,
  1029. "PH9:TIM12_CH2" : 2,
  1030. "PH10:DCMI_D1" : 13,
  1031. "PH10:EVENT-OUT" : 15,
  1032. "PH10:FMC_D18" : 12,
  1033. "PH10:I2C4_SMBA" : 4,
  1034. "PH10:LCD_R4" : 14,
  1035. "PH10:TIM5_CH1" : 2,
  1036. "PH11:DCMI_D2" : 13,
  1037. "PH11:EVENT-OUT" : 15,
  1038. "PH11:FMC_D19" : 12,
  1039. "PH11:I2C4_SCL" : 4,
  1040. "PH11:LCD_R5" : 14,
  1041. "PH11:TIM5_CH2" : 2,
  1042. "PH12:DCMI_D3" : 13,
  1043. "PH12:EVENT-OUT" : 15,
  1044. "PH12:FMC_D20" : 12,
  1045. "PH12:I2C4_SDA" : 4,
  1046. "PH12:LCD_R6" : 14,
  1047. "PH12:TIM5_CH3" : 2,
  1048. "PH13:EVENT-OUT" : 15,
  1049. "PH13:CAN1_TX" : 9,
  1050. "PH13:FMC_D21" : 12,
  1051. "PH13:LCD_G2" : 14,
  1052. "PH13:TIM8_CH1N" : 3,
  1053. "PH13:UART4_TX" : 8,
  1054. "PH14:DCMI_D4" : 13,
  1055. "PH14:EVENT-OUT" : 15,
  1056. "PH14:CAN1_RX" : 9,
  1057. "PH14:FMC_D22" : 12,
  1058. "PH14:LCD_G3" : 14,
  1059. "PH14:TIM8_UCH2N" : 3,
  1060. "PH14:UART4_RX" : 8,
  1061. "PH15:DCMI_D11" : 13,
  1062. "PH15:EVENT-OUT" : 15,
  1063. "PH15:CAN1_TX" : 9,
  1064. "PH15:FMC_D23" : 12,
  1065. "PH15:LCD_G4" : 14,
  1066. "PH15:TIM8_CH3N" : 3,
  1067. "PI0:DCMI_D13" : 13,
  1068. "PI0:EVENT-OUT" : 15,
  1069. "PI0:CAN1_RX" : 9,
  1070. "PI0:FMC_D24" : 12,
  1071. "PI0:I2S2_WS" : 5,
  1072. "PI0:LCD_G5" : 14,
  1073. "PI0:SPI2_NSS" : 5,
  1074. "PI0:TIM5_CH4" : 2,
  1075. "PI1:DCMI_D8" : 13,
  1076. "PI1:EVENT-OUT" : 15,
  1077. "PI1:FMC_D25" : 12,
  1078. "PI1:I2S2_CK" : 5,
  1079. "PI1:LCD_G6" : 14,
  1080. "PI1:SPI2_SCK" : 5,
  1081. "PI1:TIM8_BKIN2" : 3,
  1082. "PI1:TIM8_BKIN2_COMP12" : 11,
  1083. "PI2:DCMI_D9" : 13,
  1084. "PI2:EVENT-OUT" : 15,
  1085. "PI2:FMC_D26" : 12,
  1086. "PI2:I2S2_SDI" : 5,
  1087. "PI2:LCD_G7" : 14,
  1088. "PI2:SPI2_MISO" : 5,
  1089. "PI2:TIM8_CH4" : 3,
  1090. "PI3:DCMI_D10" : 13,
  1091. "PI3:EVENT-OUT" : 15,
  1092. "PI3:FMC_D27" : 12,
  1093. "PI3:I2S2_SDO" : 5,
  1094. "PI3:SPI2_MOSI" : 5,
  1095. "PI3:TIM8_ETR" : 3,
  1096. "PI4:DCMI_D5" : 13,
  1097. "PI4:EVENT-OUT" : 15,
  1098. "PI4:FMC_NBL2" : 12,
  1099. "PI4:LCD_B4" : 14,
  1100. "PI4:SAI2_MCK_A" : 10,
  1101. "PI4:TIM8_BKIN" : 3,
  1102. "PI4:TIM8_BKIN_COMP12" : 11,
  1103. "PI5:DCMI_VSYNC" : 13,
  1104. "PI5:EVENT-OUT" : 15,
  1105. "PI5:FMC_NBL3" : 12,
  1106. "PI5:LCD_B5" : 14,
  1107. "PI5:SAI2_SCK_A" : 10,
  1108. "PI5:TIM8_CH1" : 3,
  1109. "PI6:DCMI_D6" : 13,
  1110. "PI6:EVENT-OUT" : 15,
  1111. "PI6:FMC_D28" : 12,
  1112. "PI6:LCD_B6" : 14,
  1113. "PI6:SAI2_SD_A" : 10,
  1114. "PI6:TIM8_CH2" : 3,
  1115. "PI7:DCMI_D7" : 13,
  1116. "PI7:EVENT-OUT" : 15,
  1117. "PI7:FMC_D29" : 12,
  1118. "PI7:LCD_B7" : 14,
  1119. "PI7:SAI2_FS_A" : 10,
  1120. "PI7:TIM8_CH3" : 3,
  1121. "PI8:EVENT-OUT" : 15,
  1122. "PI9:EVENT-OUT" : 15,
  1123. "PI9:CAN1_RX" : 9,
  1124. "PI9:FMC_D30" : 12,
  1125. "PI9:LCD_VSYNC" : 14,
  1126. "PI9:UART4_RX" : 8,
  1127. "PI10:ETH_MII_RX_ER" : 11,
  1128. "PI10:EVENT-OUT" : 15,
  1129. "PI10:CAN1_RX" : 9,
  1130. "PI10:FMC_D31" : 12,
  1131. "PI10:LCD_HSYNC" : 14,
  1132. "PI11:EVENT-OUT" : 15,
  1133. "PI11:LCD_G6" : 9,
  1134. "PI11:OTG_HS_ULPI_DIR" : 10,
  1135. "PI12:EVENT-OUT" : 15,
  1136. "PI12:LCD_HSYNC" : 14,
  1137. "PI13:EVENT-OUT" : 15,
  1138. "PI13:LCD_VSYNC" : 14,
  1139. "PI14:EVENT-OUT" : 15,
  1140. "PI14:LCD_CLK" : 14,
  1141. "PI15:EVENT-OUT" : 15,
  1142. "PI15:LCD_G2" : 9,
  1143. "PI15:LCD_R0" : 14,
  1144. "PJ0:EVENT-OUT" : 15,
  1145. "PJ0:LCD_R1" : 14,
  1146. "PJ0:LCD_R7" : 9,
  1147. "PJ1:EVENT-OUT" : 15,
  1148. "PJ1:LCD_R2" : 14,
  1149. "PJ2:EVENT-OUT" : 15,
  1150. "PJ2:LCD_R3" : 14,
  1151. "PJ3:EVENT-OUT" : 15,
  1152. "PJ3:LCD_R4" : 14,
  1153. "PJ4:EVENT-OUT" : 15,
  1154. "PJ4:LCD_R5" : 14,
  1155. "PJ5:EVENT-OUT" : 15,
  1156. "PJ5:LCD_R6" : 14,
  1157. "PJ6:EVENT-OUT" : 15,
  1158. "PJ6:LCD_R7" : 14,
  1159. "PJ6:TIM8_CH2" : 3,
  1160. "PJ7:EVENT-OUT" : 15,
  1161. "PJ7:LCD_G0" : 14,
  1162. "PJ7:TIM8_CH2N" : 3,
  1163. "PJ7:TRGIN" : 0,
  1164. "PJ8:EVENT-OUT" : 15,
  1165. "PJ8:LCD_G1" : 14,
  1166. "PJ8:TIM1_CH3N" : 1,
  1167. "PJ8:TIM8_CH1" : 3,
  1168. "PJ8:UART8_TX" : 8,
  1169. "PJ9:EVENT-OUT" : 15,
  1170. "PJ9:LCD_G2" : 14,
  1171. "PJ9:TIM1_CH3" : 1,
  1172. "PJ9:TIM8_CH1N" : 3,
  1173. "PJ9:UART8_RX" : 8,
  1174. "PJ10:EVENT-OUT" : 15,
  1175. "PJ10:LCD_G3" : 14,
  1176. "PJ10:SPI5_MOSI" : 5,
  1177. "PJ10:TIM1_CH2N" : 1,
  1178. "PJ10:TIM8_CH2" : 3,
  1179. "PJ11:EVENT-OUT" : 15,
  1180. "PJ11:LCD_G4" : 14,
  1181. "PJ11:SPI5_MISO" : 5,
  1182. "PJ11:TIM1_CH2" : 1,
  1183. "PJ11:TIM8_CH2N" : 3,
  1184. "PJ12:EVENT-OUT" : 15,
  1185. "PJ12:LCD_B0" : 14,
  1186. "PJ12:LCD_G3" : 9,
  1187. "PJ12:TRGOUT" : 0,
  1188. "PJ13:EVENT-OUT" : 15,
  1189. "PJ13:LCD_B1" : 14,
  1190. "PJ13:LCD_B4" : 9,
  1191. "PJ14:EVENT-OUT" : 15,
  1192. "PJ14:LCD_B2" : 14,
  1193. "PJ15:EVENT-OUT" : 15,
  1194. "PJ15:LCD_B3" : 14,
  1195. "PK0:EVENT-OUT" : 15,
  1196. "PK0:LCD_G5" : 14,
  1197. "PK0:SPI5_SCK" : 5,
  1198. "PK0:TIM1_CH1N" : 1,
  1199. "PK0:TIM8_CH3" : 3,
  1200. "PK1:EVENT-OUT" : 15,
  1201. "PK1:LCD_G6" : 14,
  1202. "PK1:SPI5_NSS" : 5,
  1203. "PK1:TIM1_CH1" : 1,
  1204. "PK1:TIM8_CH3N" : 3,
  1205. "PK2:EVENT-OUT" : 15,
  1206. "PK2:LCD_G7" : 14,
  1207. "PK2:TIM1_BKIN" : 1,
  1208. "PK2:TIM1_BKIN_COMP12" : 11,
  1209. "PK2:TIM8_BKIN" : 3,
  1210. "PK2:TIM8_BKIN_COMP12" : 10,
  1211. "PK3:EVENT-OUT" : 15,
  1212. "PK3:LCD_B4" : 14,
  1213. "PK4:EVENT-OUT" : 15,
  1214. "PK4:LCD_B5" : 14,
  1215. "PK5:EVENT-OUT" : 15,
  1216. "PK5:LCD_B6" : 14,
  1217. "PK6:EVENT-OUT" : 15,
  1218. "PK6:LCD_B7" : 14,
  1219. "PK7:EVENT-OUT" : 15,
  1220. "PK7:LCD_DE" : 14,
  1221. }
  1222. ADC1_map = {
  1223. # format is PIN : ADC1_CHAN
  1224. "PF11" : 2,
  1225. "PA6" : 3,
  1226. "PC4" : 4,
  1227. "PB1" : 5,
  1228. "PF12" : 6,
  1229. "PA7" : 7,
  1230. "PC5" : 8,
  1231. "PB0" : 9,
  1232. "PC0" : 10,
  1233. "PC1" : 11,
  1234. "PC2" : 12,
  1235. "PC3" : 13,
  1236. "PA2" : 14,
  1237. "PA3" : 15,
  1238. "PA0" : 16,
  1239. "PA1" : 17,
  1240. "PA4" : 18,
  1241. "PA5" : 19,
  1242. }