From: Donny3000 <don...@sw...> - 2012-05-02 05:44:52
|
Yes, when I measure the voltage of pin 10 with a DMM, it shows a constant 1.8V. When I execute /uname -a/, this is what I get: /Linux overo 3.2.0 #1 PREEMPT Tue May 1 10:33:23 CDT 2012 armv7l GNU/Linux/. So, I'm running the 3.2.0 kernel. Not sure what I'm doing wrong. BTW, this is the python script I'm running to toggle the pin: /from time import sleep import sys if __name__ == "__main__": fd = open(sys.argv[1], "w") print "Writing data to %s" % sys.argv[1] try: while 1: fd.write("U") sleep(1) except KeyboardInterrupt: fd.close() print "Closing serial port %s" % sys.argv[1]/ My assumption is that this should work to toggle the pin so I could see something with a DMM or Oscilloscope, but I could be wrong. kartikmohta wrote > > Do note that the voltage level on the Overo I/O pins in 1.8V. > I don't have an oscilloscope on hand, but checking the average voltage > on pin 10 using a multimeter, I see it change (drop) in the voltage > when I start sending on /dev/ttyO0. Does it show a constant 1.8V on > yours? And just to clarify, what kernel version are you running > (output of uname -a)? > -- View this message in context: http://gumstix.8.n6.nabble.com/Tobi-Expansion-Board-UART-pins-tp4940084p4945360.html Sent from the Gumstix mailing list archive at Nabble.com. |