Jump to content

UART (TXD & RXD) x 2 on GPIO of BPI-M2, is possible?


bl4ckc00k1e

Recommended Posts

Hi again guys,

 

I buy some usb wireless boards to connect to the GPIO with the UART Pines, but in the especifications of the GPIO, only i see 1:

32d27520226d661ca8221a556cf3caf3d8058b64

Has you can see only GPIO 14 and 15 have TXD and RXD... I will use too the SPI to add other ethernet so... its possible use other GPIO for TXD and RXD??

 

In my Pixhawk (board for drones) i use I2C for monitoring stats via wireless (2.4Ghz), maybe this pines can work for usb wireless.

 

If is possible, how can i program other pines for that? will be any diference? (more slow or more cpu resources or whatever?)

 

 

Thanks like always!

Link to comment
Share on other sites

Be very very careful. There exist no correct specification regarding GPIO pin layout for the Banana Pi M2: http://www.bananapi.com/index.php/forum/general-discussion-for-bpi-m2/411-m2-gpio-defininiton?start=6#2648

 

All the glorious 'Team BPi' (that provided so much crappy software and wrong informations and is responsible for missing informations and support) did, is to steal the above picture from http://www.raspberrypi-spy.co.uk and remove their logo. Don't expect that any pin mapping is correct, it's just a manipulated picture stolen from somewhere else.

 

Please crawl through the two most horrible forums ever to get a clue how much of this stuff simply is wrong:

The best thing you can do with a M2 is to use it as headless server or throw it into the bin.

 

Ok, to be a bit more constructive: UART pin mappings depend on the device tree definitions when using Armbian (mainline kernel only available for M2). Maybe others can assist you. I won't waste my time with any of 'Team BPi's products any more (R1, M2, M3 -- I'm sure they already develop an M4 and M5).

Link to comment
Share on other sites

Be very very careful. There exist no correct specification regarding GPIO pin layout for the Banana Pi M2: http://www.bananapi.com/index.php/forum/general-discussion-for-bpi-m2/411-m2-gpio-defininiton?start=6#2648

 

All the glorious 'Team BPi' (that provided so much crappy software and wrong informations and is responsible for missing informations and support) did, is to steal the above picture from http://www.raspberrypi-spy.co.uk and remove their logo. Don't expect that any pin mapping is correct, it's just a manipulated picture stolen from somewhere else.

 

Please crawl through the two most horrible forums ever to get a clue how much of this stuff simply is wrong:

The best thing you can do with a M2 is to use it as headless server or throw it into the bin.

 

Ok, to be a bit more constructive: UART pin mappings depend on the device tree definitions when using Armbian (mainline kernel only available for M2). Maybe others can assist you. I won't waste my time with any of 'Team BPi's products any more (R1, M2, M3 -- I'm sure they already develop an M4 and M5).

 

Thanks for the answer @tkaiser, in theory, in the oficial documentation is like that: https://drive.google.com/file/d/0B4PAo2nW2KfnV2tGT0pSNWJ0QkU/view .

 

For now the hardware for me working well, the oficial images sucks, thats its true, and for that i use armbian :D

 

In raspbian i have rasp-config and there i can activate some GPIO, no sure about armbian have something like this or where i must edit code.

Link to comment
Share on other sites

 

Good luck, I wouldn't call that documentation and I can remember that someone on the bananapi.com forum discovered that the Pin assignments are wrong there (IIRC he tried to connect an LCD and figured out that at least 1 pin assigned to LVDS according to 'documentation' was also used for another purpose).

 

As already said: You have to look into the device tree stuff yourself. Won't spend any time on products from vendors one should avoid.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines