This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC32xx Websock Camera Application FPS



What is limiting the websock camera demo to 5 fps output?  

The limit is mentioned in the wiki.  The camera module we are using on the Arducam board (MT9D111) supports up to 30 fps at 640x480, but changing the camera configuration does not seem to have an effect on the fps output.

I believe the limit is in the dma transfer used to get the image, possibly in the websock transfer itself as well.

What parameters can be adjusted to increase the fps output of this application?  What are the limiting factors?

Thanks,

Keith

  • You are also limited by the TCP/UDP throughput from the application. Please refer to the Datasheet, TCP throughput is - 13 mbps. If, you are looking for RAW video transfer, even for VGA resolution, each frame is 640*480*2 = 600K bytes (with YUV coding)!!!
  • The MT9D111 camera module is setup to output JPEG images, with a max size of around 30k bytes.

    With 13 mbps of bandwidth and 600k frames we would get around 20 fps (maybe less due to protocol overhead).

    I'd still like to know where the 5 fps limit comes from and what parameters are available to try to improve this.
  • I noticed in the camera module setup in CamControllerInit() that the master clock in to the MT9D111 is set at 24 MHz and the PClk is set to 120 MHz in the following API call:

    MAP_CameraXClkConfig(CAMERA_BASE, 120000000,24000000);

    Thinking that maybe if I increase the clock frequency I could increase the FPS I tried increasing the master clock frequency (the MT9D111 is rated up to 80 MHz). If I try to increase the master clock then I don't get a clock out on this pin at all.

    Is there documentation on the TI camera module and the associated API?