Skip to content

Mode control - how? #25

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

Open
mgaman opened this issue Apr 30, 2020 · 4 comments
Open

Mode control - how? #25

mgaman opened this issue Apr 30, 2020 · 4 comments

Comments

@mgaman
Copy link

mgaman commented Apr 30, 2020

How can I set modes 0-3? From what I see on the screen SCLK polarity is always Idle at 0.
There are no instructions as how to change it

@jamesbowman
Copy link
Owner

Yes, that is correct. SPIDriver only runs in mode 0.

What device do you have that runs in another mode?

@mgaman
Copy link
Author

mgaman commented May 1, 2020

I don't, yet but do anticipate in the near future.
Can it be changed via the serial connection or is it hard wired in the device firmware?

@nicktramp
Copy link

I was looking to use SPIDriver with the Melexis MLX90393, which uses SPI mode 3. Are other modes planned? I would offer to help implement, but I've never encountered Forth outside this project, so I'm afraid I wouldn't be much help...

@movingfox
Copy link

I can see that it's hard to be done because the firmware needs to drive st7735s at SPI mode 0 as well. Could you release a 'blind' version of firmware for those who'd like to have spidriver2 mode selection ? That seems to be a dirty but quick fix.

By the way, the file cal-b3.fs is missing in the firmware folder. Could you upload it?

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

4 participants