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

Fixed SPI displays work with LGT8fx based boards #428

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

h4tr3d
Copy link

@h4tr3d h4tr3d commented Jun 25, 2023

Tested with BSP and ILI9341 SPI based display:

Issue:
SPI based displays work well with BitBang mode, but does not work with HW SPI.

Root cause:
AVR_WRITESPI() macrosses uses direct access to the HW but LGT8fx has a little bit different implementation. Also, standard implementation sounds like good for default use.

Thank you for creating a pull request to contribute to Adafruit's GitHub code!
Before you open the request please review the following guidelines and tips to
help it be more easily integrated:

  • Describe the scope of your change--i.e. what the change does and what parts
    of the code were modified.
    This will help us understand any risks of integrating
    the code.

  • Describe any known limitations with your change. For example if the change
    doesn't apply to a supported platform of the library please mention it.

  • Please run any tests or examples that can exercise your modified code. We
    strive to not break users of the code and running tests/examples helps with this
    process.

Thank you again for contributing! We will try to test and integrate the change
as soon as we can, but be aware we have many GitHub repositories to manage and
can't immediately respond to every request. There is no need to bump or check in
on a pull request (it will clutter the discussion of the request).

Also don't be worried if the request is closed or not integrated--sometimes the
priorities of Adafruit's GitHub code (education, ease of use) might not match the
priorities of the pull request. Don't fret, the open source community thrives on
forks and GitHub makes it easy to keep your changes in a forked repo.

After reviewing the guidelines above you can delete this text from the pull request.

Tested with BSP and ILI9341 SPI based display:
* LGT8fx: https://github.com/dbuezas/lgt8fx
* Nulllab: https://github.com/nulllaborg/arduino_nulllab

Issue:
SPI based displays work well with BitBang mode, but does not
work with HW SPI.

Root cause:
AVR_WRITESPI() macrosses uses direct access to the HW but
LGT8fx has a little bit different implementation. Also,
standard implementation sounds like good for default use.
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

Successfully merging this pull request may close these issues.

None yet

1 participant