8 Replies Latest reply on Nov 17, 2020 6:03 AM by star_4282566

    CX3 line length has to be multiple of 4 bytes ?




      I am currently observing a curious behavior on a CX3 platform I have developed.
      When users are trying to output frames with the following format 562x682xRAW8, frame size reported by the firmware (by summing DMA buffers size) is 384648 bytes which corresponds to a 564x682xRAW8 frame.
      After some debug sessions it appears that, to work properly, line size has to be a multiple of 4 bytes otherwise some extra bytes are added at the end of each line.

      As GPIF bus size is set to 16bits I was expecting line size to be a multiple of 2 bytes.


      Is it a limitation of MIPI CSI-2 controller which has internal 32bit FIFO ?


      Thanks for your support,