你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

【经验分享】STM32 USB虚拟串口

[复制链接]
STMCU小助手 发布时间:2022-1-13 21:00
串口调试在项目中被使用越来越多,串口资源的紧缺也变的尤为突出。很多本本人群,更是深有体会,不准备一个USB转串口工具就没办法进行开发。本章节来简单概述STM32低端芯片上的USB虚拟串口的移植。在官方DEMO中已经提供了现成的程序,这里对修改方法做简单说明。


首先打开官方demo我们开始进行移植,第一步复制我们可用的文件,操作如下:
Projects\Virtual_COM_Port文件夹下,复制红线部分
图1

300035032772082.jpg

图2

300035202932682.jpg

我为了方便演示统放在usb/src文件夹下:
图3

300035313246246.jpg

现在复制USB的库文件,这些文件不需要我们修改:
图4

300035404189967.jpg

上图中的文件统一放在usb/lib文件夹下:
图5

300036032935279.jpg


         好了现在所需要的文件我们以复制完了。这里先讲一下DEMO程序的主要工作流程:

300036178402768.png

图6
         由上图可知,PC通过虚拟串口发送数据到STM32 usb口,STM32再通过usart1发送数据到PC串口。我们做项目时,只用USB虚拟串口即可。所以我们现在需要把串口发送部分删除。把USB做为一个COM口来使用。我们要如何使用这个USB口呢?demo中是把USB发送数据做了一个缓存,先把要发送的数据存入缓存中,然后由USB自动发送出去。而接收部分是直接通过串口透传。我们在应用时就需要用到两个FIFO,1是发送,这个和demo方式是样;2是接收,接收也做一个缓存,我们通过查询来判断是否收到新数据。这下大家应该明白为什么使用两个FIFO了。 我这里有写好的FIFO库函数可直接使用Queue.c文件。
         现在开始修改:
1,stm32_it.c 更名为usb_it.c删除无用代码,只保留usb中断函数,和唤醒函数。代码如下:
代码1
  1. 1 /* Includes ------------------------------------------------------------------*/
  2. 2 #include "hw_config.h"
  3. 3 #include "usb_lib.h"
  4. 4 #include "usb_istr.h"
  5. 5
  6. 6
  7. 7 /*******************************************************************************
  8. 8 * Function Name  : USB_IRQHandler
  9. 9 * Description    : This function handles USB Low Priority interrupts
  10. 10 *                  requests.
  11. 11 * Input          : None
  12. 12 * Output         : None
  13. 13 * Return         : None
  14. 14 *******************************************************************************/
  15. 15 #if defined(STM32L1XX_MD) || defined(STM32L1XX_HD)|| defined(STM32L1XX_MD_PLUS)|| defined (STM32F37X)
  16. 16 void USB_LP_IRQHandler(void)
  17. 17 #else
  18. 18 void USB_LP_CAN1_RX0_IRQHandler(void)
  19. 19 #endif
  20. 20 {
  21. 21   USB_Istr();
  22. 22 }
  23. 23
  24. 24 /*******************************************************************************
  25. 25 * Function Name  : USB_FS_WKUP_IRQHandler
  26. 26 * Description    : This function handles USB WakeUp interrupt request.
  27. 27 * Input          : None
  28. 28 * Output         : None
  29. 29 * Return         : None
  30. 30 *******************************************************************************/
  31. 31
  32. 32 #if defined(STM32L1XX_MD) || defined(STM32L1XX_HD)|| defined(STM32L1XX_MD_PLUS)
  33. 33 void USB_FS_WKUP_IRQHandler(void)
  34. 34 #else
  35. 35 void USBWakeUp_IRQHandler(void)
  36. 36 #endif
  37. 37 {
  38. 38   EXTI_ClearITPendingBit(EXTI_Line18);
  39. 39 }
复制代码

