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
At The Core Design Challenge
  • Challenges & Projects
  • Design Challenges
  • At The Core Design Challenge
  • More
  • Cancel
At The Core Design Challenge
Blog ATCDC: Digimorf, Day 7, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit!
  • Blog
  • Forum
  • Documents
  • Leaderboard
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join At The Core Design Challenge to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Digimorf
  • Date Created: 6 Mar 2023 5:20 PM Date Created
  • Views 706 views
  • Likes 8 likes
  • Comments 3 comments
  • infineon
  • PSoCTm︎ 62 MCU
  • element14
  • timer
  • pwm
  • hal
  • pdl
  • challenge
Related
Recommended

ATCDC: Digimorf, Day 7, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit!

Digimorf
Digimorf
6 Mar 2023
ATCDC: Digimorf, Day 7, The project SEGA SG-1000 Emulator on PSoC62S4 Pioneer kit!

A week passed since I started my adventure with the PSoC6, and I can say it's a love & hate Sweat smile

As I said I will implement a VGA signal generator, and I have selected ports and pins to use. The "love" is that this chip offers a wide range of possibilities for configuration. The "hate" is that I'm not used to this degree of freedom and there are several new concepts to digest. Sweat smile

I have to choose the approach to use for this project. Here is where the "fun" part starts: HAL, PDL, or...  The point is that I want to use as many I can standard tools offered by ModusToolbox, as well as standard libraries. This project must be easily used by everyone. Keeping that in mind I would like to use the inline comments as a guide, and the configurators as tools to lay out the code. All in all, this is the goal of Infineon, I presume.

Let's go back to the project. The first step is to create a PWM signal which period is the horizontal period of a video scanline, and the "negative" duty cycle is the horizontal sync. 

VGA signal

Then, an interrupt should be called each PWM period (scanline) so that we can drive the vertical sync by counting the lines. This is the most popular way to implement the VGA synchronization signal.

The Device Configurator is very useful to set up the tcpwm stuff, I am still confused about the events/interrupts, but it's a question of learning the PSoC6 way.Blush

  • Sign in to reply

Top Comments

  • dougw
    dougw over 2 years ago in reply to Digimorf +1
    PSoC Creator definitely was/is spectacular. I haven't tried the newer tools yet because I still use the older modules with PSoC Creator.
  • Digimorf
    Digimorf over 2 years ago in reply to dougw

    Yes, I would have used now for the development of the VGA video driver. Since I am in the middle of the learning curve for Timers/Counters & Co. So, a real time schematic view of the system I'm working on would have been very helpful.

    In fact, things here are getting "complicated". I knew that the video generation without the specific hardware would have been challenging . But, if an Arduino Uno can generate a VGA standard video frame, even if a poor resolution, this board could do it also!

    I will explain what's going on in the next post.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 2 years ago in reply to Digimorf

    PSoC Creator definitely was/is spectacular. I haven't tried the newer tools yet because I still use the older modules with PSoC Creator.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Digimorf
    Digimorf over 2 years ago

    What a pity, I just have been told that PSoC Creator doesn't support the PSoC62S4. I had a quick tour on it and the schematic editor is a great tool for laying out an application. Also it is a nice way to build a diagram for the documentation. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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 © 2026 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