Jump to content
43oh

Search the Community

Showing results for tags 'timers'.

  • 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 7 results

  1. mph

    Multiple timers

    Implementing multiple timers simultaneously can be tricky and I was unable to find any good examples in TI's Resource Explorer. Using the MSP430FR5969 Launchpad, this code generates a sequence of multi-tone square waves to drive an external piezo-buzzer. The audio frequency is set by TA1 and waveform duration controlled by TA0. Written in C to illustrate the bit-wise register operations: https://github.com/microphonon/Piezo_Buzzer
  2. Hi, I'm new here and I just started programming the TI MSP430FR2355. I have been struggling to get any examples of code I've found online for the use of Timer A to compile in CCS Studio, it always says everything related to Timer A is undefined. I just found this location on the TI website: http://dev.ti.com/tirex/explore/node?node=ANzAuV9QdJf4FZucFqNrMA__IOGqZri__LATEST I tried the code there to set up Timer B and it works!!! I notice there are no examples whatsoever on this page that use Timer A, but in all the documentation I have found Timer A is a thing on the FR2355... so what
  3. I have modified the code and now the zero crossing interrupt is occurring.But the timer is still not functioning.Can anyone see and tell whether I have configured it right? #include "inc/hw_ints.h" #include "inc/hw_memmap.h" #include "inc/hw_timer.h" #include "inc/hw_types.h" #include "debug.h" #include "interrupt.h" #include "timer.h" #include "driverlib/prcm.h" #include "inc/hw_gprcm.h" #include "wiring_private.h" #include "driverlib/rom_map.h" #include "driverlib/pin.h" void setup() { pinMode(2,INPUT_PULLUP); pinMode(4,OUTPUT); noInterrupts(); MAP_PRCMPeripheralClkEnable(PRCM_TIMERA0,PRCM
  4. Hi , I am unable to use the Timers of CC3200 on Energia. Kindly view my code snippet and see what errors have I made.I am getting the errors which I have mentioned at the last. CODE:- #include <driverlib/timer.h> #include <inc/hw_timer.h> void setup() { pinMode(2,INPUT_PULLUP); pinMode(9,OUTPUT); noInterrupts(); TimerIntStatus(TIMERA0_BASE,true); TimerDisable(TIMERA0_BASE,TIMER_A); TimerIntDisable(TIMERA0_BASE,TIMER_TIMA_MATCH); TimerConfigure(TIMERA0_BASE,TIMER_CFG_A_PERIODIC_UP); TimerPrescaleSet(TIMERA0_BASE,TIMER_A,32); TimerMatchSet(TIMERA0_BASE,TIMER_A,7500); TimerInt
  5. I have experience with the traditional C programming in Code Composer and have implemented a timer interrupt routine in CCS for TIVA TM4C1294, now I want to create a timer ISR in Energia, how do I proceed ?
  6. Hello dear developers, I am currently working on an automated rover project working on multiple MSP430 the board in charge of the electrical power management embbeds a MSP430G2744 model. As I quite used to work with arduino IDE I tried to port it to Energia. Unfortunately I got stuck at some point editing my variant of pins_energia.h : The timers for the ported microcontrollers appears something like T0A0 T0A1 T1A0 ... etc On the MSP430G2744 however they only appear as TA0, TA1 etc. The Energia.h file in cores does not allow in its enumaration list for TA0, TB0 simple notations I
  7. My question is this: can I use a while loop to suspend a program until a value in a global variable is >= a constant. I'm using timer0 to interrupt every one second. I update a global integer value by one every time the interrupt method executes. However, when my program reaches the while loop, it locks up my program. Does the while loop prevent the interrupt from firing, or is the while loop putting a lock on the variable and not allowing the interrupt statement to update. The code I have is as follows and I am new to hardware programming. // initialize timer TA0CCR0 = 12
×
×
  • Create New...