dispachers
Posts: 2
Joined: Fri May 01, 2015 6:20 am

Serial port support for the raspi?

Fri May 01, 2015 6:35 am

Does anyone have more information on whether the serial port is supported by Win10-IoT on the Raspberry?

Regards

jtanner_msft
Posts: 105
Joined: Fri May 01, 2015 7:12 pm

Re: Serial port support for the raspi?

Fri May 01, 2015 10:37 pm

I believe at the moment the serial pins on the Pi2 are configured for Kernel Debugging. The UART controller on the Pi2 is an ARM specific PL011, and currently there is no driver for it in the OS.

This might change in the future, but that's the current status as of now.

I hope that helps,

~Jonathan [MSFT]
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

dispachers
Posts: 2
Joined: Fri May 01, 2015 6:20 am

Re: Serial port support for the raspi?

Mon May 04, 2015 7:46 am

Hi Jonathan,

Thank you for your reply.

I hope that Windows consider how important is the serial communication in the embedded world.

The drivers for the PL011 can be easily ported. Then a pure file access would be enough.

If this is not possible, the only way out will be to wait that FTDI writes a driver for Windows10. Although I do not understand why I have to add more hardware that is already on the board.

Regards

jtanner_msft
Posts: 105
Joined: Fri May 01, 2015 7:12 pm

Re: Serial port support for the raspi?

Tue May 05, 2015 11:51 pm

The product team is aware of this need and is looking into it.
On a different direction, apparently the MinnowBoardMax (MBM) device does have serial support so if you have one of those handy you could try that for the time being.
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

hullam
Posts: 1
Joined: Tue May 12, 2015 7:58 pm

Re: Serial port support for the raspi?

Tue May 12, 2015 8:12 pm

Hi,

I have spent the last 1.5 days trying to communicate with the serial port on the PI as I assumed there would already be support for this as there are a lot of applications out there that already use the Serial Port. Do you have any idea when/if this will be implemented as I will have to stop using Windows 10 core until it has serial port support.

Thanks,

Darren

jtanner_msft
Posts: 105
Joined: Fri May 01, 2015 7:12 pm

Re: Serial port support for the raspi?

Wed May 13, 2015 1:03 am

I have a brief update on Serial port support that I posted over here. Figured it'll be easier to review the whole thread instead of just the final piece:
https://social.msdn.microsoft.com/Forum ... WindowsIoT
Jonathan Tanner | Microsoft | Windows 10 IoT Core Insider Preview Support | This posting is provided 'as is' with no warranties and confers no rights.

deivid77
Posts: 30
Joined: Wed Jun 24, 2015 6:09 pm
Location: Spain

Re: Serial port support for the raspi?

Mon Jul 13, 2015 6:26 am

I agree with "dispachers"

RS232 is huge important.
We have dozens of peripherals that need to be plugged to the Raspberry Pi.

If you install "PySerial", you can access to the Serial Port from Python.

Thanks in advance.
Dave White

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Serial port support for the raspi?

Mon Jul 13, 2015 7:01 am

deivid77 wrote:I agree with "dispachers"

RS232 is huge important.
We have dozens of peripherals that need to be plugged to the Raspberry Pi.

If you install "PySerial", you can access to the Serial Port from Python.

Thanks in advance.
Dave White
You can run Python in Win 10 IoT? That's fantastic!

deivid77
Posts: 30
Joined: Wed Jun 24, 2015 6:09 pm
Location: Spain

Re: Serial port support for the raspi?

Mon Jul 13, 2015 7:21 am

I meant PySerial in Raspbian distribution

Anyway, take a look to this link:
https://www.visualstudio.com/en-us/explore/python-vs

ame wrote:
deivid77 wrote:I agree with "dispachers"

RS232 is huge important.
We have dozens of peripherals that need to be plugged to the Raspberry Pi.

If you install "PySerial", you can access to the Serial Port from Python.

Thanks in advance.
Dave White
You can run Python in Win 10 IoT? That's fantastic!

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Serial port support for the raspi?

Mon Jul 13, 2015 7:27 am

deivid77 wrote:I meant PySerial in Raspbian distribution
Yes, I figured. It's the only way to do anything useful with the Pi. The IoT guys have been very quiet lately.
Anyway, take a look to this link:
https://www.visualstudio.com/en-us/explore/python-vs
Thanks, or I could just run Python under Raspbian as I usually do.

dwtoledo
Posts: 2
Joined: Fri Jul 31, 2015 6:29 pm

Re: Serial port support for the raspi?

Fri Jul 31, 2015 6:40 pm

Are UART pins available for user in the latest version of Win10 IOT (10.0.10240.16384)?

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Serial port support for the raspi?

Fri Jul 31, 2015 7:41 pm

No.

Did you miss the post from one of the Microsoft tech guys on this thread?
viewtopic.php?p=750323#p750323
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

g0189a
Posts: 3
Joined: Sun Aug 02, 2015 8:32 pm

Re: Serial port support for the raspi?

Thu Aug 06, 2015 2:23 am

Would a USB connected XBee card be able to work? Or is that just going to use what would be going to the the RX and TX pins?

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: Korea

Re: Serial port support for the raspi?

Thu Aug 06, 2015 2:33 am

g0189a wrote:Would a USB connected XBee card be able to work? Or is that just going to use what would be going to the the RX and TX pins?
Is there a driver for the USB connected XBee card (expecting the answer "No")?

Or is the USB connected XBee card simply using a PL2303 or FTDI serial converter? (In which case the answer is still "No").

User avatar
devkoes
Posts: 8
Joined: Fri May 01, 2015 8:40 am

Re: Serial port support for the raspi?

Sat Aug 22, 2015 9:11 pm

For all the FTDI users, I just followed a quick tutorial of a friend of mine and I got a connection now:

https://github.com/Jark/FTDISample

dwtoledo
Posts: 2
Joined: Fri Jul 31, 2015 6:29 pm

Re: Serial port support for the raspi?

Wed Sep 30, 2015 7:17 pm

devkoes wrote:For all the FTDI users, I just followed a quick tutorial of a friend of mine and I got a connection now:

https://github.com/Jark/FTDISample
Is FTDI FT232R the same as FT232RL?

deivid77
Posts: 30
Joined: Wed Jun 24, 2015 6:09 pm
Location: Spain

Re: Serial port support for the raspi?

Wed Oct 21, 2015 6:54 am

With the last Windows 10 compilation UART pins are totally accesible.

It works perfect

Stunishing!!!

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: Serial port support for the raspi?

Wed Oct 21, 2015 8:51 am

One more thing ticked of the list as working. Serial Rx/Tx.

38 out of the 40 pins on the header in use now!

Since Aug 10th we have had

10240
10531
10556

all with useful improvements/features at each release.

Looks like Microsoft is getting its act together on continuous updates for Windows 10 on all its targets. :-)
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

Kampi
Posts: 66
Joined: Sun Oct 07, 2012 12:05 am
Location: Monheim, Germany
Contact: Website

Re: Serial port support for the raspi?

Mon Oct 26, 2015 5:45 pm

Hello,

do you have an example for using the hardware UART on Raspi Win10?
I have to try it too ;)
Meine Homepage:

www.Kampis-Elektroecke.de

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: Serial port support for the raspi?

Mon Oct 26, 2015 5:47 pm

71. How can I use the hardware Serial Port Rx/Tx on the Pi under Windows 10 Core IoT (10556 and up)
https://ms-iot.github.io/content/en-US/ ... Sample.htm

Wiring the serial connection

You have two options for wiring up your board:
1.using the On-board UART controller
2.using a USB-to-TTL adapter cable such as this one

:-)
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

nick13579
Posts: 4
Joined: Tue Oct 27, 2015 10:12 pm

Serian Communication w/ Arduino

Tue Oct 27, 2015 10:15 pm

Can I use these rx and tx pins to communicate with an Arduino and/or to receive serial commands from the Arduino?

nick13579
Posts: 4
Joined: Tue Oct 27, 2015 10:12 pm

Re: Serial port support for the raspi?

Wed Oct 28, 2015 2:06 am

Am I able to use the Raspberry pi's rx and tx pins with a raspberry pi running windows 10 iot with visual studio c#, to send and/or receive commands to/from an Arduino?

User avatar
DougieLawson
Posts: 36578
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: Serial port support for the raspi?

Wed Oct 28, 2015 8:09 am

If your Arduino runs at 5V0 you will need a voltage divider on the RPi's RX pin.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

ricl
Posts: 657
Joined: Wed Aug 26, 2015 11:55 am

Re: Serian Communication w/ Arduino

Wed Oct 28, 2015 10:17 am

nick13579 wrote:Can I use these rx and tx pins to communicate with an Arduino and/or to receive serial commands from the Arduino?
Yes. See example

Also
http://ms-iot.github.io/content/en-US/w ... tupWRA.htm

which uses Serial over USB and

https://channel9.msdn.com/Events/Build/2015/2-724
ricl : F/gamma = ma : Law ii(a) : https://climatedatablog.wordpress.com/2016/01/02/an-energy-challenge-2016/ #AnEnergyChallenge2016

craigdudley
Posts: 11
Joined: Thu Oct 15, 2015 6:32 pm

Re: Serial port support for the raspi?

Thu Oct 29, 2015 10:25 am

Anyone having any success reading/writing to the UART since 10556 was released?

I've tried the SerialSample from Github and get odd results both in and out - oddly its the same result both ways so at least looks like some sort of encoding issue.

If I send a '0' either in or out it becomes [06] in Hex.

0 -> [06]Hex
1 -> g
2 -> 3
3 -> f
4 -> [19]Hex
5 -> e
6 -> 2
7 -> d
8 -> [0C]Hex
9 -> c

Looks to be some sort of pattern but I can't figure it out at the minute.

Have tried both with serial keypad device and using a USB-Serial adapter and terminal emulator on he PC. All with exactly the same results.

:?

Return to “Windows 10 for IoT”