Re: [beagleboard] SPI1 & HDMI

2021-01-19 Thread Geetha
Its Beaglebone Black, Rev.C.
Been using both QNX & Debian on Beaglebone Black.


On Tuesday, January 19, 2021 at 8:32:57 PM UTC+5:30 vinicius...@gmail.com 
wrote:

> Hi
>
> What board, kernel version? Are you using any dto?
>
> Sent from my iPhone
>
>
> Em 19 de jan. de 2021, à(s) 09:35, Geetha  escreveu:
>
> I would like to use HDMI interface *without* Audio and SPI1.  Is it 
> possible?  As per the SRM, the SPI1 pins -  SPI1_SCLK, SPI1_CS0 and SPI1_D0 
> are used only for Audio.  So, is it possible to disable Audio support and 
> use the SPI1 pins?
>
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/45c49fef-4874-437c-b801-3835b25d885en%40googlegroups.com
>  
> 
> .
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/26768d49-d0af-46a4-b070-5f1513fcbca1n%40googlegroups.com.


Re: [beagleboard] SPI1 & HDMI

2021-01-19 Thread Vinicius Juvinski
Hi

What board, kernel version? Are you using any dto?

Sent from my iPhone


> Em 19 de jan. de 2021, à(s) 09:35, Geetha  escreveu:
> 
> I would like to use HDMI interface without Audio and SPI1.  Is it possible?  
> As per the SRM, the SPI1 pins -  SPI1_SCLK, SPI1_CS0 and SPI1_D0 are used 
> only for Audio.  So, is it possible to disable Audio support and use the SPI1 
> pins?
> -- 
> For more options, visit http://beagleboard.org/discuss
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/45c49fef-4874-437c-b801-3835b25d885en%40googlegroups.com.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/381B7367-8AD4-43CC-9720-4F23B1E363BE%40gmail.com.


[beagleboard] SPI1 & HDMI

2021-01-19 Thread Geetha
I would like to use HDMI interface *without* Audio and SPI1.  Is it 
possible?  As per the SRM, the SPI1 pins -  SPI1_SCLK, SPI1_CS0 and SPI1_D0 
are used only for Audio.  So, is it possible to disable Audio support and 
use the SPI1 pins?

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/45c49fef-4874-437c-b801-3835b25d885en%40googlegroups.com.


Re: [beagleboard] SPI1 not working: 9_28 Pinmux file missing from ocp directory

2019-08-29 Thread Robert Nelson
On Thu, Aug 29, 2019 at 2:23 PM  wrote:
>
> While attempting to use the SPI1 pins, I have had trouble in configuring the 
> pins. I had it working after updating to the 4.19.50-ti-rt-r25 kernel, but 
> then it mysteriously stopped working. I believe it stopped when I included 
> the BB-I2C2-00A0.dtbo file in the uBoot, but I can't be sure.
>
> Here's where the error happens:
> debian@beaglebone:~$ config-pin -a 928 spi_cs
> P9_28 pinmux file not found!
> bash: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state: No such file or 
> directory
> Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state
>
> When I look for this P9_28 file in the ocp directory, I do not see 9_28, 
> 9_29, 9_30, nor 9_31 pinmux.
> drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_27_pinmux
> drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_41_pinmux
> It skips right over.
>
> debian@beaglebone:~$ uname -r
> 4.19.59-ti-rt-r25
>
> debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
> [sudo] password for debian:
> git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
> eeprom:[A335BNLTEIA04218BBBK0D06]
> model:[TI_AM335x_BeagleBone_Black]
> dogtag:[BeagleBoard.org Debian Image 2018-10-07]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
> 2018.09-2-g0b54a51eee]:[location: dd MBR]
> kernel:[4.19.59-ti-rt-r25]
> nodejs:[v6.14.4]
> uboot_overlay_options:[enable_uboot_overlays=1]
> uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo]

Well yeah... 9_28 is already CS..

https://github.com/beagleboard/bb.org-overlays/blob/master/src/arm/BB-SPIDEV1-00A0.dts

Regards.

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYh3G05fuGYEdh%2BtPsbEZ6JfFCOizeVaQdY%3Dz-DikG0sNg%40mail.gmail.com.


[beagleboard] SPI1 not working: 9_28 Pinmux file missing from ocp directory

2019-08-29 Thread britchie . ipa
While attempting to use the SPI1 pins, I have had trouble in configuring 
the pins. I had it working after updating to the 4.19.50-ti-rt-r25 kernel, 
but then it mysteriously stopped working. I believe it stopped when I 
included the BB-I2C2-00A0.dtbo file in the uBoot, but I can't be sure.

