Hi,
Our product use R-car S4 and whitebox 5.1.
How to enable SPI(MSPI0CSS0) in dts and config?
Thanks!
Best Regards,
Johnny
Hi Jonny
To enable SPI in Linux, you can follow the manual in "R-Car S4 SDK Linux PKG with GCC compiler v3.16.2" package. Download it from: https://www.renesas.com/us/en/products/automotive-products/automotive-system-chips-socs/r-car-s4-automotive-system-chip-soc-car-servercommunication-gateway
I created a patch to enable and give control to driver domain. You can refer to it.
0001-ca55-Enable-SPI-for-DomD.patch
Duy Dang
I have two questions.
1. We want to enable SPI(MSPI0CSS0), but the patch which you provide is MSIOF0? Is that correct?
2. when we used the following two commands, the oscilloscope showed no signal at all. What could be the possible reason for this?
root@spider-domd:~# spidev_fdx -m 1 /dev/spidev0.0
root@spider-domd:~# spidev_test -v -D /dev/spidev0.0
Hi Johnny,
Sorry if I misunderstand your problem. The patch enabled MSIOF which supports SPI format in application domain.
MSPI is in control domain that is not in this forum scope. Could you please contact our official technical support?
More than 2 weeks have passed since this ticket was last updated. If this topic will be discussed continuously, please update it. If there is no update by 6/28, it will be automatically closed.If you have any updates or want to ask another question, please post new question.