Connecting camera and LCD to i.MX RT EVKs

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Connecting camera and LCD to i.MX RT EVKs

Connecting camera and LCD to i.MX RT EVKs

This guide will walk through how to do connect the camera and LCD modules to i.MX RT boards and how to test to ensure the camera and LCD are connected properly.

Update May 2022: There are now updated versions of these LCD panels that have an impact on software. See this post for more details. The physical connections are the same for both the original and new panels however so there are no changes to this guide.

 

  • This first part of this guide is for the i.MX RT1050, i.MX RT1060, i.MX RT1064 EVKs.
  • The second part of this guide is for i.MX RT595, i.MX RT1160 and i.MX RT1170 EVKs. 

 

 

Part 1: Camera and LCD for i.MX RT1050, i.MX RT1060, and i.MX RT1064: 
The camera used by the RT1050, RT1060, and R1064 EVKs are the same. However this camera only comes with the RT1060 and RT1064 EVKs. There are alternatives available for the RT1050 as discussed in this blog post. 

 

The LCD screen compatible with these boards is the RK043FN66HS-CTG 

 

Camera: 

1) The camera connector is on the front of the board. Flip the black connector up so it's 90 degrees from its original position. 

pastedImage_3.png

2) Then slide in the flat ribbon connector of the camera

pastedImage_4.png

3) Flip the black connector back down. It should keep the ribbon cable snug.

pastedImage_5.png

 

LCD:

1) On the back of the board, slide the black connector for the LCD ribbon forward.

pastedImage_7.png

2) Then slide in the flat LCD ribbon cable underneath the black connector.

3) Slide the black connector back to its original position. The cable should be snug.

pastedImage_8.png

4) Do the same for the touch controller connector and slide the black connector forward

pastedImage_3.png

4)Then insert the cable between the black connector and the white top so that the cable is in the middle. It might take a few tries as its somewhat difficult. You could also use needle nose pliers to help guide in the cable but be careful about damaging the cable.

5) Then slide the black connector back to the original position. The cable should be snug.

pastedImage_1.png

6) It should look like the following when complete.

pastedImage_10.png

 

Testing:

1) To test the camera and LCD, use the CSI driver examples in the MCUXpresso SDK. 

pastedImage_19.png

2) The camera will likely be out of focus the first time you use it. Adjust it by rotating the lens clockwise until the image is in focus. You can use your fingers or some needle nose pliers. It could take up to two rotations and it should turn easily. Also remove the plastic cover. 

pastedImage_4.png

 

3) To test the touch controller, use the emwin temperature control example in the MCUXpresso SDK

pastedImage_20.png

 

Tape:

1) Once the LCD has been confirmed to work, you can use two layers of thick double sided foam tape to securely attach it to the board. 

pastedImage_2.png

pastedImage_11.png


 

 

Part 2: Camera and LCD for i.MX RT1160 and i.MX RT1170 EVKs: 

The i.MX RT1160 and i.MX RT1170 EVKs both come with a OV5640 MIPI camera module in the box. 

 

The LCD screen compatible with the i.MX RT1160 and i.MX RT1170-EVK is the RK055HDMIPI4MA0 and it can be found here.  

i.MX RT1170-EVK Camera: 

1) The camera connector is on the front of the board at J2. It connects by simply pressing the camera down onto the connector. It takes a bit of force but should not be too difficult. 

anthony_huereca_3-1622058520655.png

 

i.MX RT1170-EVK LCD:

1) On the back of the board, slide the black connector (J40) for the LCD ribbon forward towards the edge of the board. 

anthony_huereca_4-1622058551492.png

 

2) Then carefully slide in the flat LCD ribbon cable into the connector. The blue writing should be facing up like in the photo. It should go above the black part of the connector that you just slid out, and under the white part of the connector. 

3) Slide the black plastic connector back to its original position. The cable should be snug if pulled. It should look like the following: 

anthony_huereca_5-1622058588390.png

 

i.MX RT1170-EVK Power:

1) If using the LCD, then the external power adapter must be used with the board. Connect the barrel connector to J43 on the board.

2) Also change the jumper on J38 to be on pins 1-2 so that it uses the external power. 

3) Connect a micro-USB cable to J11, which will cause the board to enumerate as a COM port and as a debug interface for downloading and debugging code

anthony_huereca_6-1622058714681.png

 

i.MX RT1170-EVK Camera and LCD Testing:

1) To test the camera and LCD, use the csi_mipi_rgb_cm7 driver example that can be found in the MCUXpresso SDK for i.MX RT1170. The camera input should be displayed on the LCD screen if everything is connected properly.  

anthony_huereca_1-1622058179867.png

 

 

 

 

评论

Thanks for this guide.

100% 有帮助 (1/1)
版本历史
最后更新:
‎05-03-2022 02:37 PM
更新人: