Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: How to get input level of MISO

$
0
0

Hello,

I got an AM3359 on a beaglebone black (Master) and try to talk to a CC1200 (Slave) via SPI. To start a conversation I set the chip select manual to active (low) and if the CC1200 is ready for conversation it also set the MISO to low (this process I can see on my oscilloscope). To check this I have to read the input level of MISO Pin but I cannot find a way to do this.

I already tried to mux the pin to a GPIO and get the value of DATAIN register but that stop the connection to CC1200.

I look for something like: while( HWREG("Register on am3359") & MISO_INPUT_BIT ); to wait till MISO goes low.

thanks for replies

Robert


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>