spidriver
spidriver copied to clipboard
Mode control - how?
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
Yes, that is correct. SPIDriver only runs in mode 0.
What device do you have that runs in another mode?
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?
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...
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?