There are three Uart port can be use on BeagleBoard, while Uart 3 as default console port, Uart 1 & 2 are free to use. There are many devices can be connect to Uart, such as GPS module, blue tooth module and PWM controller.
But, there's a serious problem. The BeagleBoard I/O works at 1.8v and for most of devices 1.8v is not "High" enough. So, I'm trying to higher the 1.8v signal to 5v signal.
Google this issue, I found the procdure is called "Level Shift" and can be done with two n-channel FET. The actual electronic circuit as below.
http://www-g.eng.cam.ac.uk/mmg/teaching/linearcircuits/mosfet.html
The n-channel FET is 2N7000
http://www.fairchildsemi.com/ds/2N/2N7000.pdf
According to BeagleBoard SRM (System Reference Manual), Uart 2 pins can be found on the expansion header.
PIN 6 - UART2_TX
Make sure the pin mux is correct configured. It should be work.
沒有留言:
張貼留言