Search found 7 matches

by Samip_veer
2025-05-21 12:16
Forum: Luckfox Pico-RV1103/RV1106
Topic: Spidev file not generated for slave
Replies: 14
Views: 3952

Re: Spidev file not generated for slave

As per your recommendations i tried with the loopback test and it is working okay and then tried to establish master and slave communication between two different devices and with partial success i was able to initiate communication but the data is not received properly at slave hereby sharing the ...
by Samip_veer
2025-05-20 7:37
Forum: Luckfox Pico-RV1103/RV1106
Topic: Spidev file not generated for slave
Replies: 14
Views: 3952

Re: Spidev file not generated for slave

Okay understood hereby sending you the boot.img for SPI master that i created which does not seem to work please check and revert what is the issue with the same
boot.zip (2.93 MiB)
SPI Master BOOT image
Downloaded 216 times
by Samip_veer
2025-05-17 12:19
Forum: Luckfox Pico-RV1103/RV1106
Topic: Spidev file not generated for slave
Replies: 14
Views: 3952

Re: Spidev file not generated for slave

My point is i am trying to do a establish a communication between (luckfox-pico-mini-B(slave)) to (luckfox-pico-mini-B(master)), I have configured both the devices and modified the device tree but not able to to establish communication there were following issues :-

1) Slave side spidev0.0 device ...
by Samip_veer
2025-05-15 14:15
Forum: Luckfox Pico-RV1103/RV1106
Topic: Spidev file not generated for slave
Replies: 14
Views: 3952

Re: Spidev file not generated for slave

Thank you for the boot.img file now the device is being generated
Hereby attaching logs for the same

[root@luckfox root]# cat /var/log/messages | grep "spi"
Jan 1 00:00:05 luckfox kern.warn kernel: [ 0.088929] rockchip-spi ff500000.spi: no high_speed pinctrl state
Jan 1 00:00:05 luckfox kern.err ...
by Samip_veer
2025-05-15 7:05
Forum: Luckfox Pico-RV1103/RV1106
Topic: Spidev file not generated for slave
Replies: 14
Views: 3952

Re: Spidev file not generated for slave

Burning of the boot.img is probably correct but while compiling the kernel i am getting the following warning regarding SPI

/home/samip/luckfox-pico/sysdrv/source/kernel/arch/arm/boot/dts/rv1106.dtsi:1059.21-1072.4: Warning (spi_bus_bridge): /spi@ff500000: incorrect #address-cells for SPI bus ...
by Samip_veer
2025-05-14 8:46
Forum: Luckfox Pico-RV1103/RV1106
Topic: Spidev file not generated for slave
Replies: 14
Views: 3952

Re: Spidev file not generated for slave

Here by sharing details


[root@luckfox slprograms]# cat /var/log/messages | grep "spi"
Jan 1 00:00:00 luckfox kern.info kernel: [ 0.088934] spi-nand spi2.0: Winbond SPI NAND was found.
Jan 1 00:00:00 luckfox kern.info kernel: [ 0.088961] spi-nand spi2.0: 128 MiB, block size: 128 KiB, page size ...
by Samip_veer
2025-05-13 12:38
Forum: Luckfox Pico-RV1103/RV1106
Topic: Spidev file not generated for slave
Replies: 14
Views: 3952

Spidev file not generated for slave

I am using luckfox-pico mini B and want to use it as a SPI slave device but spidev0.0 is not generated in /dev folder hereby sending my device file code and slave code.
---------Device tree code ---------------

&spi0 {
status = "okay";
spi-slave;
slave {
compatible ="rockchip,spidev";
reg ...