Jump to content
43oh

Stellar Pad - PWM and analogWrite


Recommended Posts

I don't have one of these yet, I am still waiting for mine to arrive.  My question is this:

 

How many "individual" pins on this board are capable of doing analogWrite?

 

I say individual as on the MSP430G2553 while there are 6 pins available, certain pins share the same timer, so you can only use 1 pin out of a "pair" which share a timer.

 

So, that said, does anyone have an answer to this?

 

Thank you!

 

 

Also, I read somewhere that the pins on this board are 5 volt tolerant, however while reading the datasheet, it looks like that isn't the case.  Would be great if I could use this board with 5v logic (even if it is being powered by 3.3v).  Can anybody weigh in on that?

Link to post
Share on other sites

All the PWM's can operate simultaneously.

 

You can find the pins that support PWM (analogWrite) in the pin mapping on: https://github.com/energia/Energia/wiki/Hardware

If you would like to know on what timers are on what pins then you can find that in hardware/lm4f/variants/stellarpad/pins_energia.h

 

5Volt tolerance: From the data sheet section 10.1 Signal description: "All GPIO signals are 5-V tolerant when configured as inputs except for PB0 and PB1, which are limited to 3.6 V"

 

http://www.ti.com/product/lm4f120h5qr

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...