Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 7 of 7

Thread: Porting TVout lib on Teensy 3.2

  1. #1
    Junior Member
    Join Date
    Dec 2017
    Posts
    4

    Porting TVout lib on Teensy 3.2

    Hi everyone

    I recently discovered the fabulous teensy 3.2 board, and quickly wanted to make some projects involving the TvOut lib.
    Unfortunately, i'm getting lot of troubles with the register's and timer's names that are of course not recognized during the compilation, and i didn't found any updated version for the ARM chip.
    I also tried to find some infos in the chip datasheet to port the lib by myself, but it seems that it's a bit to complex for me atm...

    Does someone know if a ported version exists ?
    What should i use/do to make it by myself ?

    Thanks in advance.

  2. #2
    Senior Member+ Theremingenieur's Avatar
    Join Date
    Feb 2014
    Location
    Colmar, France
    Posts
    1,457
    Two possibilities: 1.) you study the K20 reference manual and port the library yourself (don't forget, partaking in these forums is not only taking, but it is giving, too), or
    2.) You go away from the TV idea (which in ever case is bad for your eyes) and you switch over to VGA, as described in this thread: https://forum.pjrc.com/threads/45916...?highlight=vga

  3. #3
    Junior Member
    Join Date
    Dec 2017
    Posts
    4
    Thanks for your quick answer !

    1.) -> Already done (as i said), but seems that i clearly don't have the level to understand this, so i was hopping for some more precise help
    2.) -> Already found this too, but it would be more easy for me to use the TVout, especially because i don't have the right components for making the vga setup

    Also found other threads, similarly asking for the tvout port, but the only answer was to go use the vga lib... quite disappointing, if i may say
    Anyway, will see what i can do...

  4. #4
    Junior Member
    Join Date
    Dec 2017
    Posts
    4
    Maybe just getting the registers/timers table could help me to figure out how i can do this

  5. #5
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,104
    I've built a VGA board - and gotten the specific resistors to make it work - takes 8 pins for color and the two for sync - so eats pins for sure. A bit of a routing challenge.

    It was just the one contributor that started VGA that and it is nice. The TV out should be simpler it seems - but mapping to the Teensy would be the catch. I only have one 'TV' I think - and my wife tried to throw that out once - a big 12" monitor

    I've seen some posts putting displays on oscilloscopes - you might refer to them as that should show using an analog pin and sync if they link to their code.

  6. #6
    Junior Member
    Join Date
    Dec 2017
    Posts
    4
    Np, i found another solution : use an Arduino as a 'GPU'/video buffer linked with Serial to the teensy, that will perform the main code (want to make some 3D :3)
    Just need to check if building a serial between the 3.3V teensy and the 5V arduino is a problem or not, since the teensy 3.2 is 5V compatible.
    Will post if i get any news on TVout port, thanks for replying

  7. #7
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    6,104
    That sounds like a decent interim solution - of course Teensy's better resources would be better equipped - and generally cheaper for so much more.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •