How to create USB receive block for stm32f4 ?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
ali
el 5 de En. de 2024
Editada: Goutham Varanasi
el 13 de En. de 2024
I am using embedded coder for stm32. I am using stm32f401 custom board.
Simulink package hasn’t any block to implement USB.
How can I create a block to implement USB, both receive and send features.
I want to use CDC class of usb.
0 comentarios
Respuesta aceptada
Goutham Varanasi
el 13 de En. de 2024
Editada: Goutham Varanasi
el 13 de En. de 2024
Hi
Currently USB is not supported. However you may create the custom block following the custom driver block creation workflow.
As device driver development is applicable for all targets, links are provided for other targets. You may refer them and follow similar process to develop for required target.
Another way could be utilising the External code Import blocks: Embedded Coder — Blocks (mathworks.com)
An example for above mentioned method, where System Initialize and Model Source blocks are used to implement HRTIMER peripheral:
Regards
Goutham
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre STMicroelectronics Discovery Boards en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!