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

Search:

Type: Posts; User: Jean-Marc

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    111
    Views
    2,149

    I did not notice that with the vgatestpatern...

    I did not notice that with the vgatestpatern sample but if I run your drawing test, there is indeed at some point some small horizontal lines and I also noticed that the screen becomes black few secs...
  2. Replies
    111
    Views
    2,149

    Last version of the code has been pushed to the...

    Last version of the code has been pushed to the git !
  3. Replies
    111
    Views
    2,149

    I did not know that chip but I have good news......

    I did not know that chip but I have good news...

    Since 5 mins ago, the 640x480 more is working.... yeah!!!
    I used 2 shift registers combined with a 64bit destination DMA transfer.

    I will...
  4. Replies
    111
    Views
    2,149

    Hi, No, not really. I tried isolating the DMA...

    Hi,
    No, not really. I tried isolating the DMA code to ask more support on the forum but I finally decided to work on another project too.
    And no much more luck on the new project too ;-(
  5. Replies
    111
    Views
    2,149

    I will merge your changes this evening. May be we...

    I will merge your changes this evening. May be we should introduce cropping at pixel level for every primitives...
    Another idea would be to use the 2D HW block to provide Blit/ScaledBlit. Of course...
  6. Replies
    111
    Views
    2,149

    I will merge the changes tomorrow ;-) Still no...

    I will merge the changes tomorrow ;-)

    Still no solution for the DMA ;-(
  7. Replies
    111
    Views
    2,149

    No luck with the code...;-( I really believe...

    No luck with the code...;-(
    I really believe that the DMA copy in the interrupt does not fill the 4 shift registers...
    So below code is not behaving as expected.
    triggerSelect =...
  8. Replies
    111
    Views
    2,149

    I noticed that I needed the full DMA setup in the...

    I noticed that I needed the full DMA setup in the interrupt. Then your DMA config seems to work with minorLoopOperation=4(at least I get what I would expect with a single shiftbuf, with...
  9. Replies
    111
    Views
    2,149

    The code you propose results in a black screen....

    The code you propose results in a black screen.
    I was looking at your DMA copy code, trying to use it with a single shift register (at least I know what I expect on the screen for that one!)


    if...
  10. Replies
    111
    Views
    2,149

    Thanks a lot! I will try all that today if I...

    Thanks a lot!
    I will try all that today if I have the time between the various family trips planned. It is the last opportunity as tomorrow I am back to work...

    The code I had pushed 2 days ago...
  11. Replies
    111
    Views
    2,149

    Is it possible to combine 4 shift registers to...

    Is it possible to combine 4 shift registers to store 16 pixels in one go instead of 4?

    How do I do this?

    Now it copies 4 bytes per major loop into a single 32bits shift reg and I use...
  12. Replies
    111
    Views
    2,149

    There is no DAC on the Teensy 4. I am not sure...

    There is no DAC on the Teensy 4.
    I am not sure MQS can be used for video signal.

    BTW Bitluni used a tricky feature of the DAC on the ESP32.
    It was possible to use the I2S to output on the DAC...
  13. Replies
    111
    Views
    2,149

    Thank again for you support. I understand the...

    Thank again for you support.
    I understand the video PLL now and could use it at the place of the SW PLL.
    It does not really improve but I learned at least something new!

    I found why I have so...
  14. Replies
    111
    Views
    2,149

    The 2 DMAs cannot be started exactly at the same...

    The 2 DMAs cannot be started exactly at the same time as the DMA has a kind of queue of control.
    This is why the RRRG and GGBB per pixel are not in phase.

    You have to compensate by shifting the...
  15. Replies
    4
    Views
    190

    I reused the code of the AUDIO PLL. I get...

    I reused the code of the AUDIO PLL.

    I get something but it is not fully clear what I get.
    Is the below formula correct?

    F = (24MHz * (DIV_SELECT + NUM/DENOM) ) * POST_DIV_SELECT
    Reading the...
  16. Replies
    111
    Views
    2,149

    I finished the small PCB this morning. I added a...

    I finished the small PCB this morning.
    I added a joystick connector for a second joystick and I had to remap the analog joypad + button to other pins for convenience.

    I have been playing with the...
  17. Replies
    111
    Views
    2,149

    Nice setups! I am not really a HW guy as you...

    Nice setups!
    I am not really a HW guy as you probably noticed but I was always impressed at 9 years old when my father was creating PCBs.
    I am not a fan of PCBway. I still do PCBs myself, single...
  18. Replies
    111
    Views
    2,149

    I will have a look in the evening as my VGA setup...

    I will have a look in the evening as my VGA setup wires did break again ;-(

    I have to edge my PCB but of course the toner was empty and now I have to go with my family.
    I hope I have something...
  19. Replies
    4
    Views
    190

    Good idea Paul, thank you!

    Good idea Paul, thank you!
  20. Replies
    111
    Views
    2,149

    the hsync_wide should not be added to the...

    the hsync_wide should not be added to the fb_stride.
    The stride is just the distance between 2 lines of the frame buffer.
    One full line of the frame buffer (fb_stride) is what must be copied by the...
  21. Replies
    111
    Views
    2,149

    I cannot get the DMA copy at the proper frequency...

    I cannot get the DMA copy at the proper frequency for 640xY.
    It is flashing because of a too slow pixel clock for the DMA copy.
    Using the proper frequency results in corruption of the data so I had...
  22. Replies
    4
    Views
    190

    configuring and using video PLL on T4.1

    I would like to use the video PLL to drive my Flexio DMA copy.
    I use 2 Flexios (01 and O2).

    #define flexio_clk_sel 2 (to use VIDEO PLL)

    /* Set clock for FlexIO1 and FlexIO2 */
    CCM_CCGR5 &=...
  23. Replies
    111
    Views
    2,149

    last change... I changed the H-SYNC interrupt to...

    last change...
    I changed the H-SYNC interrupt to the rising edge (iso facing edge) by adapting the QTIMER code.
    It makes the parameters more meanful for me (back porch is then indeed after the...
  24. Replies
    111
    Views
    2,149

    It is still strange to me. Is the front porch...

    It is still strange to me.
    Is the front porch not the timing before the H-pulse goes low?
    I expect the line interrupt to occur on the falling edge so why to add the front porch before the RGB data...
  25. Replies
    111
    Views
    2,149

    Unfortunately 640x480 does not work. I created...

    Unfortunately 640x480 does not work.

    I created a 320x240 mode from the spec you shared.
    I compute every parameter from the timing. You can look in the code, I pushed on the GIT together with your...
  26. Replies
    111
    Views
    2,149

    If you want to misuse LCDIF for VGA and use...

    If you want to misuse LCDIF for VGA and use lowest 8 DATA lines it is already problematic.

    GPIO_B0_00 => LCD_CLK
    GPIO_B0_01 => LCD_ENABLE
    GPIO_B0_02 => LCD_HSYNC
    GPIO_B0_03 => LCD_VSYNC
    ...
  27. Replies
    111
    Views
    2,149

    I was aware of these chapters in the...

    I was aware of these chapters in the documentation but how do you get that out of the Teensy 4.1
    I am not sure the pins are exposed to the outside. I know that Paul had to do some sacrifices when...
  28. Replies
    111
    Views
    2,149

    That is the thread I used to setup the PCM5102 on...

    That is the thread I used to setup the PCM5102 on the T4.1 last week.

    There is no need to connect MCLK1 indeed.
    With the module I have, I also had nothing else to connect than vcc,gnd,bck,lck and...
  29. Replies
    111
    Views
    2,149

    You will be disappointed. Sound really messes up...

    You will be disappointed. Sound really messes up the all VGA output and vice versa... ;-(
  30. Replies
    111
    Views
    2,149

    I found.. This code will make us both happy ;-)...

    I found..
    This code will make us both happy ;-)
    if(keymodifier == 0x40){
    // ALTGR Key modifier FR Keyboard
    switch (key) {
    #ifdef LAYOUT_FRENCH
    case 233 : key = '~' ; break;
    ...
  31. Replies
    111
    Views
    2,149

    Sorry, I was absent for the day with my family......

    Sorry, I was absent for the day with my family...
    Just tried your sketch after selecting the proper layout in keylayouts.h.
    I tried French and French Belgian.

    I still have some problem with the...
  32. Replies
    111
    Views
    2,149

    Sorry, I forgot... The keyboard so USB lib is...

    Sorry, I forgot...
    The keyboard so USB lib is only initialized in the emulator when you launch the game/image.
    Else the callbacks were injecting keys in the emulator before the init....
  33. Replies
    111
    Views
    2,149

    I think I read that you have to init the USB_HOST...

    I think I read that you have to init the USB_HOST lib to have the 5v active.
    Do you have a sketch with USB running?
  34. Replies
    111
    Views
    2,149

    Teensy4.1 has just standard USB, not OTG. You...

    Teensy4.1 has just standard USB, not OTG.
    You just solder the connector (header pins) on top of the Teensy (close to the mini USB). 5 wires (2 gnd)
    . 5 volt is there too!
    ...
  35. Replies
    111
    Views
    2,149

    I forgot to mentioned that I get the keys as in...

    I forgot to mentioned that I get the keys as in the usbhost36 Mouse example library.
    I use the main callbacks as I am not interested in the special keys as Volume control...
    The keys I get looks...
  36. Replies
    111
    Views
    2,149

    Actually my keyboard is also AZERTY but somehow...

    Actually my keyboard is also AZERTY but somehow the USB library decodes it as QWERTY (a sends q...) ;-) Not sure what occurs with a real qwerty keyboard, I guess that table works.
    May be there is a...
  37. Replies
    111
    Views
    2,149

    Hi, Thanks for you clarifications! So at...

    Hi,

    Thanks for you clarifications!
    So at least 8bits colors mode FLEXIO is correct then. 12bits will have to be adapted and tested.

    I pushed the code of the emulator with USB keyboard support...
  38. Replies
    111
    Views
    2,149

    The 12bits mode is not tested an probably...

    The 12bits mode is not tested an probably incorrect too ;-(

    For 8bits mode is this also incorrect?

    the first FLEXIO (the IO I need starts at D0)
    parallelWidth = FLEXIO_SHIFTCFG_PWIDTH(4); ...
  39. Replies
    111
    Views
    2,149

    USB keyboard is working fine. I wired the...

    USB keyboard is working fine. I wired the connector and it all went fine with my wireless keyboard. I added a table for handling main keys in the emulator. It works but I have to handle the release...
  40. Replies
    111
    Views
    2,149

    Frank is definitively a great guy. Very...

    Frank is definitively a great guy. Very knowledgeable and who contributed to many things on this forum, next to his own projects.

    May be someone has a clue why i2s audio is also causing jitter on...
  41. Replies
    111
    Views
    2,149

    indeed, each emulator in MCUME (computer with a...

    indeed, each emulator in MCUME (computer with a keyboard) has a similar table.
    The table you pasted above is somehow derived from the I2C data read (see emuapi.cpp for details). Kind of row+col...
  42. Replies
    111
    Views
    2,149

    It is a great idea indeed. The I2C protocol is...

    It is a great idea indeed. The I2C protocol is quite simple. I just reads (one single read command) an array of bytes where each bit reflects the status of one key. I had 2 variants. 4 rows of 10...
  43. Replies
    111
    Views
    2,149

    May I ask you to try something for me... You...

    May I ask you to try something for me...
    You probably have a better cable than me and you also use the R2R ladder you proposed.
    Could try to activate sound in platform_config.h on the amiga...
  44. Replies
    111
    Views
    2,149

    The original idea was to create a portable amiga...

    The original idea was to create a portable amiga with the ILI display, so I had chosen to build a I2C interfaced keyboard matrix ;-)

    I did not try to add usb keyboard support but should be doable....
  45. Replies
    111
    Views
    2,149

    Thanks. I will merge your code into the git...

    Thanks. I will merge your code into the git tomorrow.

    In meanwhile, I pushed the VGA support code to the teensyuae41.

    https://github.com/Jean-MarcHarvengt/MCUME

    I was trying the all day to...
  46. Replies
    2
    Views
    264

    This is indeed using the teensy as an audio...

    This is indeed using the teensy as an audio device.
    I was looking at connecting a usb audio card to the teensy used as host.
    Just another way to output audio next to SPDIF, I2S...
    I am...
  47. Replies
    111
    Views
    2,149

    I will upload the schematic to the GIT website....

    I will upload the schematic to the GIT website. Thanks a lot!
  48. Replies
    2
    Views
    264

    USB audio on Teensy 4.1

    I saw some USB audio code in the latest SDK for the Teensy4.
    Is there an example for Audio output?
    Is the audio library supporting USB audio?
  49. Replies
    111
    Views
    2,149

    Emulator's code adapted for VGA is not yet...

    Emulator's code adapted for VGA is not yet published. Still trying to fix higher resolution for the Amiga and Atari ST!
  50. The pinkish colors issue has been resolved! It...

    The pinkish colors issue has been resolved!
    It was only occurring with the emulators because the key library was configuring some pins used for the RGB output as input again after the VGA library...
Results 1 to 50 of 162
Page 1 of 4 1 2 3 4