CC3200-LAUNCHXL GPIO

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
Post Reply
Fedaykin
Posts: 2
Joined: Tue Jan 19, 2016 1:32 pm

CC3200-LAUNCHXL GPIO

Post by Fedaykin » Tue Jan 19, 2016 1:51 pm

Hi,

I manage to compile and install microPython on TI SimpleLink Wi-Fi CC3200 LaunchPad using instructions available on GitHub (https://github.com/micropython/micropyt ... ter/cc3200).

Unfortunately I can't crack GPIO naming convention.
At the beginning I thought that file available in /micropython/cc3200/boards/LAUNCHXL/pins.csv describes GPIO pins but its wrong!

For the moment I know that P02, P01, P64 are working as GP11, GP10, GP09 in Micropython

Does somebody have full list of GPIO pins and corresponding names in uPython or tell me where I can find it?


B.

User avatar
danicampora
Posts: 342
Joined: Tue Sep 30, 2014 7:20 am
Contact:

Re: CC3200-LAUNCHXL GPIO

Post by danicampora » Tue Jan 19, 2016 3:35 pm

Hi,

You are right, the pinout is actually defined to match the CPU GPIO (hence the GP pin names), and not the convention used by the Launchpad headers. I'll try to get sometime to fix this. In the meanwhile, check here:

http://www.ti.com/lit/ug/swru372b/swru372b.pdf (figure 8)

And then here:

http://www.ti.com/lit/ds/symlink/cc3200.pdf (starting at page 8)

"Dev Pin" in the launchpad manual equals "Pkg pin" in the CC3200 datasheet.

And you will be able to see which Pxx pins match go GPxx pins.

Cheers,
Daniel

Fedaykin
Posts: 2
Joined: Tue Jan 19, 2016 1:32 pm

Re: CC3200-LAUNCHXL GPIO

Post by Fedaykin » Tue Jan 26, 2016 4:20 pm

Hi,

Thanks for reply.

I think that to keep convention and compatibility with other boards it will be better to stay with current GPIO naming (and point it out in documentation).
Alternatively we can create parallel set of pin names as they appear on board (J02, J58 etc).
If you could tell me where in code it will be the best place to do it, I can try to do so and test it .

Here is link to file where I mapped pins on board to names in uPython:
https://docs.google.com/spreadsheets/d/ ... sp=sharing

B.

balasubramanian.sb
Posts: 2
Joined: Thu Jan 05, 2017 10:53 am

Re: CC3200-LAUNCHXL GPIO

Post by balasubramanian.sb » Tue Jan 17, 2017 10:26 am

Hi

http://processors.wiki.ti.com/index.php ... hon_CC3200
I tried as mentioned in this link. Its working.

Can I compile my python script ? and in which file should I put my script?

Since I tried to comment the led code already in main.py and compiled as mentioned in this url, but still led flashes.

Post Reply