Giter VIP home page Giter VIP logo

sw7456's Introduction

SW7456

A software emulation of a MAX7456 OSD chip running on a ARM cortex M0+ MCU.

It is meant to be a drop in replacement for an AT7456 chip, using the same SPI interface as a real chip. The project was built for an STM32G071 chip, but could run on an STM32G031 if the video generator is compiled out.

A schematic for the hardware, that is needed to run this software, is avalable at https://www.moddquad.com/p/fc.html or https://github.com/ModdQuad/ModdOSD/blob/master/Hardware/modd_osd_reference_schematic.png . The software is built using STM32Cube IDE which is available for free at ST Micro's website www.st.com.

Most feature are implemented including; Attribute bits (local background, blinking, invert) Generates its own video signal when none is present. Automacically switches when camera is reconnecated. horizontal and vertical adjustment and brightness setting via 7456 registers

Known issues:

  1. No SPI read compatability. Only write compatability. all SPI reads will return the value 0x00.

  2. Line start detection quanitization This causes lines to start at slightly different times (around 1/8 of a pixel width) which make vertical lines less crisp. All software OSD will suffer from this issue to some degree, I did my best to minimize the artifact.

Any MCU can only detect things at its own clock rate. Anything that occurs in between two clocks will be detected at the next clock. This implementation uses a 64MHz clock and a two cycle M0+ pipline. Using a higher clock will reduce this artifacting.

  1. Some pixels get extended during SPI communication SPI data is read using DMA, this is required because 80% of the time the MCU is drawing pixels. The artifact occurs because the DMA inserts wait states into cpu execution. This can be mitigated by choosing a MCU with RAM split into multiple banks that can accessed simultaneously.

sw7456's People

Contributors

moddquad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.