Jump to content
43oh

Using Hardware PWM on Tiva Launchpad


Recommended Posts

Hi,

I apologize, my fault - the startup.gcc provided was from StrelarisWare version 9453, so the only correction is to add #include <stdint.h> at the beginning of startup_gcc.c file, and you need to place it as the first include, since there are already other two files.

Please take care to provide an include path to the stdint.h file in your compiler installation if not already specified.

L

Link to post
Share on other sites
  • 3 years later...
  • Replies 31
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

PWM is much easier on the new Launchpad using the PWM peripherals, here is a working example using the 3 onboard LEDs. #include <stdint.h> #include <stdbool.h> #include "inc/hw_gpio.h" #

Hi, I checked the posted code and compile correctly, with shown settings. I have slightly modified it, to allow ROM functions calls. The tested version is this:   #include <stdint.h> #include

Hi, Please review your defines, hope this one: PART=TM4C123GH6PM is only a typing mistake. It should be PART_TM4C123GH6PM. L

Posted Images

Hi Guys,

I'm recognize this problem beause of #define PART_TM4C123GH6PM not active for pin_map.h

Resolve 1: open pin_map.h in drivelib, add the code line at :#define  PART_TM4C123GH6PM below #define __DRIVERLIB_PIN_MAP_H__ and in the main file eraser code line: #define PART_TM4C123GH6PM

Resolve 2: create pin_map.h file for tm4c123gh6pm chip only, then include this file in your code replace for #include "driverlib/pin_map.h" .This file is included bellow

I fixed this problem with Energia, Good luck!

Preference additional:

 

pin_map_tm4c123gh6pm.h

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...