Here's where the error happens:
debian@beaglebone:~$ config-pin -a 928 spi_cs
P9_28 pinmux file not found!
bash: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state: No such file or 
directory
Cannot write pinmux file: /sys/devices/platform/ocp/ocp*P9_28_pinmux/state

When I look for this P9_28 file in the ocp directory, I do not see 9_28, 
9_29, 9_30, nor 9_31 pinmux.
drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_27_pinmux
drwxrwxr-x   3 root gpio0 Aug 23 15:14 ocp:P9_41_pinmux
It skips right over.

debian@beaglebone:~$ uname -r
4.19.59-ti-rt-r25

debian@beaglebone:~$ sudo /opt/scripts/tools/version.sh
[sudo] password for debian:
git:/opt/scripts/:[1aa73453b2c980b75e31e83dab7dd8b6696f10c7]
eeprom:[A335BNLTEIA04218BBBK0D06]
model:[TI_AM335x_BeagleBone_Black]
dogtag:[BeagleBoard.org Debian Image 2018-10-07]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2018.09-2-g0b54a51eee]:[location: dd MBR]
kernel:[4.19.59-ti-rt-r25]
nodejs:[v6.14.4]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr4=/lib/firmware/BB-SPIDEV1-00A0.dtbo]
uboot_overlay_options:[disable_uboot_overlay_video=1]
uboot_overlay_options:[disable_uboot_overlay_audio=1]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-19-TI-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg check: to individually upgrade run: [sudo apt install --only-upgrade 
]
pkg:[bb-cape-overlays]:[4.4.20190812.0-0rcnee0~stretch+20190812]
pkg:[bb-wl18xx-firmware]:[1.20180517-0rcnee0~stretch+20180517]
pkg:[kmod]:[23-2rcnee1~stretch+20171005]
pkg:[librobotcontrol]:[1.0.3-git20181005.0-0rcnee0~stretch+20181005]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee1~stretch+20180328]
groups:[debian : debian adm kmem dialout cdrom floppy audio dip video 
plugdev users systemd-journal i2c bluetooth netdev cloud9ide gpio pwm eqep 
admin spi tisdk weston-launch xenomai]
cmdline:[console=ttyO0,115200n8 bone_capemgr.uboot_capemgr_enabled=1 
root=/dev/mmcblk1p1 ro rootfstype=ext4 rootwait coherent_pool=1M 
net.ifnames=0 quiet]
dmesg | grep pinctrl-single
[1.315958] pinctrl-single 44e10800.pinmux: 142 pins, size 568
dmesg | grep gpio-of-helper
[1.339726] gpio-of-helper ocp:cape-universal: ready
END




-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/a9cbc5e9-efe8-468f-9001-426b8343bf8a%40googlegroups.com.


[beagleboard] SPI1

2018-02-21 Thread evilwulfie
Has anybody managed to get /dev/spidev1.0 working on the latest release ?

I been trying to get a spi display working and i can see data going to
the display
I can see the CS go low and i can see clocks but i do not see data from
the display.
Just trying to read status registers here.

so I decide to test the hardware with no display

I grab
https://raw.githubusercontent.com/torvalds/linux/master/tools/spi/spidev_test.c

jumper the SO and SI pins ( P9-29 and P9-30 ) and no data returned

I would think that the output should look like what is described here

https://gist.github.com/pdp7/33a8ad95efcbcc0fadc3f96a70d4b159

|debian@beaglebone:~/spi$ sudo ./spidev_test --device /dev/spidev1.0 spi
mode: 0 bits per word: 8 max speed: 50 Hz (500 KHz) FF FF FF FF FF
FF 40 00 00 00 00 95 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
FF DE AD BE EF BA AD F0 0D but what i get is
root@bone:/home/debian/loopback# ./spidev_test --device /dev/spidev1.0
spi mode: 0x0 bits per word: 8 max speed: 50 Hz (500 KHz) I am using
the BB-SPIDEV1-00A0.dtbo file loaded at boot any ideas or am i just
missing something |

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/e84337a4-796a-d5cb-1eb3-e759618d855f%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI1 and AD5592r

2017-02-13 Thread woody.lois via BeagleBoard


On Mon, 2/13/17, John Syne <john3...@gmail.com> wrote:

 Subject: Re: [beagleboard] SPI1 and AD5592r
 To: beagleboard@googlegroups.com
 Date: Monday, February 13, 2017, 2:51 AM
 
 
 On Feb 12, 2017, at 1:27 PM, Marc M
 <marcm...@gmail.com>
 wrote:
 Hello,I have a board
 with an AnalogDevices AD5592r connected to the
 BeagleBoneBlack on SPI1.
 I have built Linux version 4.9.1 with
 the default configuration and edited the device tree file to
 add SPI1 support.  HDMI is disabled.
 I
 have configured the device tree overlay to enable the SPI1
 port:  spi1_default: spi1_default
 {  pinctrl-single,pins =
 <  /* SPI 1 */ 0x190 (PIN_INPUT |
 MUX_MODE3) /* mcasp0_aclkx.spi1_sclk
 */ 0x194 (PIN_INPUT |
 MUX_MODE3) /* mcasp0_fsx.spi1_d0
 */ 0x198 (PIN_OUTPUT |
 MUX_MODE3) /* mcasp0_axr0.spi1_d1
 */ 0x19C (PIN_OUTPUT_PULLUP
 | MUX_MODE3)   /* spi CS0 */   0x1B4 (PIN_OUTPUT_PULLUP
 | MUX_MODE7)   /* spi CS1 */   >;  };
 Also
 added the device to the port:
 {  cs-gpios =
 <0>;   pinctrl-names =
 "default"; pinctrl-0 =
 <_default>;   status =
 "okay";
 
     ad5592r@0 {
compatible =
 "adi,ad5592r"; reg = <0>;  spi-max-frequency =
 <100>; spi-cpol;
channel-modes = /bits/ 8
 <  CH_MODE_DAC CH_MODE_ADC 
CH_MODE_DAC_AND_ADC CH_MODE_DAC_AND_ADC 
CH_MODE_ADC CH_MODE_GPIO
CH_MODE_GPIOCH_MODE_GPIO>;  };};
 
 This
 is all as defined on the AD 
Wiki:https://wiki.analog.com/resources/tools-software/linux-drivers/iio-dac/ad5592r
 
 The
 driver is coming up as I can see it loaded:ad5592r  
               3001  0ad5592r_base            5903  1
 ad5592r
 
 
 Using a bus monitor I can see that the
 BBB is trying to talk to the AD device but there is no
 response has anyone out there successfully communicated
 with AD5592r over SPI1 ?
 In that
 case, then you either have a wiring issue or the processor
 SPI settings don’t match the device phase/polarity. If
 your connections are as follows:spi1_d1 ->
 AD5592r SDI spi1_d0 <-
 SDOspi1_sclk -> SCLK and the until
 is powered, then I would expect a response. You might also
 check the SPI data and clock polarity
 settings.
 Regards,John
 
 Really trying to understand what is
 going on here and what would make there be no response from
 the device when using the kernel driver.
 ThanksMarc
 
 
 
 -- 
 
 For more options, visit http://beagleboard.org/discuss
 
 --- 
 
 You received this message because you are subscribed to the
 Google Groups "BeagleBoard" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to beagleboard+unsubscr...@googlegroups.com.
 
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6aa8c2f1-55f6-43ab-a76a-2e2504c8bb64%40googlegroups.com.
 
 For more options, visit https://groups.google.com/d/optout.
 
 
 
 
 -- 
 
 For more options, visit http://beagleboard.org/discuss
 
 --- 
 
 You received this message because you are subscribed to the
 Google Groups "BeagleBoard" group.
 
 To unsubscribe from this group and stop receiving emails
 from it, send an email to beagleboard+unsubscr...@googlegroups.com.
 
 To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CF234B52-B293-457B-B17C-94195940E498%40gmail.com.
 
 For more options, visit https://groups.google.com/d/optout.
   Respectarea drepturilor principatelor si indeosebi a autonomiei lor  in 
cuprinderea vechilor

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/1846264050.3245505.1486974574336%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI1 and AD5592r

2017-02-12 Thread John Syne

