1. Dcmi_get_frame_info

1.1. Function description:

This demo shows to get the number of DCMI pixels & lines.

  • Enable global interrupt & register DCMI interrupt.

  • Initialize & configure the DCMI.

  • Enable vertical synchronization signal interrupt.

  • Start to capture & enable DCMI.

  • After 3 times transformation, get pixel and line number of a frame by reading the related registers to check.

1.2. Test result:

If the number of pixels & lines read from the related registers is same as the configured, then print pass, if not print fail.

1.3. IO connection:

None