Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: qix67

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    205
    Views
    56,516

    Great work you too. When I see your demo, we can...

    Great work you too. When I see your demo, we can tell teensy CPU has a lot of computing power because all is performed without any dedicated hardware.
  2. Replies
    205
    Views
    56,516

    As Frank B says, these messages are normal. ...

    As Frank B says, these messages are normal.



    This first message acts as a reminder of the current resolution. Most of the time, default resolution is set but default resolution depends on...
  3. Replies
    205
    Views
    56,516

    displaying more than 256 colors using ... 8 bits

    While googling to find a solution to my flexbus latch problem, I find an interesting page.

    Instead of encoding pixel in RGB332 (RRRGGGBB), it is encoded in RGBI2222 (don't know if the term exists...
  4. Replies
    205
    Views
    56,516

    As I am kind of stuck on flexbus demuxing, I am...

    As I am kind of stuck on flexbus demuxing, I am trying a different approch using flexbus controller "twin", sdram controller :)

    Unlike flexbus, sdram bus is not multiplexed and thus requires no...
  5. Replies
    205
    Views
    56,516

    New trigger added: end of line. Note: this...

    New trigger added: end of line.

    Note: this trigger is driven by Hsync FTM. It triggers at position hsync_start if Hsync polarity is positive and hsync_end if Hsync polarity is negative.
  6. Replies
    205
    Views
    56,516

    I just pushed a new set of changes. The...

    I just pushed a new set of changes.

    The library now provides 3 possible triggers:

    start of image: at X=0, Y=-1 to avoid image disturbance
    end of image: just after last pixel of last line
    ...
  7. Replies
    205
    Views
    56,516

    That's also the solution I think of yesterday...

    That's also the solution I think of yesterday evening. This FTM channel cycle at the exact moment a new line start, between the last pixel of the previous line and the first pixel of the new line,...
  8. Replies
    205
    Views
    56,516

    I made an error, minor loop channel num linking...

    I made an error, minor loop channel num linking is not in the same register as address adjustment but with major loop counter.

    Triggering will be a problem only if frame buffer height is greater...
  9. Replies
    205
    Views
    56,516

    37.8MHz is the line frequency but if I trigger on...

    37.8MHz is the line frequency but if I trigger on end of pixel line, it is not the obtained frequency, it is 37.8Mhz * vres / vtotal ~= 36.18993Mhz because the trigger will not occur during Vsync...
  10. Replies
    205
    Views
    56,516

    I just taked a look to eDMA registers and make a...

    I just taked a look to eDMA registers and make a first attempt (not yet pushed on github).

    My code should already be able to trigger DMA channel in all modelines just after the last image pixel...
  11. Replies
    205
    Views
    56,516

    I think all of this is doable using either 1 DMA...

    I think all of this is doable using either 1 DMA channel or one for each case. At the end of each pixel DMA transfer (= 1 VGA line), it is possible to trigger another DMA channel. This is how the...
  12. Replies
    205
    Views
    56,516

    I think I am close to find a solution. I first...

    I think I am close to find a solution.

    I first tried to add various capacitors from 1-2pF to 100nF between latch VCC and GND but it changes nothing.

    I then add capacitor on VGA connector...
  13. Replies
    205
    Views
    56,516

    If the solution solves your usb-host problem, I...

    If the solution solves your usb-host problem, I think I can convert your code into DMA requests. There is already one request at end of each SRAM_U line, adding one more TCD should not be a problem....
  14. Replies
    205
    Views
    56,516

    No. I was wondering if I should put one on latch...

    No. I was wondering if I should put one on latch power input or one on each latch outputs.
  15. Replies
    205
    Views
    56,516

    mysterious grey lines

    I change my image settings to produce a wonderful 15x300 picture (yes, fifteen). Flexbus runs at 1/3 of bus speed, CS signal is delayed by 3 cycles and 63 wait-state cycles are added. This lets...
  16. Replies
    205
    Views
    56,516

    Unfortunately, no. Grey lines are always present,...

    Unfortunately, no. Grey lines are always present, whatever the CPU does. Weird thing, the logical analyzer shows nothing on flip-flop outputs (voltage may be too low due to resistors). Even weirder,...
  17. Replies
    205
    Views
    56,516

    Here is few news about flexbus version. ...

    Here is few news about flexbus version.

    Yesterday, I finally received my LVTH574DW and I solder everything this morning. Unlike my first prototype on breadboard, I have no more noise now. The...
  18. Replies
    205
    Views
    56,516

    It was my fault. lowering flexbus frequency or...

    It was my fault. lowering flexbus frequency or increasing analyzer speed fixed the problem.

    Now, I am waiting for my latest component (8 bit positive trigger flip-flop in soic20). The previous one...
  19. Replies
    205
    Views
    56,516

    I think I need more holidays (or sleep, perhaps...

    I think I need more holidays (or sleep, perhaps 5hr/day is not enough :eek:), yesterday was sunday and no mail is delivered on sunday.

    @Frank B: I have not received your parcel today but I have...
  20. Replies
    205
    Views
    56,516

    Not yet, no mail today at all but it still can...

    Not yet, no mail today at all but it still can come until ~2pm.
  21. Replies
    205
    Views
    56,516

    It is not mandatory. About pin 9, I found this: ...

    It is not mandatory. About pin 9, I found this:


    Where did you pick 5V from ? Vin or VUSB ? booster from 3.3v ?
  22. Replies
    205
    Views
    56,516

    I successfully moved the sections by modifying...

    I successfully moved the sections by modifying mk66fx1m0.ld and verified using objdump but unfortunately, it changes nothing.

    I should receive my new logic analyzer soon. It will be able to work...
  23. Replies
    205
    Views
    56,516

    Or not :mad:, one more time...

    Or not :mad:, one more time...
  24. Replies
    205
    Views
    56,516

    I think I have found why usb usage is disturbing...

    I think I have found why usb usage is disturbing image generation. The problem is not in fact USB itself but the location of its descriptors and buffers.

    2 sections are defined in usb_dev.c and...
  25. Replies
    205
    Views
    56,516

    What a nice little board :) I PM you address....

    What a nice little board :) I PM you address. Thanks.
  26. Replies
    205
    Views
    56,516

    Unfortunately, that's already what I did. The...

    Unfortunately, that's already what I did. The only solution I can see is fixed point arithmetic but this means uint64_t usage at least during multiplications and divisions which may be even slower....
  27. Replies
    205
    Views
    56,516

    Yes, all of them with a bunch of sqrt, sin, cos,...

    Yes, all of them with a bunch of sqrt, sin, cos, * and / . FPU is not bad at all but integer<=>float conversions seems to be rather slow. Performing all computations is faster than having a part of...
  28. Replies
    205
    Views
    56,516

    I just committed code allowing creation of...

    I just committed code allowing creation of modelines with black border on top and bottom of the screen.

    I also add a new 240MHz demo (puls) using such a modeline. The demo is a bit slow (~ 2 fps)...
  29. Replies
    205
    Views
    56,516

    As expected, my monitor rejects both mode because...

    As expected, my monitor rejects both mode because they are not 60Hz. My TV also fails to recognized them and cycle between backlight on and off.

    Does these modes works with 60MHz F_BUS ?
  30. Replies
    205
    Views
    56,516

    I plan to add new parameters to modeline settings...

    I plan to add new parameters to modeline settings to create something like letterbox image. Only 2 new parameters should be required, the number of lines to display as empty lines at top and bottom...
  31. Replies
    205
    Views
    56,516

    I will try them on my TV this evening because my...

    I will try them on my TV this evening because my monitor seems to reject all non-60Hz modelines.

    Position shifts have no formula, they are obtained through experiments. The only constraints are...
  32. Replies
    205
    Views
    56,516

    I though this just worked only when pin is used...

    I though this just worked only when pin is used as input ?

    In any case, even is this work on output pin, you may waste some useful time. An interrupt on DMA end occurs when the last pixel of frame...
  33. Replies
    205
    Views
    56,516

    Technically, it is possible to have an interrupt...

    Technically, it is possible to have an interrupt when the last pixel of the frame buffer is sent by the DMA but polling a variable set by interrupt will be slower than polling DMA register directly....
  34. Replies
    205
    Views
    56,516

    I also have it. This kind of problem appears when...

    I also have it. This kind of problem appears when something is not drawn fast enough to be present on each frame. Here is an example.

    From the start of Vsync, do the following things:
    Clear...
  35. Replies
    205
    Views
    56,516

    Nice find, I totally missed this part of the...

    Nice find, I totally missed this part of the reference manual.

    This morning, I tried my new flexbus hardware and I discovered several things:

    soldering a 74LVC1G04 (NOT gate) in...
  36. Replies
    205
    Views
    56,516

    I checked and it is a monitor glitch. If you draw...

    I checked and it is a monitor glitch. If you draw a black or white Vline at x=228, you can see the line width (1 pixel) is bigger than the size of the dark line. The funny thing is we both have the...
  37. Replies
    205
    Views
    56,516

    FTM channels should not be affected by F_BUS...

    FTM channels should not be affected by F_BUS change. However, the exact value and the truncated value obtained in FTM MOD computation may be too far which generate this side effect.

    This means I...
  38. Replies
    205
    Views
    56,516

    My video was made on my TV and I add no problem...

    My video was made on my TV and I add no problem at this time. It is an old (>12yo) 42" 1080i toshiba (not even 1080p).
  39. Replies
    205
    Views
    56,516

    I just tested TX because I have nothing really...

    I just tested TX because I have nothing really connected.

    The code is very simple. I use add
    Serial5.begin(115200); in setup and
    Serial5.println("x");in loop. My loop is empty because the...
  40. Replies
    205
    Views
    56,516

    I know. Serial1 and Serial 2 both have 8 bytes...

    I know. Serial1 and Serial 2 both have 8 bytes FIFO, all other Serial only have 1 byte fifo.

    This weekend, I plan to try 2 things. Using a different FTM as Hsync generator, I have seen that...
  41. Replies
    205
    Views
    56,516

    If you draw your bars using my uVGA functions,...

    If you draw your bars using my uVGA functions, maybe you encountered a bug. In uVGA_gfx.cpp, you can try to disable a little optimization by commenting the line

    #define FAST_HLINE
  42. Replies
    205
    Views
    56,516

    I just did a little test on all Serial. When...

    I just did a little test on all Serial. When transmittiing data on Serial2 and Serial4, there is no problem, image is perfectly stable. Serial3 is not usable because its pins are used by Red signal....
  43. Replies
    205
    Views
    56,516

    Sometimes, I have a similar problem. I just force...

    Sometimes, I have a similar problem. I just force the monitor to auto-adjust and it fixes the problem.



    How do you force F_BUS @120MHz ? I though it should not go higher than 60Mhz
  44. Replies
    205
    Views
    56,516

    I just noticed something in what you say. Does...

    I just noticed something in what you say. Does this means you have no problem when using serial[2-5] or even serial1 as long as it is not connected using USB ?
  45. Replies
    205
    Views
    56,516

    Well, I forgot to say spheres demo runs only...

    Well, I forgot to say spheres demo runs only @240MHz. The code works in all resolutions with your change but in 703x300, it takes too much time to clear the frame buffer. When there is too many...
  46. Replies
    205
    Views
    56,516

    The line displacements are very weird. It seems...

    The line displacements are very weird. It seems to affect more some color than other.

    On the following photo, blue lines seem to be more disturbed than green lines. The strangest one are the 3rd...
  47. Replies
    205
    Views
    56,516

    I think there is at least one problem coming from...

    I think there is at least one problem coming from either noise or grounding problem. I don't think DMA slows down, I think the pixel displacements are a side effect produced by the monitor due to...
  48. Replies
    205
    Views
    56,516

    I just committed a new version allowing static...

    I just committed a new version allowing static frame buffer usage. I tried to make it as simple as possible to use.

    I add various macros at the end of uVGA.h and I add an example in README.txt...
  49. Replies
    205
    Views
    56,516

    Another explanation is a shielding problem. USB...

    Another explanation is a shielding problem. USB signals may generate electromagnetic noise disturbing the VGA signals.

    How wonderful is my cable shielding :rolleyes: but I used small cat6 network...
  50. Replies
    205
    Views
    56,516

    I finally took time to make a video. ...

    I finally took time to make a video.


    https://www.youtube.com/watch?v=4QVOPZZm7-g

    The video shows the hardware and all demos. I packed nearly all of them in a single program. Teensy runs...
Results 1 to 50 of 86
Page 1 of 2 1 2