STM32F767xx.py 31 KB

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