2,修改代码hw_config.c删除无用代码,新建立2组,读FIFO和写FIFO的函数。后面会用到。
代码如下:
代码2
  1.   1 /* Includes ------------------------------------------------------------------*/
  2.   2
  3.   3 #include "usb_lib.h"
  4.   4 #include "usb_prop.h"
  5.   5 #include "usb_desc.h"
  6.   6 #include "hw_config.h"
  7.   7 #include "usb_pwr.h"
  8.   8 #include "Queue.h"
  9.   9
  10. 10
  11. 11 /* Private typedef -----------------------------------------------------------*/
  12. 12 /* Private define ------------------------------------------------------------*/
  13. 13 /* Private macro -------------------------------------------------------------*/
  14. 14 /* Private variables ---------------------------------------------------------*/
  15. 15 ErrorStatus HSEStartUpStatus;
  16. 16 USART_InitTypeDef USART_InitStructure;
  17. 17 EXTI_InitTypeDef EXTI_InitStructure;
  18. 18
  19. 19
  20. 20 #define USB_COM_RX_BUF_SIZE         (1024 + 256)
  21. 21 #define USB_COM_TX_BUF_SIZE         (1024 + 256)
  22. 22
  23. 23 static QUEUE8_t m_QueueUsbComRx         = {0};
  24. 24 static QUEUE8_t m_QueueUsbComTx         = {0};
  25. 25 static uint8_t  m_UsbComRxBuf[USB_COM_RX_BUF_SIZE]      = {0};     
  26. 26 static uint8_t  m_UsbComTxBuf[USB_COM_TX_BUF_SIZE]      = {0};   
  27. 27
  28. 28 static void IntToUnicode (uint32_t value , uint8_t *pbuf , uint8_t len);
  29. 29 /* Extern variables ----------------------------------------------------------*/
  30. 30
  31. 31 extern LINE_CODING linecoding;
  32. 32
  33. 33 /* Private function prototypes -----------------------------------------------*/
  34. 34 /* Private functions ---------------------------------------------------------*/
  35. 35 /*******************************************************************************
  36. 36 * Function Name  : Set_System
  37. 37 * Description    : Configures Main system clocks & power
  38. 38 * Input          : None.
  39. 39 * Return         : None.
  40. 40 *******************************************************************************/
  41. 41 void Set_System(void)
  42. 42 {
  43. 43   GPIO_InitTypeDef GPIO_InitStructure;
  44. 44
  45. 45   QUEUE_PacketCreate(&m_QueueUsbComRx, m_UsbComRxBuf, sizeof(m_UsbComRxBuf));
  46. 46   QUEUE_PacketCreate(&m_QueueUsbComTx, m_UsbComTxBuf, sizeof(m_UsbComTxBuf));
  47. 47   
  48. 48   /* Enable USB_DISCONNECT GPIO clock */
  49. 49   RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIO_DISCONNECT, ENABLE);
  50. 50
  51. 51   /* Configure USB pull-up pin */
  52. 52   GPIO_InitStructure.GPIO_Pin = USB_DISCONNECT_PIN;
  53. 53   GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz;
  54. 54   GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP;
  55. 55   GPIO_Init(USB_DISCONNECT, &GPIO_InitStructure);
  56. 56   
  57. 57   /* Configure the EXTI line 18 connected internally to the USB IP */
  58. 58   EXTI_ClearITPendingBit(EXTI_Line18);
  59. 59   EXTI_InitStructure.EXTI_Line = EXTI_Line18;
  60. 60   EXTI_InitStructure.EXTI_Trigger = EXTI_Trigger_Rising;
  61. 61   EXTI_InitStructure.EXTI_LineCmd = ENABLE;
  62. 62   EXTI_Init(&EXTI_InitStructure);
  63. 63
  64. 64   
  65. 65 }
  66. 66
  67. 67 /*******************************************************************************
  68. 68 * Function Name  : Set_USBClock
  69. 69 * Description    : Configures USB Clock input (48MHz)
  70. 70 * Input          : None.
  71. 71 * Return         : None.
  72. 72 *******************************************************************************/
  73. 73 void Set_USBClock(void)
  74. 74 {
  75. 75   /* Select USBCLK source */
  76. 76   RCC_USBCLKConfig(RCC_USBCLKSource_PLLCLK_1Div5);
  77. 77   
  78. 78   /* Enable the USB clock */
  79. 79   RCC_APB1PeriphClockCmd(RCC_APB1Periph_USB, ENABLE);
  80. 80 }
  81. 81
  82. 82 /*******************************************************************************
  83. 83 * Function Name  : Enter_LowPowerMode
  84. 84 * Description    : Power-off system clocks and power while entering suspend mode
  85. 85 * Input          : None.
  86. 86 * Return         : None.
  87. 87 *******************************************************************************/
  88. 88 void Enter_LowPowerMode(void)
  89. 89 {
  90. 90   /* Set the device state to suspend */
  91. 91   bDeviceState = SUSPENDED;
  92. 92 }
  93. 93
  94. 94 /*******************************************************************************
  95. 95 * Function Name  : Leave_LowPowerMode
  96. 96 * Description    : Restores system clocks and power while exiting suspend mode
  97. 97 * Input          : None.
  98. 98 * Return         : None.
  99. 99 *******************************************************************************/
  100. 100 void Leave_LowPowerMode(void)
  101. 101 {
  102. 102   DEVICE_INFO *pInfo = &Device_Info;
  103. 103
  104. 104   /* Set the device state to the correct state */
  105. 105   if (pInfo->Current_Configuration != 0)
  106. 106   {
  107. 107     /* Device configured */
  108. 108     bDeviceState = CONFIGURED;
  109. 109   }
  110. 110   else
  111. 111   {
  112. 112     bDeviceState = ATTACHED;
  113. 113   }
  114. 114   /*Enable SystemCoreClock*/
  115. 115 //  SystemInit();
  116. 116 }
  117. 117
  118. 118 /*******************************************************************************
  119. 119 * Function Name  : USB_Interrupts_Config
  120. 120 * Description    : Configures the USB interrupts
  121. 121 * Input          : None.
  122. 122 * Return         : None.
  123. 123 *******************************************************************************/
  124. 124 void USB_Interrupts_Config(void)
  125. 125 {
  126. 126   NVIC_InitTypeDef NVIC_InitStructure;
  127. 127
  128. 128   NVIC_InitStructure.NVIC_IRQChannel = USB_LP_CAN1_RX0_IRQn;
  129. 129   NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 2;
  130. 130   NVIC_InitStructure.NVIC_IRQChannelSubPriority = 0;
  131. 131   NVIC_InitStructure.NVIC_IRQChannelCmd = ENABLE;
  132. 132   NVIC_Init(&NVIC_InitStructure);
  133. 133   
  134. 134     /* Enable the USB Wake-up interrupt */
  135. 135   NVIC_InitStructure.NVIC_IRQChannel = USBWakeUp_IRQn;
  136. 136   NVIC_InitStructure.NVIC_IRQChannelPreemptionPriority = 0;
  137. 137   NVIC_Init(&NVIC_InitStructure);
  138. 138 }
  139. 139
  140. 140 /*******************************************************************************
  141. 141 * Function Name  : USB_Cable_Config
  142. 142 * Description    : Software Connection/Disconnection of USB Cable
  143. 143 * Input          : None.
  144. 144 * Return         : Status
  145. 145 *******************************************************************************/
  146. 146 void USB_Cable_Config (FunctionalState NewState)
  147. 147 {
  148. 148   if (NewState == DISABLE)
  149. 149   {
  150. 150     GPIO_ResetBits(USB_DISCONNECT, USB_DISCONNECT_PIN);
  151. 151   }
  152. 152   else
  153. 153   {
  154. 154     GPIO_SetBits(USB_DISCONNECT, USB_DISCONNECT_PIN);
  155. 155   }
  156. 156 }
  157. 157
  158. 158 /*******************************************************************************
  159. 159 * Function Name : void USB_Config(void)
  160. 160 * Description   : USB系统初始化
  161. 161 * Input         :
  162. 162 * Output        :
  163. 163 * Other         :
  164. 164 * Date          : 2014.11.28
  165. 165 *******************************************************************************/
  166. 166 void USB_Config(void)
  167. 167 {
  168. 168     Set_System();
  169. 169
  170. 170     Set_USBClock();
  171. 171
  172. 172     USB_Interrupts_Config();
  173. 173
  174. 174     USB_Init();
  175. 175 }
  176. 176
  177. 177 /*******************************************************************************
  178. 178 * Function Name : uint32_t USB_RxRead(uint8_t *buffter, uint32_t buffterSize)
  179. 179 * Description   : 从USB接收缓存中读数据
  180. 180 * Input         :
  181. 181 * Output        :
  182. 182 * Other         :
  183. 183 * Date          : 2014.11.28
  184. 184 *******************************************************************************/
  185. 185 uint32_t USB_RxRead(uint8_t *buffter, uint32_t buffterSize)
  186. 186 {
  187. 187     return QUEUE_PacketOut(&m_QueueUsbComRx, buffter, buffterSize);
  188. 188 }
  189. 189 /*******************************************************************************
  190. 190 * Function Name : uint32_t USB_RxWrite(uint8_t *buffter, uint32_t writeLen)
  191. 191 * Description   : 写数据到USB接收缓存中
  192. 192 * Input         :
  193. 193 * Output        :
  194. 194 * Other         :
  195. 195 * Date          : 2014.11.28
  196. 196 *******************************************************************************/
  197. 197 uint32_t USB_RxWrite(uint8_t *buffter, uint32_t writeLen)
  198. 198 {
  199. 199     return QUEUE_PacketIn(&m_QueueUsbComRx, buffter, writeLen);
  200. 200 }
  201. 201 /*******************************************************************************
  202. 202 * Function Name : uint32_t USB_TxRead(uint8_t *buffter, uint32_t buffterSize)
  203. 203 * Description   : 从USB发送缓存中读数据
  204. 204 * Input         :
  205. 205 * Output        :
  206. 206 * Other         :
  207. 207 * Date          : 2014.11.28
  208. 208 *******************************************************************************/
  209. 209 uint32_t USB_TxRead(uint8_t *buffter, uint32_t buffterSize)
  210. 210 {
  211. 211     return QUEUE_PacketOut(&m_QueueUsbComTx, buffter, buffterSize);;
  212. 212 }
  213. 213 /*******************************************************************************
  214. 214 * Function Name : uint32_t USB_TxWrite(uint8_t *buffter, uint32_t writeLen)
  215. 215 * Description   : 写数据到USB发送缓存中
  216. 216 * Input         :
  217. 217 * Output        :
  218. 218 * Other         :
  219. 219 * Date          : 2014.11.28
  220. 220 *******************************************************************************/
  221. 221 uint32_t USB_TxWrite(uint8_t *buffter, uint32_t writeLen)
  222. 222 {
  223. 223     return QUEUE_PacketIn(&m_QueueUsbComTx, buffter, writeLen);
  224. 224 }
  225. 225
  226. 226
  227. 227
  228. 228 /*******************************************************************************
  229. 229 * Function Name  : Get_SerialNum.
  230. 230 * Description    : Create the serial number string descriptor.
  231. 231 * Input          : None.
  232. 232 * Output         : None.
  233. 233 * Return         : None.
  234. 234 *******************************************************************************/
  235. 235 void Get_SerialNum(void)
  236. 236 {
  237. 237   uint32_t Device_Serial0, Device_Serial1, Device_Serial2;
  238. 238
  239. 239   Device_Serial0 = *(uint32_t*)ID1;
  240. 240   Device_Serial1 = *(uint32_t*)ID2;
  241. 241   Device_Serial2 = *(uint32_t*)ID3;  
  242. 242
  243. 243   Device_Serial0 += Device_Serial2;
  244. 244
  245. 245   if (Device_Serial0 != 0)
  246. 246   {
  247. 247     IntToUnicode (Device_Serial0, &Virtual_Com_Port_StringSerial[2] , 8);
  248. 248     IntToUnicode (Device_Serial1, &Virtual_Com_Port_StringSerial[18], 4);
  249. 249   }
  250. 250 }
  251. 251
  252. 252 /*******************************************************************************
  253. 253 * Function Name  : HexToChar.
  254. 254 * Description    : Convert Hex 32Bits value into char.
  255. 255 * Input          : None.
  256. 256 * Output         : None.
  257. 257 * Return         : None.
  258. 258 *******************************************************************************/
  259. 259 static void IntToUnicode (uint32_t value , uint8_t *pbuf , uint8_t len)
  260. 260 {
  261. 261   uint8_t idx = 0;
  262. 262   
  263. 263   for( idx = 0 ; idx < len ; idx ++)
  264. 264   {
  265. 265     if( ((value >> 28)) < 0xA )
  266. 266     {
  267. 267       pbuf[ 2* idx] = (value >> 28) + '0';
  268. 268     }
  269. 269     else
  270. 270     {
  271. 271       pbuf[2* idx] = (value >> 28) + 'A' - 10;
  272. 272     }
  273. 273     
  274. 274     value = value << 4;
  275. 275     
  276. 276     pbuf[ 2* idx + 1] = 0;
  277. 277   }
  278. 278 }
  279. 279
  280. 280 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
