Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / System Validation and Replacement

Checking Both Old and New Bounds When Partial Redraw Leaves a Duplicate Icon | Crystal & Oscillator Handbook

A portable environmental instrument updates its display software, moving the battery icon from left to right. Both icons now appear until a page change or full refresh. Check the partial update region before blaming a 27 MHz clock or panel ghosting. If only the new position was drawn, the old pixels may never have been replaced with the current background. Compare the rendered image, region actually sent, and physical display for the same input to distinguish an omitted old region, missing transport data, and incorrect panel rendering.

A new icon can appear without erasing the old one

Some graphics systems send only marked update regions. When an object moves, its new region must draw the icon and its old region must be rebuilt using the current background and stacking order. The old area can include a gradient, number, grid, or another object. Clearing it to a flat color is not necessarily correct. A display with internal memory can retain its old pixels if the region was omitted. Confirm whether that buffering applies to the actual display.

The omission can also occur downstream. The graphics layer may mark the old region, but a clipping routine, fixture simulation, coordinate conversion, or transfer state can remove it before transmission. If the received image and region are correct and the physical screen still retains those pixels, investigate beyond software region selection. Review rendered data, update lists, and device records. A full refresh is a diagnostic comparison and does not identify which step dropped the region.

Calculate the affected area for a small icon

Suppose a simulated 30-pixel-wide by 20-pixel-high icon moves from horizontal coordinates 10–40 to 60–90, with both vertical spans at 20–40. Use half-open intervals, including the start but excluding the end. Ignore shadows and transparent edges. The two regions do not overlap. Sending only the new region leaves the old region untouched.

Simulated updateArea coveredUpdated pixel countInterpretation
New region onlyNew position on the right600 pixelsThe old region may still show old pixels
Redraw both regions separatelyOld left position and new right position1200 pixelsBoth need the correct background and content
Send one bounding rectangleHorizontal 10–90, vertical 20–401600 pixelsBoth regions and the space between are refreshed

With a smaller movement the areas may overlap and their union may be less than twice the icon area. Shadows, outlines, and changing text can extend the affected area beyond the layout bounds. Pixel count does not establish proportional transfer time. Buffers, transactions, and bus timing also affect refresh speed.

Compare the old region, transmitted update, and final pixels

Create repeatable input on an owned bench or simulator. Use a fixed synthetic background and numbered icon. Keep real user data and production controls out of the test. Define old and new location, font, background, orientation, and software version. Compare the expected full image with the partial result in the same coordinates and record the first version with duplicate icons.

Check whether both regions enter rendering output, then whether the transmitted rectangle matches. If the old area is already absent from render logs, inspect invalidation or clipping. If the old region is listed but not sent, check completion, coordinates, and buffer handling through approved observations. One API can use inclusive maximums and another exclusive ends. Use an edge-aligned synthetic image to catch a missing or extra column.

Investigate timing when output data are correct and the module still omits pixels. Verify supply, controller state, interface timing, and panel behavior. If software evidence shows that the old region was never sent and the symptom follows that region, correct redraw first. A clock pass cannot qualify software and a redraw fix cannot qualify bus electrical conditions. Use one test ID and separate conclusions.

Qualify the display, graphics software, and oscillator separately

Shenzhen-based SCTF lists SX2M27.000E20F30THN as a 27 MHz CMOS active oscillator. It is a reference candidate for a compatible board and does not identify a prototype's actual part. Processor, display interface, and panel timing can come from different sources or dividers. A nominal 27 MHz reference does not determine the redraw interval or fix omitted pixels. Specify full part number, power domain, clock type, and load separately from graphics acceptance.

Ask the module or system supplier for full-frame and partial-update conditions and region coordinate definitions. Test movements, hidden or smaller objects, and shortened text. Use the correct reference render after each change to determine which area must be reconstructed. If region merging or buffering changes for performance, repeat the same cases. A full refresh can help diagnose failure, but a product that uses partial updates needs to qualify that path.

When merging two dirty areas, retain which image change triggered the region. If another move occurs while an update is pending, compare against the latest reference and cover every old position still pending. Include two successive moves in acceptance.

Frequently asked questions

If a full refresh clears the icon, can we rule out the display module? It proves that two paths behave differently. Match the partial region and actual display data before assigning cause.

Can the old region simply be filled with the background color? Reconstruct the current content and stacking when that region includes other objects or textures. A plain background test does not qualify a complex layout.

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.