Jump to content

veimmone

Members
  • Content Count

    9
  • Joined

  • Last visited

  1. veimmone

    A few question on systick

    Hi, The frequency of the internal oscillator doesn't yet determine the actual clock frequency of the CPU - the PLL gets in the mix, too. From your observation of a 5s interval, I bet your CPU is running at 50 MHz. Suggest you download TI's TivaWare, then take a look at the source of the SysCtlClockSet function and the documentation as well.
  2. veimmone

    Can not use ADC1

    If indeed the only change in code is that you switch from ADC0 to ADC1, then be aware that there is a resident bug in TivaWare that results in the ADC interrupt setup going bad for ADC1. A fix is incoming, but for the moment you need to bypass the TivaWare functions dealing with ADC interrupts. More here: http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/294691.aspx
  3. veimmone

    ADC on Tiva C Series

    Not really relevant in this case, it only affects unregistering an interrupt handler. For most projects, this is not needed. Plus, it works perfectly well on ADC0 Best, Veikko
  4. veimmone

    FREE TI Launchpad ... hurry !

    This is very true. Also, I too got a shipping notification! I owe you a big thank you, as does an off-forum friend of mine :-)
  5. veimmone

    FREE TI Launchpad ... hurry !

    TI pulling the code isn't really a surprise after it being featured on Hackaday. Let's see how things pan out, I did get an order in before that (CC3300 BP, as I already have some LaunchPads).
  6. veimmone

    Tiva sighting

    Delivery date on mine was bumped to July, too. Bummer. Btw (the real reason for posting); does anyone know what the Tiva E series is about? I noticed support for it when installing the latest version of CCS, and it also shows up here: http://processors.wiki.ti.com/index.php/CCS_UniFlash_v2.2_Release_Notes Apparently it's also Cortex M, but I can't find anything else on it.
  7. From what I can tell it's the same except for the chip, which is more capable than on the "old" LP. The chip on the "new" LP is the TM4C123GH6PM, which is equivalent to the LM4F230H5QR. Added capabilities include hardware QEI & PWM and the USB port being capable of Host/OTG modes, too.
  8. veimmone

    3D model of Stellaris LaunchPad

    Hi all, I created a 3D model of the Stellaris LaunchPad and thought I could share it, so here goes: https://dl.dropboxusercontent.com/u/2496393/StellarisLaunchpad.STEP (attaching .STEP files is not allowed, so Dropbox for now) I included all components I thought had some external relevance (and the chip itself for looks). All the pin positions are according to the LaunchPad manual, so they should be accurate. Other positions have been measured with a caliper, but as always - trust but verify. Dimensions of the pins themselves (apart from height) should not be trusted, they're mostly for looks. If you need it in another format, ask and you might receive. StellarisLaunchpad.STEP
  9. veimmone

    Quadrature Encoder Interface on Launchpad?

    Hello! My first post here, I've been reading the forum a while but now I decided to show myself. The LM4F120 indeed does not have the hardware QEI modules available on the higher-end models. So you'll need a pure software solution. I'm currently working on a final year mechatronics project at Aalto University (in Finland), and the device I'm building has three quadrature encoders. I'm using the SLaunchPad as the controller and am now writing my own support libraries on top of StellarisWare. One such library module is a software QEI, having most of the features that the hardware API has, excluding velocity measurement. Just a fair warning; you can't run a very fast encoder on a software QEI, let alone multiple encoders. I have a 1000 ppr encoder which I spun at increasing speeds until the software reported an error condition (both channels having an active interrupt at the same time). I got to around 2000-3000 rpm, and the decoding was done in 4x mode, so both edges on both channels were counted. Using an idle-while loop counter, I estimated the CPU usage at that point to be around 50%. I'm not yet publish-confident with the library, but if you give me your email address, I'll send you the source code. The library supports counting in 1x, 2x and 4x modes, has optional support for Z channel and autoconfiguration for the pins.
×