Quote:
Originally Posted by sig11
It is very bad..
Probably needed to use another port?
|
What do you suggest? I tried to make driver for my touchpad but with no success, I don't have enough experience. I even asked WANNABE to disassemble my original firmware to elicit this driver, but ASM code is too confusing to me so I gave up.
Quote:
Originally Posted by sig11
I have disabled any interrupt
|
#define DMA_DISABLE_INTERRUPT { read_creg(%imask, imask_tmp); bitclear_creg(%imask, 15); }
#define DMA_ENABLE_INTERRUPT { write_creg(%imask, imask_tmp);}
is this enough? I used it to disable interrupt while managing SDRAM transfer. But I always enable it once transfer is done. If I disable it completely, it wont crash then? How about this screen refresh, it refreshes screen after main() is ended. Are you uploading graphics directly to LCD_DATA memory?
Quote:
Originally Posted by sig11
My application works above 6 hours from battery 
|
No wonder why, if you can manipulate sys freq in game Another improvement would be turning off the screen. I was messing around with the screen, and I managed to manipulate backlight driver of the screen that it can gradually get darker or brighter but I don't know if it can be introduced to RKP platform because of different LCD drivers (tested only on mine).