Activity
From 03/15/2017 to 04/13/2017
03/21/2017
- DV 07:21 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- Im thinking it's related to the preloader. The preloader is the one who does all the pin muxing for the HPS peripherals (including muxing any of these interfaces to the FPGA). If any HPS peripheral or any of the bridges between HPS and F...
- JK 07:06 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- Hello Dan,
When re-building an SD card image using my kernel (uImage), the DTB you attached, and the FPGA image (.rbf), U Boot image, and preloader image you attached, I am able to see data in the receive buffer.
That suggests to m... - DV 04:19 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- I've attached my preloader/uboot/fpga image.
I've also attached the spi_test c++ code I was working with, I've removed the chrono's part because I was having issues with getting to build with my toolchain (I'm not sure if it supports ... - JK 03:00 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- Hello Dan,
I replaced the uImage on my SD card (at /boot) with the uImage I sent you (to ensure it's the same as what you tested), and replaced the DTB with the DTB you attached (also in /boot).
I rebooted the card and ran the C++ ... - DV 02:07 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- I've tried your kernel and the RX buffer is still working. I couldn't get uboot to actually boot your device-tree, I try rebuilding it and that didn't work either.
I've attached the dts/dtb I'm using.
Dan - DV 12:29 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- I've tried it with our 3.16 kernel and Altera's 4.1.22 and 4.1.22 RT kernel. All get data on the RX side. I'll try your kernel and device tree this morning and get back to you.
Dan - JK 12:26 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- Hello Dan,
I've attached the requested files (Linux 4.1.22 LTSI RT branch compiled into "uImage" with defconfig "socfpga_mitysom5csx_custom_defconfig", and the device tree binary and source files).
That you were able to get the exp... - DV 12:41 AM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- Hi Jared,
Unluckily I wasn't able to recreate the issue you are seeing. My RX buffer has the expected 0x8330 instead of 0x0000 after running. Would you mind posting the following: uImage, DTB, and DTS?
I'll try to run with your uIm...
03/20/2017
- DV 07:53 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- Hi Jared,
I'm in the middle of recreating your test with one of our dev kits. I'll connect up the MOSI to the MISO in the FPGA and run your test app. I'll let you know what I see, should be by end of day. I'll look into the RX issue f...
03/15/2017
- JK 01:47 PM Software Development: RE: SPI Comm - can transmit data from Linux, but not receive
- Hello Mike,
I modified the SPI device tree entry to have an "spi-max-frequency" of 1 MHz (a slow clock speed, as you suggested, to get started).
I kept the FPGA image in which we connected MOSI to MISO (rather than using the "loop ...