复制代码


这里要讲一下为什么要屏蔽SystemInit(),因为demo只运行虚拟串口功能,在USB未插入的情况下,是进入低功耗状态,插入时从低功耗状态退出后会调用此函数。当然我们在项目中一般不会这样,系统是否运行和插USB接口没有联系。所以我在下文中把进入低功耗代码屏蔽了,自然也就不用唤醒代码了。
图7

300038465597900.jpg

关于USB口使能控制引脚,需要根据开发板的引脚定义来修改宏定义platform_config.h文件中,笔者使用的是神舟3号开发板,控制信号刚好和demo相反,所以修改hw_config.c代码如下:
代码3
  1. 1 /*******************************************************************************
  2. 2 * Function Name  : USB_Cable_Config
  3. 3 * Description    : Software Connection/Disconnection of USB Cable
  4. 4 * Input          : None.
  5. 5 * Return         : Status
  6. 6 *******************************************************************************/
  7. 7 void USB_Cable_Config (FunctionalState NewState)
  8. 8 {
  9. 9   if (NewState == DISABLE)
  10. 10   {
  11. 11     GPIO_ResetBits(USB_DISCONNECT, USB_DISCONNECT_PIN);
  12. 12   }
  13. 13   else
  14. 14   {
  15. 15     GPIO_SetBits(USB_DISCONNECT, USB_DISCONNECT_PIN);
  16. 16   }
  17. 17 }
