Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing CCD-bus state calculation in the background. #3

Open
laszlodaniel opened this issue Jun 7, 2020 · 2 comments
Open

Implementing CCD-bus state calculation in the background. #3

laszlodaniel opened this issue Jun 7, 2020 · 2 comments

Comments

@laszlodaniel
Copy link
Owner

Four bus-states need to be determined on-the-fly:

  • busy,
  • busy / idle transition,
  • idle / tx possible and
  • arbitration detector result.

Right now the first two states are established by an interrupt / timer task.
The third state is a simple 256 us delay right before writing data to the CCD-bus.
The fourth arbitration state is determined during the transmission of the first ID byte.
It would be much better if the same idle-timer would determine the first 3 states in the background.
The third state is especially sensitive to blocking delays.
An enumerated variable could store all 4 states in one place.

@panarama22
Copy link

Hi, could the library be used to make a clone of Chrysker's SKIM? Is it possible to develop a system that clones the SKIM module of a Wrangler 98-2006?

@laszlodaniel
Copy link
Owner Author

Hi, this has already been done by this company:

SKIM CCD emulator (1996-2001):
https://cartools.lv/Shop/product_info.php?products_id=145

SKIM PCI emulator (2001-2004):
https://cartools.lv/Shop/product_info.php?products_id=133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants