question

PhilipCapewell-5967 avatar image
0 Votes"
PhilipCapewell-5967 asked LM-4862 commented

Full UART on Raspberry Pi using Windows 10 IoT

I am attempting to use the GPIO serial pins on a Raspberry Pi 3, running Windows 10 IoT
Using Raspbian you must switch the GPIO pins to the hardware serial port to allow certain additional capabilities, which I require
Is this possible?
In Raspbian you use an overlay to change the GPIO serial miniUART to using the full UART, while switching the Bluetooth off or to the miniUART

windows-iot-10core
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michaelx2-msft avatar image
0 Votes"
michaelx2-msft answered michaelx2-msft edited

The Raspberry 2/3 contain two UARTs, UART0(PL011) and UART1 which is mini UART. Raspberry Pi 2/3 supports the serial transport for communication through the PL011 UART. This is set by default in kernel debugging scenarios. An application or device driver can use the PL011 UART to send and receive data with the PL011 device driver turning off the debugger using the command 'bcdedit /set debug off '. More info please see Release Notes for Build 17763.253.


If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SandervandeVelde42 avatar image
0 Votes"
SandervandeVelde42 answered LM-4862 commented

I have worked with several GPIO scenarios on Raspbian using C# on .Net Core.

Here is an example of the UART usage written in C#.

More GPIO examples (non -UART) can be found here.

Please check if your application needs elevated rights to actually access the GPIO port. Run it with SUDO rights.

Here is some generic UART information on RaspberryPI.


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Running with SUDO is generally a bad idea if all you want to do is run a GPIO app on RasPI. The preferred method is to make the user (either yourself or the user that app will run as) a member of I2C or GPIO or SPI depending on what device the app really needs access to.

0 Votes 0 ·