andreiw / RaspberryPiPkg

DEPRECATED - DO NOT USE | Go here instead ->
https://github.com/tianocore/edk2-platforms/tree/master/Platform/RaspberryPi/RPi3
746 stars 143 forks source link

How to use PL011 UART on GPIO14&GPIO15 #129

Closed GitHub-Hugl closed 4 years ago

GitHub-Hugl commented 4 years ago

I have installed full win10 pro on my raspberrypi 3b+.It works! But i want to use GPIO14 and GPIO15 for hard serial communication. I can send data via COM1,and my own io equipment also can receive the data , but raspberrypi 3b+ can not receive feedback from my own io equipment.

I have an idea ,if we can change UEFI fILE on the Raspberry Pi 3+ to disable bluetooth ?

GitHub-Hugl commented 4 years ago

Some documents shows that my question was becaused by raspberrypi 3b+ configured GPIO14 &GPIO15 to mini-uart, and PL011 UART to bluetooth !

mariobalanica commented 4 years ago

PL011 UART does not work, but you can use the mini UART.

GitHub-Hugl commented 4 years ago

I can send data to my io equipment by  mini uart successfully  ,but I can't receive the data  from my io via mini uart.  They both use 3.3v power发自我的华为手机-------- 原始邮件 --------主题:Re: [andreiw/RaspberryPiPkg] How to use PL011 UART on GPIO14&GPIO15 (#129)发件人:Mario Bălănică 收件人:andreiw/RaspberryPiPkg 抄送:GitHub-Hugl 852266205@qq.com,Author PL011 UART does not work, but you can use the mini UART.

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

mariobalanica commented 4 years ago

Short GPIO14 and GPIO15 together, open a serial terminal (e.g. PuTTY) and start sending some keys. If the data gets echoed back then everything is OK on the RPi side.

Also, make sure that the RX and TX data lines are properly wired.

andreiw commented 4 years ago

This repo is deprecated and I don't check these conversations.