cancel
Showing results for 
Search instead for 
Did you mean: 

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

dnj
Associate III

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

1 REPLY 1
FBL
ST Employee

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 Accept as Solution on the reply which solved your issue or answered your question.