Project

General

Profile

Activity

From 01/27/2016 to 02/25/2016

02/01/2016

10:49 AM Software Development: RE: Spidev issues
Fred, I'm not sure what is wrong. Perhaps if you sent us your schematic someone could look it over.
I'm pretty su...
Jonathan Cormier

01/29/2016

03:08 PM Software Development: RE: Spidev issues
A single IOCTL call with len=4 returns 4 bytes of 0 value instead of 2 with no difference in the SPI signals. Fred Frantz
12:04 PM Software Development: RE: Spidev issues
I believe you want a single IOCTL. See the attached source code duplex method.
Example usage...
Jonathan Cormier
11:51 AM Software Development: RE: Spidev issues
Correction in above code
fd = open(devname, O_RDWR|O_SYNC);
should be
fd = open(devname, O_RDWR);
Fred Frantz
11:49 AM Software Development: RE: Spidev issues
This is based on spidev_test.c and other examples. There are two devices on the bus that have to be configured to re... Fred Frantz
11:06 AM Software Development: RE: Spidev issues
Fred Frantz wrote:
> Yes, I am looking at all the SPI0 signals on a scope, and they are correct. The transmitted da...
Jonathan Cormier
11:02 AM Software Development: RE: Spidev issues
Yes, I am looking at all the SPI0 signals on a scope, and they are correct. The transmitted data is configuring the ... Fred Frantz
10:44 AM Software Development: RE: Spidev issues
Fred Frantz wrote:
> The data is now being clocked out correctly, and the device is responding with the correct da...
Jonathan Cormier
10:42 AM Software Development: RE: Spidev issues
Fred Frantz wrote:
> Mike, are you referring to the .d0_is_mosi parameter in the ompa2_mcspi_device_config structure...
Jonathan Cormier
10:36 AM Software Development: RE: Spidev issues
Mike, are you referring to the .d0_is_mosi parameter in the ompa2_mcspi_device_config structure? That is set to 1, b... Fred Frantz

01/28/2016

12:12 PM Software Development: RE: Spidev issues
I think there is also a control for the McSPI that can swap the din / dout pins between "d0" and "d1". We had troubl... Michael Williamson
12:06 PM Software Development: RE: Spidev issues
Fred Frantz wrote:
> Thanks for the correction. Setting the .bus_num = 1 solved the module issue, and the .controlle...
Jonathan Cormier
11:59 AM Software Development: RE: Spidev issues
Thanks for the correction. Setting the .bus_num = 1 solved the module issue, and the .controller_data information is ... Fred Frantz
 

Also available in: Atom

Go to top
Add picture from clipboard (Maximum size: 1 GB)