Project

General

Profile

Activity

From 11/11/2023 to 12/10/2023

11/27/2023

JC 02:28 PM Software Development: RE: spidev loopback testing not working
Hint: as long as your changes are only in the device tree file, if you only copy the changed dtb and leave out the zImage, then the kernel version string won't change and you won't have to copy all the kernel modules and copy the extra f... Jonathan Cormier
JC 02:24 PM Software Development: RE: spidev loopback testing not working
Sandeep Sivadas wrote in message#6561:
> Hi,
> ...
You are right that's a little more work than needed. I updated the wiki to simplify the copy commands. The following command should be sufficient to create and copy the files a bit ...
Jonathan Cormier

11/23/2023

SS 01:39 PM Software Development: RE: spidev loopback testing not working
Hi,
I tried the kernel and u-boot building as suggested and included the "extra" folder. Now SPI communication, Ethernet,USB etc are working fine. Only one difficulty faced in the Kernel building and copying to /lib/module portion. Ther...
Sandeep Sivadas

11/22/2023

JC 06:25 PM Software Development: RE: spidev loopback testing not working
This doesn't explain why USB isn't coming up though. Your log doesn't show any USB log statements, the most likely reason would be if the USB kernel modules aren't loaded either.
The following modules should have been auto-loaded for...
Jonathan Cormier
JC 06:11 PM Software Development: RE: spidev loopback testing not working
Sandeep Sivadas wrote in message#6558:
> Hi,
> ...
Aw okay I didn't know you were using the nonfpga variant, this makes sense. I'll add a note to the wiki.
>
> ...
There are several kernel modules which are built outside of the ke...
Jonathan Cormier
SS 05:43 AM Software Development: RE: spidev loopback testing not working
Hi,
I tried the devmem2 commands.The output got as follows
root@mitysom-am57x:/dev# devmem2 0x4A003460
/dev/mem opened.
Memory mapped at address 0xb6f15000.
Read at address 0x4A003460 (0xb6f15460): 0x0004000E
Then i updated ...
Sandeep Sivadas

11/21/2023

JC 03:26 PM Software Development: RE: spidev loopback testing not working
Sandeep Sivadas wrote in message#6555:
> Hi Mike,
> ...
If there was no output seen on the CLK or D0 then it is very likely that the pinmux was not updated.
I added a troubleshooting section to the wiki page, to step you through prin...
Jonathan Cormier
SS 12:57 PM Software Development: RE: spidev loopback testing not working
Hi Mike,
Output of the spidev_test obtained is
root@mitysom-am57x:~# ./spidev_test -D /dev/spidev4.0 -v
spi mode: 0x0
bits per word: 8
max speed: 500000 Hz (500 KHz)
TX | FF FF FF FF FF FF 40 00 00 00 00 95 FF FF FF FF FF FF F...
Sandeep Sivadas
MW 11:22 AM Software Development: RE: spidev loopback testing not working
Hi Sandeep,
Are you trying to loop spidev4.0 to spidev4.1? Or are you looping back one of the two devices onto themselves (e.g., SPI4_D0 connected to SPI4_D1 on same SPI channel)?
The example you linked to does not perform a loopb...
Michael Williamson
SS 06:16 AM Software Development: spidev loopback testing not working
Hi,
We tried to configure SPI4 in the devkit by following the guidelines in the below link "(https://support.criticallink.com/redmine/projects/mitysom_am57x/wiki/Linux_Application_Using_spidev)".
As per the link we changed mux_data.h...
Sandeep Sivadas
 

Also available in: Atom