Jump to content
43oh

Search the Community

Showing results for tags 'timer prescale'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News
    • Announcements
    • Suggestions
    • New users say Hi!
  • Spotlight!
    • Sponsor Spotlight
    • Sponsor Giveaways
  • Energia
    • Energia - MSP
    • Energia - TivaC/CC3XXX
    • Energia - C2000
    • Energia Libraries
  • MSP Technical Forums
    • General
    • Compilers and IDEs
    • Development Kits
    • Programmers and Debuggers
    • Code vault
    • Projects
    • Booster Packs
    • Energia
  • Tiva-C, Hercules, CCXXXX ARM Technical Forums
    • General
    • SensorTag
    • Tiva-C, Hercules, CC3XXX Launchpad Booster Packs
    • Code Vault
    • Projects
    • Compilers and IDEs
    • Development Kits and Custom Boards
  • Beagle ARM Cortex A8 Technical Forums
    • General
    • Code Snippets and Scripts
    • Cases, Capes and Plugin Boards
    • Projects
  • General Electronics Forum
    • General Electronics
    • Other Microcontrollers
  • Connect
    • Embedded Systems/Test Equipment Deals
    • Buy, Trade and Sell
    • The 43oh Store
    • Community Projects
    • Fireside Chat
  • C2000 Technical Forums
    • General
    • Development Kits
    • Code Vault
    • Projects
    • BoosterPacks

Calendars

There are no results to display.


Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Location


Interests


Sparkfun


Github

Found 2 results

  1. Hi! Can anyone tell me about the difference between TimerPrescaleSet() and TimerPrescaleMatchSet()? When do we have to call them? In what order? After which function? I am having trouble using them. I appreciate any help! Here is the example, I want to use it to extend my PWM signal period 2 times. *******.............******....... TimerConfigure(WTIMER0_BASE, TIMER_CFG_SPLIT_PAIR|TIMER_CFG_B_PWM); // 0x0001 - value according to datasheet // TimerPrecaleSet(WTIMER0_BASE, TIMER_B, 0x0001); *******............********...... I know, Ther program doesn't have much sense, but I want to
  2. Hello, I am trying to read a pulse that is 1-2ms wide and has a PRI of 20ms. This code is producing a value of ~30000 (1.5mS). No matter what I change the prescale value to, the count is always the same. My understanding from the data sheet is that the prescaler only works when the timer is in half width mode, which I assume it is due to configuring it as a split pair. Is this assumption correct? #include <stdint.h> #include <stdio.h> #include <stdbool.h> #include <math.h> #include <string.h> #include "inc/hw_memmap.h" #include "inc/hw_types.h" #include "inc/h
×
×
  • Create New...