element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experts, Learning and Guidance
  • Technologies
  • More
Experts, Learning and Guidance
Ask an Expert Forum MC1377P video circuit drops to almost 0 when terminated with 75 ohm. Any ideas?
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experts, Learning and Guidance to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • Replies 12 replies
  • Subscribers 301 subscribers
  • Views 1112 views
  • Users 0 members are here
  • mc1377p
Related
See a helpful answer?

Be sure to click 'more' and select 'suggest as answer'!

If you're the thread creator, be sure to click 'more' then 'Verify as Answer'!

MC1377P video circuit drops to almost 0 when terminated with 75 ohm. Any ideas?

baldengineer
baldengineer over 4 years ago

A project I've been working on for several months, or years depending on how you count, is build a Mini Apple IIe. (Originally it was a portable, now its just a mini.) The key to the project is the MEGA-II ASIC from the Apple IIgs. It contains all of the support logic found in old Apple II computers. (Approximately 80 7400-series chips!).

 

Since no one has ever used the MEGA-II in this way, I decided to build a couple of prototype boards to test three key sections: 6502, MEGA-II, and VGC. Turns out, we have the 65c02 and MEGA-II to be seemingly working. It even attempts to boot the Apple IIe ROM. (And then it appears to panic.)

 

So, I moved our attention to the video board. There are two basic sections on the board: the digital side and the analog side. The digital side consists of the VGC (video graphics controller) ASIC and three 4-bit DACs for RGB. Long story short, the MEGA-II generates the classic Apple II video bitstream, the VGC+DAC section converts it to analog R,G,B.

 

The analog part of the video circuit is based on an MC1377 RGB-to-NTSC encoder. That is the part of the circuit giving me trouble. In this iteration of the project, I just copied the circuit from the Apple IIgs. (My final project won't have composite.) The problem is that when I attach a video receiver or terminate the MC1377's output with 75-ohms, its output drops from 2.6 Vpp to 300 mVpp. A bit too small.

 

Here's the circuit:

image

The Full KiCad file is available here.

 

Here's the comparison of output:

image

In both cases I am, effectively, probing at J18's signal. On the right, I terminate that node with a 75 ohm resistor. (Same behavior with an actual composite receiver.)

 

A bunch more waveforms and link to MC1377P datasheet here: https://www.baldengineer.com/mc1377-measurements-on-mini-apple-iie-prototype-video-board.html .

 

Any ideas why the output is clamping so hard?

  • Sign in to reply
  • Cancel
Parents
  • baldengineer
    baldengineer over 4 years ago
    Found It!

     

    There is a 220 ohm resistor on pin 9. geekboy1011 pointed out that the datasheet says when used with a 150 ohm resistor, the MC1377 should be drawing 60 milliamps. Initially, I misread the passage and dismissed it because the current draw was around 40 milliamps.

     

    Realizing we should be drawing 60 milliamps, I rechecked that resistor. A bad solder joint had it floating. After touching up the solder, the MC1377 now draws 60.0 milliamps (strange, right?). Most importantly, the video signal looks correct loaded, AND unloaded.

     

    image

    bar pattern on cold boot

     

    image

    bar pattern on warm boot/reset

     

    Based on my previous logic analyzer traces, I'm pretty sure the ROM is getting stuck very early in the boot process. It finds its way into the interrupt service vector, despite having IRQ de-asserted with a pull-up. Makes me think the code gets lost at some point. (However, the first 10 or instructions look right when compared to the IIe's ROM file.)

     

    But now that video outputs something and appears to output valid characters, I can get back to the boot process.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wolfgangfriedrich
    wolfgangfriedrich over 4 years ago in reply to baldengineer

    baldengineer

    Unrelated question: What video capture hardware are you using to display the composite video from your awesome project in OBS?

    Thanks,

    - W.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • baldengineer
    baldengineer over 4 years ago in reply to wolfgangfriedrich

    Currently, I'm using a RetroTink 2X Pro to capture the composite signal. That goes into a cheap ($20) HDMI-to-USB adapter.

     

    The RetroTink does have a little bit of trouble doing color with the IIgs video signal. I haven't tested the color modes on my board yet. But I copied the IIgs video circuit, so I suspect I'll have the same issue.

     

    Interestingly, the IIgs and the IIe generate the composite signal very different from each other. The II/II+/IIe all do the funky Woz stuff, which the RetroTnk handles fine. From what I can tell, the IIgs circuit is way more "legal" NTSC. But the RetroTnk can't lock on to the color burst for some reason.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • wolfgangfriedrich
    wolfgangfriedrich over 4 years ago in reply to baldengineer

    Your device chain generates really good quality. I have cheapo composite video-2-USB stick (can't find the exact model) and it has horrible artifacts and also has a tough time to lock onto NTSC colour signal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • wolfgangfriedrich
    wolfgangfriedrich over 4 years ago in reply to baldengineer

    Your device chain generates really good quality. I have cheapo composite video-2-USB stick (can't find the exact model) and it has horrible artifacts and also has a tough time to lock onto NTSC colour signal.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube