spidriver icon indicating copy to clipboard operation
spidriver copied to clipboard

Mode control - how?

Open mgaman opened this issue 4 years ago • 4 comments

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

mgaman avatar Apr 30 '20 09:04 mgaman

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

What device do you have that runs in another mode?

jamesbowman avatar Apr 30 '20 16:04 jamesbowman

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?

mgaman avatar May 01 '20 07:05 mgaman

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...

nicktramp avatar Jul 22 '20 17:07 nicktramp

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?

movingfox avatar Feb 13 '22 15:02 movingfox