On Friday, July 3, 2015 at 4:27:04 PM UTC-3, Emile Cormier wrote:
>
> And everything seems to work fine (note that I'm currently not able to 
> test reading from SPI).
>

It turns out that reading from D0 doesn't work unless RXACTIVE=1 for the 
SCLK signal. This comment 
<http://hipstercircuits.com/enable-spi-1-0-and-1-1-with-device-tre-overlays-on-beaglebone/#comment-7101>
 
from hipstercircuits confirms this. That answers my question #1.

In now have this in my dts file, and both reading and writing seem to work 
ok:

pinctrl-single,pins = <
    0x190 0x2b      /* mcasp0_aclkx.spi1_sclk, RXACTIVE | Pull-down 
disabled | MODE3 */
    0x194 0x33      /* mcasp0_fsx.spi1_d0, INPUT_PULLUP | MODE3 */
    0x198 0x1b      /* mcasp0_axr0.spi1_d1, Pull-up disabled | MODE3 */
    0x19c 0x1b      /* mcasp0_ahclkr.spi1_cs0, Pull-up disabled | MODE3 */

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to