Page 1 of 1

CC3200-LAUNCHXL GPIO

Posted: Tue Jan 19, 2016 1:51 pm
by Fedaykin
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.

Re: CC3200-LAUNCHXL GPIO

Posted: Tue Jan 19, 2016 3:35 pm
by danicampora
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

Re: CC3200-LAUNCHXL GPIO

Posted: Tue Jan 26, 2016 4:20 pm
by Fedaykin
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.

Re: CC3200-LAUNCHXL GPIO

Posted: Tue Jan 17, 2017 10:26 am
by balasubramanian.sb
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.