复制代码

3,现在修改USB 回调函数中的代码usb_endp.c文件。使用下文代码替换:
代码4
  1.   1 /* Includes ------------------------------------------------------------------*/
  2.   2 #include "usb_lib.h"
  3.   3 #include "usb_desc.h"
  4.   4 #include "usb_mem.h"
  5.   5 #include "hw_config.h"
  6.   6 #include "usb_istr.h"
  7.   7 #include "usb_pwr.h"
  8.   8
  9.   9 /* Private typedef -----------------------------------------------------------*/
  10. 10 /* Private define ------------------------------------------------------------*/
  11. 11
  12. 12 /* Interval between sending IN packets in frame number (1 frame = 1ms) */
  13. 13 #define VCOMPORT_IN_FRAME_INTERVAL             5
  14. 14
  15. 15 /* Private macro -------------------------------------------------------------*/
  16. 16 /* Private variables ---------------------------------------------------------*/
  17. 17 static uint8_t txBuffter[VIRTUAL_COM_PORT_DATA_SIZE] = {0};
  18. 18 static volatile uint8_t txFlg = 0;
  19. 19 static volatile uint32_t FrameCount = 0;
  20. 20
  21. 21
  22. 22 /* Private function prototypes -----------------------------------------------*/
  23. 23 /* Private functions ---------------------------------------------------------*/
  24. 24
  25. 25 /*******************************************************************************
  26. 26 * Function Name  : EP1_IN_Callback
  27. 27 * Description    :
  28. 28 * Input          : None.
  29. 29 * Output         : None.
  30. 30 * Return         : None.
  31. 31 *******************************************************************************/
  32. 32 void EP1_IN_Callback (void)
  33. 33 {
  34. 34     uint16_t len = 0;
  35. 35     
  36. 36     if (1 == txFlg)
  37. 37     {
  38. 38         len = USB_TxRead(txBuffter, sizeof(txBuffter));
  39. 39
  40. 40         if (len > 0)
  41. 41         {
  42. 42             UserToPMABufferCopy(txBuffter, ENDP1_TXADDR, len);
  43. 43             SetEPTxCount(ENDP1, len);
  44. 44             SetEPTxValid(ENDP1);
  45. 45             FrameCount = 0;
  46. 46         }
  47. 47         else
  48. 48         {
  49. 49             txFlg = 0;
  50. 50         }
  51. 51     }
  52. 52 }
  53. 53
  54. 54 /*******************************************************************************
  55. 55 * Function Name  : EP3_OUT_Callback
  56. 56 * Description    :
  57. 57 * Input          : None.
  58. 58 * Output         : None.
  59. 59 * Return         : None.
  60. 60 *******************************************************************************/
  61. 61 void EP3_OUT_Callback(void)
  62. 62 {
  63. 63   static uint8_t buffter[VIRTUAL_COM_PORT_DATA_SIZE] = {0};
  64. 64
  65. 65   uint16_t USB_Rx_Cnt;
  66. 66   
  67. 67   /* Get the received data buffer and update the counter */
  68. 68   USB_Rx_Cnt = USB_SIL_Read(EP3_OUT, buffter);
  69. 69   
  70. 70   /* USB data will be immediately processed, this allow next USB traffic being
  71. 71   NAKed till the end of the USART Xfer */
  72. 72   USB_RxWrite(buffter, USB_Rx_Cnt);
  73. 73
  74. 74   /* Enable the receive of data on EP3 */
  75. 75   SetEPRxValid(ENDP3);
  76. 76
  77. 77 }
  78. 78
  79. 79
  80. 80 /*******************************************************************************
  81. 81 * Function Name  : SOF_Callback / INTR_SOFINTR_Callback
  82. 82 * Description    :
  83. 83 * Input          : None.
  84. 84 * Output         : None.
  85. 85 * Return         : None.
  86. 86 *******************************************************************************/
  87. 87 void SOF_Callback(void)
  88. 88 {
  89. 89     uint16_t len = 0;
  90. 90
  91. 91     if(bDeviceState == CONFIGURED)
  92. 92     {
  93. 93         if (0 == txFlg)
  94. 94         {
  95. 95             if (FrameCount++ == VCOMPORT_IN_FRAME_INTERVAL)
  96. 96             {
  97. 97                 /* Reset the frame counter */
  98. 98                 FrameCount = 0;
  99. 99
  100. 100                 /* Check the data to be sent through IN pipe */
  101. 101                 len = USB_TxRead(txBuffter, sizeof(txBuffter));
  102. 102
  103. 103                 if (len > 0)
  104. 104                 {
  105. 105                     UserToPMABufferCopy(txBuffter, ENDP1_TXADDR, len);
  106. 106                     SetEPTxCount(ENDP1, len);
  107. 107                     SetEPTxValid(ENDP1);
  108. 108
  109. 109                     txFlg = 1;
  110. 110                 }
  111. 111             }
  112. 112         }
  113. 113     }  
  114. 114 }
  115. 115 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
