18F87J50 - BMPDrawer Slow
Posted: Mon Sep 02, 2019 4:35 am
Hey Guys,
We are working on moving the code for some of our controllers here from MicroC to Flowcode;
the issue I am currently struggling to solve is the draw speed of images to a TFT Proto display, MI0283QT-9A (RS: 791-6378), from a PIC18F87J50, with a 8MHz external crystal oscillator.
I found that whilst it runs at a reasonable speed in the simulation (although still quite slow), it runs roughly 4x slower. I tried playing around with the clock speeds to only minimal success whereas our old solution using MicroC runs almost 2x the speed that the simulation runs the screen draw.
I have included a test image with the code, in the actual solution I am drawing to almost the entire display with a similar pixel depth.
any help you provide would be much appreciated
Ash
We are working on moving the code for some of our controllers here from MicroC to Flowcode;
the issue I am currently struggling to solve is the draw speed of images to a TFT Proto display, MI0283QT-9A (RS: 791-6378), from a PIC18F87J50, with a 8MHz external crystal oscillator.
I found that whilst it runs at a reasonable speed in the simulation (although still quite slow), it runs roughly 4x slower. I tried playing around with the clock speeds to only minimal success whereas our old solution using MicroC runs almost 2x the speed that the simulation runs the screen draw.
I have included a test image with the code, in the actual solution I am drawing to almost the entire display with a similar pixel depth.
any help you provide would be much appreciated
Ash