4. Dcmi_rgb565_ab

4.1. Function description:

This demo shows to how to transfer DCMI RGB565 to output with A & B channel.

The Model inputs 3 frames data repeatedly after starting the DCMI:

  • Enable global interrupt & register DCMI interrupt.

  • Initialize & configure the DCMI, enable RGB565 A & B channel output.

  • Enable vertical synchronization signal interrupt, triggering the interrupt means one frame transfer done.

  • Start to capture & enable DCMI.

  • In all 3 times transformation, compare the result with the golden data in every transformation to check.

4.2. Test result:

In all 3 times transformation, if the output data is same as the golden data, then print pass, if not print fail.

4.3. IO connection:

None