复制代码


这里讲下大概意思,函数EP3_OUT_Callback是在USB口收到数据后,将数据存入FIFO中。
函数SOF_Callback定时查询用户是否有要发送的数据,如果有则进行发送,在发送完成后会触发发送中断EP1_IN_Callback函数,如果发送完毕就不调用SetEPTxValid(ENDP1)函数,发送完成后就不会再触发EP1_IN_Callback函数。
4,修改usb_pwr.c在前文中说到:不让系统进入休眠状态,这里屏蔽185行 __WFI();
5,修改usb_prop.c屏蔽COM初始化代码。137行USART_Config_Default(); 237行USART_Config();
6,修改usb_desc.c 这里修改需要参考一些USB专业的书籍,推荐全圈圈的书,讲的通俗易懂。关于本程序的驱动,笔者在win7下测试可以自动安装,如果无法自动安装可使用文章开始的链接中的驱动程序。本文件如果修改需谨慎,其中pid,vid是制造商ID和产品编号,如果修改了那驱动也要对应修改,官方驱动就无法自动进行安装了。
到这里移植就差不多完成了,下面进行测试。由于USB虚拟串口不受波特率限制,所以笔者进行过50k/s的压力测试,运行半小时未丢1个字节。
移植好的工程STM32_UsbVirtualCom.rar也一起存放在上文章开始的链接中。

收藏 评论0 发布时间:2022-1-13 21:00

举报

0个回答

所属标签

相似分享

官网相关资源

关于
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
意法半导体官网
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
官方最新发布
STM32N6 AI生态系统
STM32MCU,MPU高性能GUI
ST ACEPACK电源模块
意法半导体生物传感器
STM32Cube扩展软件包
关注我们
st-img 微信公众号
st-img 手机版