Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • darthvader's Avatar
    10-18-2020, 09:05 AM
    Hi ;) With the schematic it's allot easier to see how everything is connected together :) But i see that you are using the pins D34 to D37 for the external joystick , this pins are connected to the PSRAM and because...
    20 replies | 573 view(s)
  • darthvader's Avatar
    10-14-2020, 10:57 AM
    Are you going to use the PCM5102 for audio ? If yes , let me know , so i will look to add it on the new test board i have to do later this week :)
    20 replies | 573 view(s)
  • darthvader's Avatar
    10-13-2020, 12:30 PM
    Hi Jean Marc, Is it possible for you to made a real schematic ? From the PCB it's not really easy to know the connection if we do it on a test board ;) Thanks.
    20 replies | 573 view(s)
  • darthvader's Avatar
    10-11-2020, 10:59 AM
    Hi Jean Marc :) I will finish some code for my LCD Maximite 2 on STM32 first on this board ( https://www.waveshare.com/product/mcu-tools/development-boards/stm32-open/openh743i-c-package-b.htm ) and i will try your new...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-13-2020, 08:27 PM
    Hi Jean Marc :) I just tested your new lib , it work well. But i have to compile for 'smallest code' , in other mode they are more glitch in screen. 640x480 is one of the mode that work at best actually , but i don't...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-13-2020, 10:52 AM
    Great to ear it finally work :) I have code other project in that time (colour maximite 2 with 1024x600 LCD) Last code was : https://drive.google.com/file/d/1cuT6xqE7OqCBtNcQd_AwLePSVZRvaxpo/view from post #104. And...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-12-2020, 07:19 PM
    Hi , to overcome the tiny 320x240 SPI LCD , have you consider to use something like this chip ? : http://www.vlsi.fi/en/products/vs23s010.html I don't know the max res we can get but it's for PAL/NTSC composite ,...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-06-2020, 07:57 PM
    Hi Jean Marc :) Any news on the project ? , i have work on some other project and hope you advance in your VGA problems ...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-03-2020, 07:27 PM
    Hi , I finally made the drawfullpolygon , it seem to work now :) Code is here : https://drive.google.com/file/d/1cuT6xqE7OqCBtNcQd_AwLePSVZRvaxpo/view?usp=sharing Cheers.
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-02-2020, 05:43 PM
    I just get my new scope :) I see that after the last pixel from the last line you just wait 6 lines for the V front porch ... it have to be 11 (for 640 x 480) , the vsync itself is OK with 2 lines. A little pics here...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-02-2020, 01:20 PM
    Hi , i continued with functions in VGA_T4 , now you can use polygon too :) draw_h_line , draw_v_line mod to accept negative length value. I will try to do a drawfilledpolygon but i got some problem with the filling...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-01-2020, 02:50 PM
    What you explain with the 2D HW Block is like it work on STM32F7xx / H7xx with the LTDC and DMA2D ;) ... but you need to have the corresponding pins available ...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    09-01-2020, 11:33 AM
    Hi , I optimized the drawcircle , the test if pixels x,y was > to 0 is now useless because it's tested in drawpixel. The precalculed sin/cos and ABS declaration are now in VGA_t4.h , so they are accessible from...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-31-2020, 09:30 PM
    With byte decomposed in 2 parts it will not be easy to resolve for the DMA. And use a little SPI LCD for Amiga emulator it's not the ideal way :) A SPI LCD with more resolution will become too slow at refresh rate...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-31-2020, 09:05 PM
    I just found my Ellipse bug :) replace rad2 = radius1; with rad2 = radius2; that's it :rolleyes:
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-31-2020, 07:29 PM
    Hi , i've found bug in VGA_T4 , i corrected it , that was the pixel who can go out the screen and it append some time a freeze from the T41. Now it's OK :) I made 2 new easy function : void draw_h_line(int16_t x1,...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-30-2020, 12:14 AM
    Hi :) I just tested your new VGA_T4 lib , now the 640x480 is perfect , it's just little blue but no more pixel shift ;) Your code is so far away from what i understand on T41 !! , where do you get all information's ?...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-28-2020, 03:26 PM
    Well , i'm not good enough with this MCU to tell you if it's ok or not for triggering 2 FLEXIO with only one signal :) But for the FLEXIO3 it's sure that it will slow down everything without DMA. And like Jean Marc ,...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-28-2020, 10:58 AM
    I just got a stupid idea ... but not sure that's so stupid :) and go in a total reverse way than VGA ... As all this emulator emulate ooOOooOOooLD machines , and all this old (computer) have use PAL or NTSC signals to...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-28-2020, 09:18 AM
    Pins 48 to 54 are in use for the PSRAM , so , it's not possible to use them :) I have take a look at the LCDIF pins with the nxp pin tool , all what we need is on FLEXIO2 but some pins are not accessible , the T41 just...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-27-2020, 07:29 PM
    Some times ago , Bitluni made allot of test about VGA on ESP32 MCU. https://github.com/bitluni/ESP32Lib I compiled all timing and put them in a PDF that you can take here :...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-26-2020, 08:25 PM
    Hi , I don't have try char actually , just have try to have better image , it's like the FlexIO1 and FlexIO2 are shifted on 2 pixels , but i don't understand how all it's done ... If you have some docs that explain...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-25-2020, 08:22 PM
    Hi :) I was involved in the 1st Maximite and Colour Maximite , and was so to say my job to made and fix keyboard for some country. After that my work evolved and i was no more able to stay active in the project....
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-25-2020, 11:16 AM
    The VGA Standard say to output vsync every 16.6832mS that is 1000/16.6832 = 59.94Hz I don't have made any PCB here :o , i just take my 8 year old R2R VGA DAC PCB and fitted the some resistances that was needed and pull...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-25-2020, 10:24 AM
    Hi :) I have now 640x480 full screen , apparently the left black border was from reading empty memory (i think) , i shifted the start address from FlexIO memory start and the black band vanished Here is the code...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-24-2020, 04:40 PM
    On my scope it measure 29.9Hz for the vsync (see the picture). And is bad that the DMA is too slow , will be good to see the max speed reach from the DMA at outputting FlexIO bytes. The 548x480 mode must normally have...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-24-2020, 03:08 PM
    Hi , Is fb_stride supposed be the length of a whole line ? i mean , 640 pixels + frontporch + vsync + backporch ? If yes , then the vsync lenght itself was not there , i added it but the result stay same. I have...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-24-2020, 09:26 AM
    Wow , allot better now :) On the scope the vsync is good now. Before ? , Hsync have to be after the pixels. With hsync to 1 put the 640 pixels out then wait front porch (16 pixels) , put hsync to 0 , wait...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-23-2020, 10:48 PM
    I don't have wait tomorrow for put the signals under my scope :) On your HSync , you don't have add the frontporch , i created a var and added the 16 pix. After this i recompiled and the 640x480 stop dancing in the...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-23-2020, 08:44 PM
    The pixel clock is not so high , it's just 25.175Mhz for 640x480 60Hz. And yes , is strange that the sync are after the pixels :) , i scrapped my head around and lost some hair when i do it in 2012/2013 ... The...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-23-2020, 03:11 PM
    Hi :) I have DL and test MCUXpresso Config Tools , i have a demo that use PXP (pixels stuff to LCD) and you right , the T4.1 don't output enough of pins , LCD_CLK and LCD_ENABLE is not used by VGA , Only HSYNC , VSYNC...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-23-2020, 12:57 PM
    I just discover something interesting in this i.MX RT1060 document. https://drive.google.com/file/d/1q7aImWlO3-phsiTVXsSfwYTk7w1V9krD/view?usp=sharing Page 11 : 8/16-bit CSI interface and 8/16/24-bit LCD interface ,...
    114 replies | 3192 view(s)
  • darthvader's Avatar
    08-23-2020, 10:39 AM
    The margin have to be in the buffer you created for the picture. For 640 x 480 resolution you have the 640x480 pixels in buffer. So , for 512x480 you still have 640x480 pixels in buffer :) It's just that you made 64...
    114 replies | 3192 view(s)
No More Results
About darthvader

Basic Information

About darthvader
Location:
France
Interests:
Robotic , programming , electronics
Occupation:
Robotic engineering

Statistics


Total Posts
Total Posts
59
Posts Per Day
0.79
Last Post
DOOM running on the Teensy 4.1 with VGA output 10-18-2020 09:05 AM
General Information
Last Activity
Today 06:29 AM
Join Date
08-09-2020