Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

joesan

About

Username
joesan
Joined
Visits
66
Last Active
Roles
Member
Badges
0

Comments

  • Hi jpiat, Yes the problem I've been facing was in the software I had incorrect SPI set up in the device tree slots , I had to clean it up and start again. Now is working. I've got a lot of signal data which show this delay between bytes. I've seen …
  • I have the SPI fully working, I managed to get it working and fix all issues. I only started from the beginning following the steps in this post. Thanks.
  • I'm trying to find out what is the problem and seems to be that the MISO pin is not activated or something similar, even enabling the SPI module I beleive we have to enable the pin as well. Per default the logibone is setup to work with the SPI prog…
  • Thanks jpiat, I don't understand neither....but the interesting thing is that the reading function in the sw is reading 0...and I don't have a clue what is wrong, do you have reception of data with any problems? could be a problem with the SPI driv…
  • Hi, After a few tests I have the logical analizer with the correct setup. It needs to work to more sampling rate in order to get the data correctly, I did setup at 24MHz and now is able to capture data to 16MHz which is the SPI bus speed. Ok, said…
  • Ok thanks, then it seems to be correct the logical analizer is working at 16MHz I'll check other configuration...
  • How it's the protocol?, I mean is it sending address and after the data in two different bytes?
  • Yes the lines are working and the frequency is 16MHz...
  • Sorry, I add a  screenshot the weird lines that I'm getting through spi: The weird thing is the transmision works even with the strange clock signal supposed to be continuous, I mean 8 clocks per byte...I don't know what is going on...
  • Copy/paste of my uEnv.txt file: #Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0 uname_r=3.8.13-bone63 #dtb= uuid=9c9ea694-43de-45a4-9e35-0190f1f19063 cmdline=quiet ##Example #cape_disable=capemgr.disable_partno= #cape_enabl…
  • Hi jpia, thanks for your help, yes, I've got that line in the uEnv.txt file and all previous steps.. The thing is I've got working the spi but only in trasmision to the FPGA when I'm reading back only I'm reading a 0, as long was the same address …
  • Sorry that solution is not working deleted the spi option of the system...  I just fixed that with intall_logibone.sh But I still have the problem in the receiving data...
  • How can I restore that?7 thanks.
  • Thanks, I did issue the command and now I've got a problem trying to load the fpga bit file, I've got this message: Compiled for LOGI-BONE Board variant is LOGIBONE_R1.5 can't open SPI spi_device can't open SPI bus No logi-board detected !!
  • Thanks for the reply Jpiat, I beleive as well that could be the problem....Could you tell me how to disable it please? changes to the dts? I've got that: [    0.577265] bone-capemgr bone_capemgr.9: slot #0: 'BB-BONE-LOGIBONE,00R1,VALENTFX,BB-BONE-L…
  • I forgot in the sw I've got it modified only with the functions to write and read from the spi:                 gettimeofday(&temp1,NULL);                 if((i = wishbone_write(writeVals, 2, 0x0000)) < 2){                         printf("Wr…
  • Thank you very much for your answer mjones, would be great to have a similar solution for the SPI like there's for the GPMC. But in the meantime I'm trying to get it ready, reading this post seems to be possible... I made some progress, I can check…
  • I've just followed the steps to use the spi sw (logi-com-test/sw/logibone_spi) and I've got: Time in Microsecond=198 W Speed=====80 KB/Sec Time in Microsecond=803 R Speed=====19 KB/Sec Transfer failed [0] = 0000 Transfer failed [1] = 0000 Transfer …
  • Hello, Thanks for your useful information. Seems that we can work with SPI and the logibone. Could you summarize the steps to get running SPI on the logibone, please? Thanks.