Skip to main content
dnj
Associate III
June 1, 2023
Question

How to use USB/UART/BLE stack with sequencer?

  • June 1, 2023
  • 1 reply
  • 1468 views

I have problem with USB stack as Virtual Port COM to use it with sequencer prepared to BLE stack. I mean I don't know how to execute needed CDC... functions inside usbd_cdc_if.c. Did anybod do that?

I want to send via UART and via BLE received through USB VCP.

Any Application Notes to do that?


_legacyfs_online_stmicro_images_0693W00000dJpIoQAK.png

This topic has been closed for replies.

1 reply

ST Technical Moderator
May 23, 2024

Hi @dnj 

USBD_CDC_ItfTypeDef defines the interface for CDC class on firmware. Each of the functions corresponds to a callback that should be called during operation. As far as I know, to implement a CDC VCP with sequencer, is like implementing it in as task in an OS. The following example does not use an OS:

STM32CubeWB/Projects/P-NUCLEO-WB55.Nucleo/Applications/USB_Device/CDC_Standalone at master · STMicroelectronics/STM32CubeWB (github.com)

 

I hope this would be helpful

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL