mamin27 / H616-mangopi

DTS file for setting MQ-Quad / MCore-H616 board
MIT License
17 stars 2 forks source link

SPI for H616 for MQ quad (pink board) #4

Open wareck opened 1 year ago

wareck commented 1 year ago

Hello have you already tested this patch on a MQ-Quad ? It seem's to work using the sun50i-h616-orangepi-zero2.dtb file (spidev0.1 enabled) it seems to transmit data on spi port, but there is some timing issue. I don't realy know what's happening (i'm in a hotel room with very limited tools), but it's seems to be a pin number issue like CS or something like that.

If you have some feedback about this , thanks to share

best regards olivier

wareck commented 1 year ago

Hello I've worked on it, i found that there is an error on CS pins on mq quad, when spi0 is enabled, CS1 pin is enabled I think CS0 and CS1 were swapped on the board

mamin27 commented 1 year ago

Thank you for your attention. I will close the ticket because you fixed the issue yourself.

mamin27 commented 1 year ago

Needs to be confirmed by somebody else.