Skip to content
Discussion options

You must be logged in to vote

Here's a rough list of what it would take for the stm32_fsdev driver:

  1. Modify endpoint register allocation since ISO EP require two registers.
  2. Implement the double-buffering mode (since ISO EP flip flop between two buffers).
  3. Likely implement DMA for mem-to-mem data copy (depending on required performance).
  4. Create an API for the usb device to report buffer overrun/underruns, and CRC errors.

I think DMA would be the trickiest since it'll need to be configurable by the application (since there are only a limited number of DMA channels). I think for now all the DMA is to be blocking.

It may be also desired for the usb device driver to report CRC errors or buffer underruns to the USBD core, b…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@cdg66
Comment options

Answer selected by pigrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants