dosim-v1.ioc 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324
  1. #MicroXplorer Configuration settings - do not modify
  2. ADC.Channel-0\#ChannelRegularConversion=ADC_CHANNEL_0
  3. ADC.Channel-3\#ChannelRegularConversion=ADC_CHANNEL_TEMPSENSOR
  4. ADC.Channel-4\#ChannelRegularConversion=ADC_CHANNEL_VREFINT
  5. ADC.ContinuousConvMode=DISABLE
  6. ADC.DMAContinuousRequests=DISABLE
  7. ADC.IPParameters=Rank-0\#ChannelRegularConversion,Channel-0\#ChannelRegularConversion,SamplingTime-0\#ChannelRegularConversion,NbrOfConversionFlag,ScanConvMode,ContinuousConvMode,DMAContinuousRequests,NbrOfConversion,Rank-3\#ChannelRegularConversion,Channel-3\#ChannelRegularConversion,SamplingTime-3\#ChannelRegularConversion,Rank-4\#ChannelRegularConversion,Channel-4\#ChannelRegularConversion,SamplingTime-4\#ChannelRegularConversion
  8. ADC.NbrOfConversion=3
  9. ADC.NbrOfConversionFlag=1
  10. ADC.Rank-0\#ChannelRegularConversion=1
  11. ADC.Rank-3\#ChannelRegularConversion=2
  12. ADC.Rank-4\#ChannelRegularConversion=3
  13. ADC.SamplingTime-0\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES
  14. ADC.SamplingTime-3\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES
  15. ADC.SamplingTime-4\#ChannelRegularConversion=ADC_SAMPLETIME_48CYCLES
  16. ADC.ScanConvMode=ADC_SCAN_ENABLE
  17. COMP2.IPParameters=InvertingInput,TriggerMode,Output,Mode
  18. COMP2.InvertingInput=COMP_INVERTINGINPUT_DAC2
  19. COMP2.Mode=COMP_MODE_HIGHSPEED
  20. COMP2.Output=COMP_OUTPUT_NONE
  21. COMP2.TriggerMode=COMP_TRIGGERMODE_IT_RISING
  22. DAC.DAC_OutputBuffer2=DAC_OUTPUTBUFFER_DISABLE
  23. DAC.IPParameters=DAC_OutputBuffer2
  24. Dma.ADC.0.Direction=DMA_PERIPH_TO_MEMORY
  25. Dma.ADC.0.Instance=DMA1_Channel1
  26. Dma.ADC.0.MemDataAlignment=DMA_MDATAALIGN_WORD
  27. Dma.ADC.0.MemInc=DMA_MINC_ENABLE
  28. Dma.ADC.0.Mode=DMA_NORMAL
  29. Dma.ADC.0.PeriphDataAlignment=DMA_PDATAALIGN_WORD
  30. Dma.ADC.0.PeriphInc=DMA_PINC_DISABLE
  31. Dma.ADC.0.Priority=DMA_PRIORITY_LOW
  32. Dma.ADC.0.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
  33. Dma.Request0=ADC
  34. Dma.Request1=USART1_RX
  35. Dma.Request2=USART1_TX
  36. Dma.RequestsNb=3
  37. Dma.USART1_RX.1.Direction=DMA_PERIPH_TO_MEMORY
  38. Dma.USART1_RX.1.Instance=DMA1_Channel5
  39. Dma.USART1_RX.1.MemDataAlignment=DMA_MDATAALIGN_BYTE
  40. Dma.USART1_RX.1.MemInc=DMA_MINC_ENABLE
  41. Dma.USART1_RX.1.Mode=DMA_CIRCULAR
  42. Dma.USART1_RX.1.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
  43. Dma.USART1_RX.1.PeriphInc=DMA_PINC_DISABLE
  44. Dma.USART1_RX.1.Priority=DMA_PRIORITY_LOW
  45. Dma.USART1_RX.1.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
  46. Dma.USART1_TX.2.Direction=DMA_MEMORY_TO_PERIPH
  47. Dma.USART1_TX.2.Instance=DMA1_Channel4
  48. Dma.USART1_TX.2.MemDataAlignment=DMA_MDATAALIGN_BYTE
  49. Dma.USART1_TX.2.MemInc=DMA_MINC_ENABLE
  50. Dma.USART1_TX.2.Mode=DMA_NORMAL
  51. Dma.USART1_TX.2.PeriphDataAlignment=DMA_PDATAALIGN_BYTE
  52. Dma.USART1_TX.2.PeriphInc=DMA_PINC_DISABLE
  53. Dma.USART1_TX.2.Priority=DMA_PRIORITY_LOW
  54. Dma.USART1_TX.2.RequestParameters=Instance,Direction,PeriphInc,MemInc,PeriphDataAlignment,MemDataAlignment,Mode,Priority
  55. File.Version=6
  56. GPIO.groupedBy=Group By Peripherals
  57. I2C1.I2C_Mode=I2C_Fast
  58. I2C1.IPParameters=I2C_Mode
  59. I2C2.I2C_Mode=I2C_Standard
  60. I2C2.IPParameters=I2C_Mode
  61. KeepUserPlacement=false
  62. Mcu.Family=STM32L1
  63. Mcu.IP0=ADC
  64. Mcu.IP1=COMP2
  65. Mcu.IP10=TIM2
  66. Mcu.IP11=TIM3
  67. Mcu.IP12=TIM4
  68. Mcu.IP13=TIM6
  69. Mcu.IP14=USART1
  70. Mcu.IP15=USB
  71. Mcu.IP16=USB_DEVICE
  72. Mcu.IP2=CRC
  73. Mcu.IP3=DAC
  74. Mcu.IP4=DMA
  75. Mcu.IP5=I2C1
  76. Mcu.IP6=I2C2
  77. Mcu.IP7=NVIC
  78. Mcu.IP8=RCC
  79. Mcu.IP9=SYS
  80. Mcu.IPNb=17
  81. Mcu.Name=STM32L151C(6-8-B)TxA
  82. Mcu.Package=LQFP48
  83. Mcu.Pin0=PH0-OSC_IN
  84. Mcu.Pin1=PH1-OSC_OUT
  85. Mcu.Pin10=PB14
  86. Mcu.Pin11=PB15
  87. Mcu.Pin12=PA9
  88. Mcu.Pin13=PA10
  89. Mcu.Pin14=PA11
  90. Mcu.Pin15=PA12
  91. Mcu.Pin16=PA13
  92. Mcu.Pin17=PA14
  93. Mcu.Pin18=PB4
  94. Mcu.Pin19=PB6
  95. Mcu.Pin2=PA0-WKUP1
  96. Mcu.Pin20=PB7
  97. Mcu.Pin21=VP_ADC_TempSens_Input
  98. Mcu.Pin22=VP_ADC_Vref_Input
  99. Mcu.Pin23=VP_COMP2_VS_DACOUT2
  100. Mcu.Pin24=VP_CRC_VS_CRC
  101. Mcu.Pin25=VP_SYS_VS_Systick
  102. Mcu.Pin26=VP_TIM2_VS_ClockSourceINT
  103. Mcu.Pin27=VP_TIM2_VS_OPM
  104. Mcu.Pin28=VP_TIM3_VS_ControllerModeGated
  105. Mcu.Pin29=VP_TIM3_VS_ClockSourceINT
  106. Mcu.Pin3=PA4
  107. Mcu.Pin30=VP_TIM3_VS_ClockSourceITR
  108. Mcu.Pin31=VP_TIM4_VS_ClockSourceINT
  109. Mcu.Pin32=VP_TIM6_VS_ClockSourceINT
  110. Mcu.Pin33=VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS
  111. Mcu.Pin4=PA5
  112. Mcu.Pin5=PA7
  113. Mcu.Pin6=PB0
  114. Mcu.Pin7=PB1
  115. Mcu.Pin8=PB10
  116. Mcu.Pin9=PB11
  117. Mcu.PinsNb=34
  118. Mcu.ThirdPartyNb=0
  119. Mcu.UserConstants=
  120. Mcu.UserName=STM32L151CBTxA
  121. MxCube.Version=6.4.0
  122. MxDb.Version=DB.6.0.40
  123. NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  124. NVIC.COMP_IRQn=true\:0\:0\:false\:false\:true\:false\:true
  125. NVIC.DMA1_Channel1_IRQn=true\:0\:0\:false\:false\:true\:false\:true
  126. NVIC.DMA1_Channel4_IRQn=true\:0\:0\:false\:false\:true\:false\:true
  127. NVIC.DMA1_Channel5_IRQn=true\:0\:0\:false\:false\:true\:false\:true
  128. NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  129. NVIC.EXTI15_10_IRQn=true\:0\:0\:false\:false\:true\:true\:true
  130. NVIC.ForceEnableDMAVector=true
  131. NVIC.HardFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  132. NVIC.MemoryManagement_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  133. NVIC.NonMaskableInt_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  134. NVIC.PendSV_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  135. NVIC.PriorityGroup=NVIC_PRIORITYGROUP_4
  136. NVIC.SVC_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  137. NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true
  138. NVIC.TIM4_IRQn=true\:0\:0\:false\:false\:true\:true\:true
  139. NVIC.TIM6_IRQn=true\:0\:0\:false\:false\:true\:true\:true
  140. NVIC.USART1_IRQn=true\:0\:0\:false\:false\:true\:true\:true
  141. NVIC.USB_LP_IRQn=true\:0\:0\:false\:false\:true\:false\:true
  142. NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false
  143. PA0-WKUP1.Mode=IN0
  144. PA0-WKUP1.Signal=ADC_IN0
  145. PA10.Mode=Asynchronous
  146. PA10.Signal=USART1_RX
  147. PA11.Mode=Device
  148. PA11.Signal=USB_DM
  149. PA12.Mode=Device
  150. PA12.Signal=USB_DP
  151. PA13.Mode=Serial_Wire
  152. PA13.Signal=SYS_JTMS-SWDIO
  153. PA14.Mode=Serial_Wire
  154. PA14.Signal=SYS_JTCK-SWCLK
  155. PA4.Signal=COMP_DAC1_group
  156. PA5.Signal=COMP_DAC2_group
  157. PA7.GPIOParameters=PinState
  158. PA7.Locked=true
  159. PA7.PinState=GPIO_PIN_RESET
  160. PA7.Signal=GPIO_Output
  161. PA9.Mode=Asynchronous
  162. PA9.Signal=USART1_TX
  163. PB0.GPIOParameters=GPIO_Speed,PinState,GPIO_ModeDefaultOutputPP
  164. PB0.GPIO_ModeDefaultOutputPP=GPIO_MODE_OUTPUT_PP
  165. PB0.GPIO_Speed=GPIO_SPEED_FREQ_LOW
  166. PB0.Locked=true
  167. PB0.PinState=GPIO_PIN_SET
  168. PB0.Signal=GPIO_Output
  169. PB1.Signal=S_TIM3_CH4
  170. PB10.Mode=I2C
  171. PB10.Signal=I2C2_SCL
  172. PB11.Mode=I2C
  173. PB11.Signal=I2C2_SDA
  174. PB14.GPIOParameters=GPIO_PuPd,GPIO_ModeDefaultEXTI
  175. PB14.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING
  176. PB14.GPIO_PuPd=GPIO_PULLUP
  177. PB14.Locked=true
  178. PB14.Signal=GPXTI14
  179. PB15.GPIOParameters=GPIO_PuPd,GPIO_ModeDefaultEXTI
  180. PB15.GPIO_ModeDefaultEXTI=GPIO_MODE_IT_FALLING
  181. PB15.GPIO_PuPd=GPIO_PULLUP
  182. PB15.Locked=true
  183. PB15.Signal=GPXTI15
  184. PB4.Locked=true
  185. PB4.Mode=INP
  186. PB4.Signal=COMP2_INP
  187. PB6.Mode=I2C
  188. PB6.Signal=I2C1_SCL
  189. PB7.Mode=I2C
  190. PB7.Signal=I2C1_SDA
  191. PH0-OSC_IN.Mode=HSE-External-Oscillator
  192. PH0-OSC_IN.Signal=RCC_OSC_IN
  193. PH1-OSC_OUT.Mode=HSE-External-Oscillator
  194. PH1-OSC_OUT.Signal=RCC_OSC_OUT
  195. PinOutPanel.RotationAngle=0
  196. ProjectManager.AskForMigrate=true
  197. ProjectManager.BackupPrevious=false
  198. ProjectManager.CompilerOptimize=6
  199. ProjectManager.ComputerToolchain=false
  200. ProjectManager.CoupleFile=false
  201. ProjectManager.CustomerFirmwarePackage=
  202. ProjectManager.DefaultFWLocation=true
  203. ProjectManager.DeletePrevious=true
  204. ProjectManager.DeviceId=STM32L151CBTxA
  205. ProjectManager.FirmwarePackage=STM32Cube FW_L1 V1.10.3
  206. ProjectManager.FreePins=true
  207. ProjectManager.HalAssertFull=false
  208. ProjectManager.HeapSize=0x200
  209. ProjectManager.KeepUserCode=true
  210. ProjectManager.LastFirmware=true
  211. ProjectManager.LibraryCopy=1
  212. ProjectManager.MainLocation=Core/Src
  213. ProjectManager.NoMain=false
  214. ProjectManager.PreviousToolchain=
  215. ProjectManager.ProjectBuild=false
  216. ProjectManager.ProjectFileName=dosim-v1.ioc
  217. ProjectManager.ProjectName=dosim-v1
  218. ProjectManager.RegisterCallBack=
  219. ProjectManager.StackSize=0x400
  220. ProjectManager.TargetToolchain=STM32CubeIDE
  221. ProjectManager.ToolChainLocation=
  222. ProjectManager.UnderRoot=true
  223. ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_DMA_Init-DMA-false-HAL-true,3-MX_GPIO_Init-GPIO-false-HAL-true,4-MX_ADC_Init-ADC-false-HAL-true,5-MX_DAC_Init-DAC-false-HAL-true,6-MX_I2C2_Init-I2C2-true-HAL-true,7-MX_COMP2_Init-COMP2-false-HAL-true,8-MX_USART1_UART_Init-USART1-false-HAL-true,9-MX_TIM6_Init-TIM6-false-HAL-true,10-MX_TIM4_Init-TIM4-false-HAL-true,11-MX_TIM3_Init-TIM3-false-HAL-true,12-MX_TIM2_Init-TIM2-false-HAL-true,13-MX_I2C1_Init-I2C1-false-HAL-true,14-MX_USB_DEVICE_Init-USB_DEVICE-false-HAL-false
  224. RCC.48MHZClocksFreq_Value=48000000
  225. RCC.AHBFreq_Value=24000000
  226. RCC.APB1Freq_Value=24000000
  227. RCC.APB1TimFreq_Value=24000000
  228. RCC.APB2Freq_Value=24000000
  229. RCC.APB2TimFreq_Value=24000000
  230. RCC.FCLKCortexFreq_Value=24000000
  231. RCC.FamilyName=M
  232. RCC.HCLKFreq_Value=24000000
  233. RCC.HSE_VALUE=8000000
  234. RCC.HSI_VALUE=16000000
  235. RCC.IPParameters=48MHZClocksFreq_Value,AHBFreq_Value,APB1Freq_Value,APB1TimFreq_Value,APB2Freq_Value,APB2TimFreq_Value,FCLKCortexFreq_Value,FamilyName,HCLKFreq_Value,HSE_VALUE,HSI_VALUE,LSE_VALUE,LSI_VALUE,MCOPinFreq_Value,MSI_VALUE,PLLCLKFreq_Value,PLLDIV,PLLMUL,PWRFreq_Value,RTCFreq_Value,RTCHSEDivFreq_Value,SYSCLKFreq_VALUE,SYSCLKSource,TIMFreq_Value,TimerFreq_Value,VCOInputFreq_Value,VCOOutputFreq_Value
  236. RCC.LSE_VALUE=32768
  237. RCC.LSI_VALUE=37000
  238. RCC.MCOPinFreq_Value=24000000
  239. RCC.MSI_VALUE=2097000
  240. RCC.PLLCLKFreq_Value=24000000
  241. RCC.PLLDIV=RCC_PLL_DIV4
  242. RCC.PLLMUL=RCC_PLL_MUL12
  243. RCC.PWRFreq_Value=24000000
  244. RCC.RTCFreq_Value=37000
  245. RCC.RTCHSEDivFreq_Value=4000000
  246. RCC.SYSCLKFreq_VALUE=24000000
  247. RCC.SYSCLKSource=RCC_SYSCLKSOURCE_PLLCLK
  248. RCC.TIMFreq_Value=24000000
  249. RCC.TimerFreq_Value=24000000
  250. RCC.VCOInputFreq_Value=8000000
  251. RCC.VCOOutputFreq_Value=96000000
  252. SH.COMP_DAC1_group.0=DAC_OUT1,DAC_OUT1
  253. SH.COMP_DAC1_group.ConfNb=1
  254. SH.COMP_DAC2_group.0=DAC_OUT2,DAC_OUT2
  255. SH.COMP_DAC2_group.ConfNb=1
  256. SH.GPXTI14.0=GPIO_EXTI14
  257. SH.GPXTI14.ConfNb=1
  258. SH.GPXTI15.0=GPIO_EXTI15
  259. SH.GPXTI15.ConfNb=1
  260. SH.S_TIM3_CH4.0=TIM3_CH4,PWM Generation4 CH4
  261. SH.S_TIM3_CH4.ConfNb=1
  262. TIM2.AutoReloadPreload=TIM_AUTORELOAD_PRELOAD_DISABLE
  263. TIM2.CounterMode=TIM_COUNTERMODE_UP
  264. TIM2.IPParameters=Prescaler,Period,TIM_MasterOutputTrigger,TIM_MasterSlaveMode,AutoReloadPreload,CounterMode
  265. TIM2.Period=1000
  266. TIM2.Prescaler=600
  267. TIM2.TIM_MasterOutputTrigger=TIM_TRGO_ENABLE
  268. TIM2.TIM_MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE
  269. TIM3.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4
  270. TIM3.IPParameters=Prescaler,Period,Channel-PWM Generation4 CH4,Pulse-PWM Generation4 CH4,OCMode_PWM-PWM Generation4 CH4,TIM_MasterSlaveMode,OC4Preload_PWM,OCPolarity_4
  271. TIM3.OC4Preload_PWM=ENABLE
  272. TIM3.OCMode_PWM-PWM\ Generation4\ CH4=TIM_OCMODE_PWM1
  273. TIM3.OCPolarity_4=TIM_OCPOLARITY_HIGH
  274. TIM3.Period=1000
  275. TIM3.Prescaler=48
  276. TIM3.Pulse-PWM\ Generation4\ CH4=10
  277. TIM3.TIM_MasterSlaveMode=TIM_MASTERSLAVEMODE_DISABLE
  278. TIM4.IPParameters=Prescaler,TIM_MasterOutputTrigger,Period
  279. TIM4.Period=50000-1
  280. TIM4.Prescaler=240
  281. TIM4.TIM_MasterOutputTrigger=TIM_TRGO_UPDATE
  282. TIM6.IPParameters=Prescaler,Period,TIM_MasterOutputTrigger
  283. TIM6.Period=20000
  284. TIM6.Prescaler=600
  285. TIM6.TIM_MasterOutputTrigger=TIM_TRGO_UPDATE
  286. USART1.IPParameters=VirtualMode
  287. USART1.VirtualMode=VM_ASYNC
  288. USB_DEVICE.APP_RX_DATA_SIZE=256
  289. USB_DEVICE.APP_TX_DATA_SIZE=256
  290. USB_DEVICE.CLASS_NAME_FS=CDC
  291. USB_DEVICE.IPParameters=VirtualMode,VirtualModeFS,CLASS_NAME_FS,PRODUCT_STRING_CDC_FS,MANUFACTURER_STRING,APP_RX_DATA_SIZE,APP_TX_DATA_SIZE,USBD_MAX_STR_DESC_SIZ
  292. USB_DEVICE.MANUFACTURER_STRING=DETECTOR
  293. USB_DEVICE.PRODUCT_STRING_CDC_FS=Scintillation Dosimeter
  294. USB_DEVICE.USBD_MAX_STR_DESC_SIZ=256
  295. USB_DEVICE.VirtualMode=Cdc
  296. USB_DEVICE.VirtualModeFS=Cdc_FS
  297. VP_ADC_TempSens_Input.Mode=IN-TempSens
  298. VP_ADC_TempSens_Input.Signal=ADC_TempSens_Input
  299. VP_ADC_Vref_Input.Mode=IN-Vrefint
  300. VP_ADC_Vref_Input.Signal=ADC_Vref_Input
  301. VP_COMP2_VS_DACOUT2.Mode=INM_DACOUT2
  302. VP_COMP2_VS_DACOUT2.Signal=COMP2_VS_DACOUT2
  303. VP_CRC_VS_CRC.Mode=CRC_Activate
  304. VP_CRC_VS_CRC.Signal=CRC_VS_CRC
  305. VP_SYS_VS_Systick.Mode=SysTick
  306. VP_SYS_VS_Systick.Signal=SYS_VS_Systick
  307. VP_TIM2_VS_ClockSourceINT.Mode=Internal
  308. VP_TIM2_VS_ClockSourceINT.Signal=TIM2_VS_ClockSourceINT
  309. VP_TIM2_VS_OPM.Mode=OPM_bit
  310. VP_TIM2_VS_OPM.Signal=TIM2_VS_OPM
  311. VP_TIM3_VS_ClockSourceINT.Mode=Internal
  312. VP_TIM3_VS_ClockSourceINT.Signal=TIM3_VS_ClockSourceINT
  313. VP_TIM3_VS_ClockSourceITR.Mode=TriggerSource_ITR1
  314. VP_TIM3_VS_ClockSourceITR.Signal=TIM3_VS_ClockSourceITR
  315. VP_TIM3_VS_ControllerModeGated.Mode=Gated Mode
  316. VP_TIM3_VS_ControllerModeGated.Signal=TIM3_VS_ControllerModeGated
  317. VP_TIM4_VS_ClockSourceINT.Mode=Internal
  318. VP_TIM4_VS_ClockSourceINT.Signal=TIM4_VS_ClockSourceINT
  319. VP_TIM6_VS_ClockSourceINT.Mode=Enable_Timer
  320. VP_TIM6_VS_ClockSourceINT.Signal=TIM6_VS_ClockSourceINT
  321. VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS.Mode=CDC_FS
  322. VP_USB_DEVICE_VS_USB_DEVICE_CDC_FS.Signal=USB_DEVICE_VS_USB_DEVICE_CDC_FS
  323. board=custom
  324. isbadioc=false