> On Feb 12, 2017, at 1:27 PM, Marc M  wrote:
> 
> Hello,
> I have a board with an AnalogDevices AD5592r connected to the BeagleBoneBlack 
> on SPI1.
> 
> I have built Linux version 4.9.1 with the default configuration and edited 
> the device tree file to add SPI1 support.  HDMI is disabled.
> 
> I have configured the device tree overlay to enable the SPI1 port:
>   spi1_default: spi1_default {
>   pinctrl-single,pins = <
>   /* SPI 1 */
>   0x190 (PIN_INPUT | MUX_MODE3)   /* 
> mcasp0_aclkx.spi1_sclk */
>   0x194 (PIN_INPUT | MUX_MODE3)   /* mcasp0_fsx.spi1_d0 */
>   0x198 (PIN_OUTPUT | MUX_MODE3)  /* mcasp0_axr0.spi1_d1 
> */
>   0x19C (PIN_OUTPUT_PULLUP | MUX_MODE3)   /* spi CS0 */
>   0x1B4 (PIN_OUTPUT_PULLUP | MUX_MODE7)   /* spi CS1 */
>   >;
>   };
> 
> Also added the device to the port:
>  {
>   cs-gpios = <0>;
>   pinctrl-names = "default";
>   pinctrl-0 = <_default>;
>   status = "okay";
> 
> ad5592r@0 {
>   compatible = "adi,ad5592r";
>   reg = <0>;
>   spi-max-frequency = <100>;
>   spi-cpol;
> 
>   channel-modes = /bits/ 8 <
>   CH_MODE_DAC
>   CH_MODE_ADC
>   CH_MODE_DAC_AND_ADC
>   CH_MODE_DAC_AND_ADC
>   CH_MODE_ADC
>   CH_MODE_GPIO
>   CH_MODE_GPIO
>   CH_MODE_GPIO
>   >;
>   };
> };
> 
> This is all as defined on the AD Wiki:
> https://wiki.analog.com/resources/tools-software/linux-drivers/iio-dac/ad5592r
> 
> The driver is coming up as I can see it loaded:
> ad5592r 3001  0
> ad5592r_base5903  1 ad5592r
> 
> 
> 
> Using a bus monitor I can see that the BBB is trying to talk to the AD device 
> but there is no response has anyone out there successfully communicated 
> with AD5592r over SPI1 ?
> 
In that case, then you either have a wiring issue or the processor SPI settings 
don’t match the device phase/polarity. If your connections are as follows:
spi1_d1 -> AD5592r SDI 
spi1_d0 <- SDO
spi1_sclk -> SCLK 
and the until is powered, then I would expect a response. You might also check 
the SPI data and clock polarity settings.

Regards,
John
>  
> 
> 
> Really trying to understand what is going on here and what would make there 
> be no response from the device when using the kernel driver.
> 
> Thanks
> Marc
> 
> 
> -- 
> For more options, visit http://beagleboard.org/discuss 
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to beagleboard+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/beagleboard/6aa8c2f1-55f6-43ab-a76a-2e2504c8bb64%40googlegroups.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CF234B52-B293-457B-B17C-94195940E498%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] SPI1 and AD5592r

2017-02-12 Thread Marc M
Hello,
I have a board with an AnalogDevices AD5592r connected to the 
BeagleBoneBlack on SPI1.

I have built Linux version 4.9.1 with the default configuration and edited 
the device tree file to add SPI1 support.  HDMI is disabled.

I have configured the device tree overlay to enable the SPI1 port:
spi1_default: spi1_default {
pinctrl-single,pins = <
/* SPI 1 */
0x190 (PIN_INPUT | MUX_MODE3) /* mcasp0_aclkx.spi1_sclk */
0x194 (PIN_INPUT | MUX_MODE3) /* mcasp0_fsx.spi1_d0 */
0x198 (PIN_OUTPUT | MUX_MODE3) /* mcasp0_axr0.spi1_d1 */
0x19C (PIN_OUTPUT_PULLUP | MUX_MODE3)   /* spi CS0 */
0x1B4 (PIN_OUTPUT_PULLUP | MUX_MODE7)   /* spi CS1 */
>;
};

Also added the device to the port:
 {
cs-gpios = <0>;
pinctrl-names = "default";
pinctrl-0 = <_default>;
status = "okay";

ad5592r@0 {
compatible = "adi,ad5592r";
reg = <0>;
spi-max-frequency = <100>;
spi-cpol;

channel-modes = /bits/ 8 <
CH_MODE_DAC
CH_MODE_ADC
CH_MODE_DAC_AND_ADC
CH_MODE_DAC_AND_ADC
CH_MODE_ADC
CH_MODE_GPIO
CH_MODE_GPIO
CH_MODE_GPIO
>;
};
};

This is all as defined on the AD Wiki:
https://wiki.analog.com/resources/tools-software/linux-drivers/iio-dac/ad5592r

The driver is coming up as I can see it loaded:
ad5592r 3001  0
ad5592r_base5903  1 ad5592r



Using a bus monitor I can see that the BBB is trying to talk to the AD 
device but there is no response has anyone out there successfully 
communicated with AD5592r over SPI1 ?



Really trying to understand what is going on here and what would make there 
be no response from the device when using the kernel driver.

Thanks
Marc

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/6aa8c2f1-55f6-43ab-a76a-2e2504c8bb64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI1 d0 output - debian 8.4

