smartdma_camera_flexio_mculcd#
Overview#
This example uses smartDMA to get image data from camera interface frame by frame captured by OV7670, and uses FlexIO LCD interface to display the captured image on st7796s low cost panel
Supported Boards#
FRDM-MCXN236
Hardware requirements
Type-C USB cable
FRDM-MCXN236 board
Personal Computer
Board settings
Attach OV7670 to J9 camera interface(pin5 to pin22). Attach LCD-PAR-S035 low cost panel to J8. Attach a usb to ttl converter to the PC, its RXD attached to J2-8, and TXD attached to J2-12.
Prepare the Demo
Connect a type-c USB cable between the PC host and the MCU-Link USB port (J10) on the board
Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
FRDM-MCXN947
Hardware requirements
Type-C USB cable
FRDM-MCXN947 board
Personal Computer
Board settings
Attach OV7670 to J9 camera interface(pin5 to pin22). Rework the camera pins by changing the SJ16, SJ26 and SJ27 from right side to left side. Attach LCD-PAR-S035 low cost panel to J8.
Prepare the Demo
Connect a type-c USB cable between the PC host and the MCU-Link USB port (J17) on the board
Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
FRDM-MCXN947T
Hardware requirements
Type-C USB cable
FRDM-MCXN947T board
Personal Computer
Board settings
Attach OV7670 to J9 camera interface(pin5 to pin22). Rework the camera pins by changing the SJ16, SJ26 and SJ27 from right side to left side. Attach LCD-PAR-S035 low cost panel to J8.
Prepare the Demo
Connect a type-c USB cable between the PC host and the MCU-Link USB port (J17) on the board
Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
FRDM-MCXA266
Hardware requirements
Type-C USB cable
FRDM-MCXA266 board
Personal Computer
Board settings
Attach OV7670 to J9 camera interface(pin1 to pin18).
Attach LCD-PAR-S035 low cost panel to J8. Set the switch SW1 on LCD-PAR-S035 to 010.
Remove R73 and U4 if the board is using CMSIS DAP debug firmware, no need to rework if using J-Link.
Prepare the Demo
Connect a USB Type-C cable between the host PC and the MCU-Link USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs successfully, the image that the camera captures will show on the right side of the panel.
FRDM-MCXA366
Hardware requirements
Type-C USB cable
FRDM-MCXA366 board
Personal Computer
Board settings
Attach OV7670 to J9 camera interface(pin1 to pin18).
Attach LCD-PAR-S035 low cost panel to J8. Set the switch SW1 on LCD-PAR-S035 to 010.
Remove R73 and U4 if the board is using CMSIS DAP debug firmware, no need to rework if using J-Link.
Prepare the Demo
Connect a USB Type-C cable between the host PC and the MCU-Link USB port on the target board.
Open a serial terminal with the following settings:
115200 baud rate
8 data bits
No parity
One stop bit
No flow control
Download the program to the target board.
Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.
Running the demo
When the example runs successfully, the image that the camera captures will show on the right side of the panel.