# ISP tuning required for Sony IMX662 on Ameba Mini

**URL:** https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726
**Category:** Multimedia
**Tags:** rtl8735b
**Created:** [February 13, 2026, 6:24am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726 "2026-02-13T06:24:38Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![yugandhar](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/yugandhar/32/2836_2.png) [@yugandhar](https://forum.amebaiot.com/u/yugandhar)
#### Post date: [February 13, 2026, 6:24am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/1 "2026-02-13T06:24:38Z")

</div>

Hi,

I am using Sony IMX662 sensor with Ameba Mini board. I can see red and blue lines (please check the attched one) on the image in low light conditions. I am already using the tuned iq, fcs and sensor bin files provided in github repo, but still the quality is not good in low light conditions, even though imx662 is good option for low light.

 ![red_blue_lines (1)](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/2/215463fce3a60f07c6184b6407f4ac7d658ca771.jpeg)

Please tell me which ISP parameters I need to change to fix the issue using ISP contorl API from application.

Thanks,

Yugandhar

---

<div class="post-metadata">

### Author: ![Sabrina\_Lin](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Sabrina\_Lin](https://forum.amebaiot.com/u/Sabrina_Lin)
#### Post date: [February 24, 2026, 6:13am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/2 "2026-02-24T06:13:35Z")

</div>

Hello Yugandhar,

Hope you are doing well.

Regarding the issue you encountered, we suggest exploring the hardware power architecture first, followed by the software side .

In our experience, a similar situation can occur when the AmebaPro2 and the image sensor share the same power supply, leading to what we call “power noise .”

To help us narrow down the cause, could you please help verify the following poin ts?

(1) Power Architecture Check: Please confirm if the VDD33 of the AmebaPro2 module is also powering the image sensor. To avoid potential interference from power loads, it is generally recommended to use a 5V LDO connected to the required power supply, keeping the AmebaPro2’s power independent from external applicati ons.

_(For your reference, you can find detailed power design examples on page 4 of the AMEBAPRO2\_RL6601\_MINI\_EVB\_2V0\_20220817.pdf. It shows the image sensor and Pro2 module being supplied independently via V\_US B.)_

(2) Testing Options: You might also want to try temporarily disabling the Wi-Fi function or using UVC for direct image output. This would help us see if the situation improves under those condi tions.

Please let us know your findings, and we would be happy to discuss the next steps wi th you.

Best regards,  
Sabrina

---

<div class="post-metadata">

### Author: ![yugandhar](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/yugandhar/32/2836_2.png) [@yugandhar](https://forum.amebaiot.com/u/yugandhar)
#### Post date: [February 24, 2026, 6:52am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/3 "2026-02-24T06:52:49Z")

</div>

Hi @Sabrina_Lin ,

Can you provide link to the mentioned pdf file, so that I can share with my hardware team for verification.

Thanks,

Yuagandhar

---

<div class="post-metadata">

### Author: ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)
#### Post date: [February 24, 2026, 7:16am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/4 "2026-02-24T07:16:01Z")

</div>

Hi @yugandhar

You can download from **[HDK](https://www.amebaiot.com/?s2member_file_download=AMB82-MINI_Amebapro2%20MINI%20EVB_2V2_20251008.7z)**.

You can find _AMEBAPRO2\_RL6601\_MINI\_EVB\_2V0\_20220817.pdf_ in **SCH** folder .

---

<div class="post-metadata">

### Author: ![Amit\_Jain](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/amit_jain/32/2900_2.png) [@Amit\_Jain](https://forum.amebaiot.com/u/Amit_Jain)
#### Post date: [February 24, 2026, 10:25am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/5 "2026-02-24T10:25:04Z")

</div>

Hi @Sabrina_Lin @Pammy

We have used the same EVK design for our development and have already shared the schematics with the PM via email.

However, we observed a difference between our two EVK boards. Both boards use different LDOs for the camera supply. One board uses the **G9141** , and it is not working. The other board has an LDO marked **MEK4** , and it is functioning properly.

Could you please help us understand the reason for this difference in behavior?

---

<div class="post-metadata">

### Author: ![yugandhar](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/yugandhar/32/2836_2.png) [@yugandhar](https://forum.amebaiot.com/u/yugandhar)
#### Post date: [February 24, 2026, 1:11pm UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/6 "2026-02-24T13:11:46Z")

</div>

Hi @Sabrina_Lin ,

I tried to build the code by disabling WIFI in platform\_opts.h as below, but build failed with errors.

> `#define CONFIG_WLAN 0`

 ![wlan_disabled](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/9/97125f89408e6b6646a9d772f95f94c7d26d5fa9.jpeg)

We never tried by disabling WiFi, can you tell me how to fix these compilation errors.

Thanks,

Yugandhar

---

<div class="post-metadata">

### Author: ![Sabrina\_Lin](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Sabrina\_Lin](https://forum.amebaiot.com/u/Sabrina_Lin)
#### Post date: [February 25, 2026, 2:32am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/7 "2026-02-25T02:32:51Z")

</div>

hi, Amit  
Good day,

I will follow up via email regarding the circuit details. Looking forward to your feedback.

---

<div class="post-metadata">

### Author: ![Sabrina\_Lin](https://avatars.discourse-cdn.com/v4/letter/s/278dde/32.png) [@Sabrina\_Lin](https://forum.amebaiot.com/u/Sabrina_Lin)
#### Post date: [February 25, 2026, 2:34am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/8 "2026-02-25T02:34:58Z")

</div>

hi, @Pammy  
Good day,  
Regarding the software, please discuss the settings with Yugandhar.  
Thank you sincerely for your assistance.

---

<div class="post-metadata">

### Author: ![Pammy](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/pammy/32/936_2.png) [@Pammy](https://forum.amebaiot.com/u/Pammy)
#### Post date: [February 25, 2026, 3:30am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/9 "2026-02-25T03:30:23Z")

</div>

Hi @yugandhar

To disable the WiFi temporarily, you need not set CONFIG\_WLAN to 0. You can set it back to 1.

Then, navigate to main.c in project/realtek\_amebapro2\_v0\_example/src and comment out line 121 to 128 to disable WiFi.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/f/fad1cf6395182bbc39dfbbcd2278d1aa50e87a83.png)

---

<div class="post-metadata">

### Author: ![yugandhar](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/yugandhar/32/2836_2.png) [@yugandhar](https://forum.amebaiot.com/u/yugandhar)
#### Post date: [February 25, 2026, 7:10am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/10 "2026-02-25T07:10:41Z")

</div>

Hi @Pammy ,

We tried as you suggested, but at runtime it is waiting for wifi connection, so we commented **wifi\_common\_init** and tested again.

 ![Screenshot from 2026-02-25 12-30-48](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/4/4fa234879b198172d2ee55be599a642583e6ec3f.png)

We captured in dark room, the expected image should be black, but still below noisy one.

 ![vlcsnap-2026-02-25-12h34m47s235](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/b/b0e3881fe75ed621526e6722f01e4398fdbbfe93.jpeg)

How to believe that WiFi is not consuming power by just commenting few parts of code?

In future if we want to go with Ethernet and want to completely switch off WiFi to reduce power loss, what are required code changes?

Thanks,

Yugandhar

---

<div class="post-metadata">

### Author: ![M-ichae-l](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/m-ichae-l/32/33_2.png) [@M-ichae-l](https://forum.amebaiot.com/u/M-ichae-l)
#### Post date: [March 3, 2026, 6:49am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/11 "2026-03-03T06:49:05Z")

</div>

Hi all,

Let me update some HW information about this topic.

There is a update for the [Realtek AmebaPro2 HW design Guide](https://ameba-doc-rtos-pro2-sdk.readthedocs-hosted.com/en/latest/hw_design/index.html). It has 2 pages that discussed the power noise.

- [Note for Image Sensor](https://ameba-doc-rtos-pro2-sdk.readthedocs-hosted.com/en/latest/hw_design/06_Image_sensor.html)
- [Note for VDD33](https://ameba-doc-rtos-pro2-sdk.readthedocs-hosted.com/en/latest/hw_design/04_VDD33.html)

---

<div class="post-metadata">

### Author: ![KevinKL](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.amebaiot.com/kevinkl/32/2632_2.png) [@KevinKL](https://forum.amebaiot.com/u/KevinKL)
#### Post date: [March 6, 2026, 9:08am UTC](https://forum.amebaiot.com/t/isp-tuning-required-for-sony-imx662-on-ameba-mini/4726/12 "2026-03-06T09:08:38Z")

</div>

Hi @yugandhar ,

Thanks for trying out the suggested method to disable WiFi. By commenting out the WiFi APIs, you should have completely switched off WiFi and you will be able to notice a drop in power consumption, you may carry out a power measurement to verify it. Based on the method suggested above, we did observe an approximate 40-50mA drop in current while we tested AMB82 EVB with the WiFi enabled and disabled firmware.

Regarding the noise issue, may we know if you have tried using UVC for direct image output? We tried to replicate your issue by running the UVCD example using another sensor similar to IMX662, we did not observe a noisy stream. We have attached a snapshot below showing the video stream in a dark room.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/ameba/original/2X/7/7610ca0a29aad13f5f1494e7bab48c0fce4bbb1a.jpeg)

Thank you.