2016-08-24 Thread Robert Nelson
On Wed, Aug 24, 2016 at 12:44 AM,   wrote:
> Hello all
>
> I am trying to run spi1 as d0 output (mosi) with the latest image (debian 8.4 
> jessie)
>
> Using universal-io overlay, I have spi1 working but d0 is always input (miso)
>
> I have disabled universal-io and loaded BB-SPI1-01-00A0.dts but with this spi 
> pins don't toggle. I guess I can't disable hdmi
>
> Can you please guide me?
> Has anyone got spi1 as d0 output working reliably?

https://github.com/beagleboard/linux/blob/4.4/Documentation/devicetree/bindings/spi/omap-spi.txt#L9

- ti,pindir-d0-out-d1-in: Select the D0 pin as output and D1 as
input. The default is D0 as input and
D1 as output.

Make sure you load the spi *.dtbo via /boot/uEnv.txt, it needs to be
loaded early..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgZkCCB9vYBjHhk5fHvdxFXUiaEDmzSbEAzJYLBqkawWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] SPI1 d0 output - debian 8.4

2016-08-24 Thread rtursen
Hello all

I am trying to run spi1 as d0 output (mosi) with the latest image (debian 8.4 
jessie)

Using universal-io overlay, I have spi1 working but d0 is always input (miso)

I have disabled universal-io and loaded BB-SPI1-01-00A0.dts but with this spi 
pins don't toggle. I guess I can't disable hdmi

Can you please guide me?
Has anyone got spi1 as d0 output working reliably?

Thanks
Rifo

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/3d4554e9-75bb-4280-88b4-05d484f7fc23%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] SPI1 with D0 output (mosi) with Debian 8.4

2016-08-24 Thread rifo
Hello,

I am using the latest image, Debian 8.4, for my Beaglebone Black and want 
to configure SPI1 as D0 output.

with universal-io overlay, I was able to get SPI1 working but D0 is always 
input (MISO)

I have then disabled universal-io and used BB-SPI1-01-00A0.dts , this forms 
spidev2.0 under /dev but SPI pins do not toggle :/

is it possible to use SPI1 D0 as output (MOSI) with Debian 8.4 image?

thanks
rifo

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/5cfe3541-5ae4-452b-9839-c79136d459eb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] SPI1 chip select pins

2015-08-11 Thread Robert Nelson
On Tue, Aug 11, 2015 at 10:51 AM, jake.pull...@ti.com wrote:

 On http://beagleboard.org/support/bone101 the pinout for SPI1 shows CS0
 and CS1 on pins 19  20 as well as 28  42. See image:


 https://lh3.googleusercontent.com/-VMdX-SN6Lec/VcoZfDVOm1I/AAM/Hw18M4yQdUs/s1600/cape-headers-spi.png

 However I2C2 is on pins 19 and 20 and if those are changed then cape
 support is lost. Does that mean there is a problem using capes with SPI1 or
 am I somehow misinterpreting the image?



If you want to use spi on pins 19/20 you have to disable cape support..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] SPI1 chip select pins

2015-08-11 Thread jake . pulliam


On http://beagleboard.org/support/bone101 the pinout for SPI1 shows CS0 and 
CS1 on pins 19  20 as well as 28  42. See image:

https://lh3.googleusercontent.com/-VMdX-SN6Lec/VcoZfDVOm1I/AAM/Hw18M4yQdUs/s1600/cape-headers-spi.png

However I2C2 is on pins 19 and 20 and if those are changed then cape 
support is lost. Does that mean there is a problem using capes with SPI1 or 
am I somehow misinterpreting the image?

Thanks for your help.

Jake

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] SPI1 on BBB doesn't recieve data

2014-01-08 Thread Peter
Hi 

linked up an arduino as an SPI Slave to a BBB as master using SPI1.0.

I can get the two to communicate fine when the BBB is writing to the 
Arduino, however, when it reads data from the arduino it is not correctly 
reading what is returned. For example the Arduino is returning (as 
confirmed by Oscillocope on the MISO pin) a two byte stream of [0, 114], 
which is correct, however the BBB is only recieving [247, 247] and then 
[255, 255] for subsequent values. Both devices are operating in SPI mode 1.

The BBB device tree is a copy of the one posted on hipster circuits: 
hipstercircuits.com/enable-spi-with-device-tree-on-beaglebone-black-copy-paste/,
 
however I notice there are other examples such as on linux.org that have 
the cs pin as an input, which doesn't make sense for an SPI master. 

I'm using jacek's spi library: 
github.com/piranha32/IOoo/blob/master/include/SPI.h.

I've also got a level converter to protect the BBB from the arduino 5V. It 
works as advertised.

Has anyone sucessfully read data or seen the problems listed? I've sort of 
come to the end of my troubleshooting list.

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
BeagleBoard group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.