Jump to content
43oh

A new Tiva C LaunchPad about to be Announced!!!!!


Recommended Posts

  • Replies 43
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

My Tiva Connected LaunchPad says hi btw-   Using my new "v3.0" edition of that Nokia 1202 LCD boosterpack. Main program: /* newlp1202.c */ #include "hw_inc.h" #include "driverlib/gpio.h" #inc

Here is the teaser - promo video   It looks like it's based on the TM4C129   The query string in the link announces this for all to see....mcu-tivc-ek-tm4c129xl-em-lp-en   Glenn.  

More info released http://www.ti.com/ww/en/launchpad/launchpads-tivac-ek-tm4c1294xl.html#tabs   $20 with Ethernet but not in stock yet

Posted Images

My Tiva Connected LaunchPad says hi btw-

post-163-14264605402765_thumb.jpg

 

Using my new "v3.0" edition of that Nokia 1202 LCD boosterpack.

Main program:

/* newlp1202.c
 */

#include "hw_inc.h"
#include "driverlib/gpio.h"
#include "driverlib/ssi.h"

#include <stdio.h>
#include "nokia1202_drv.h"
#include "ste2007.h"

int main()
{
    MAP_SysCtlClockFreqSet(SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_25MHZ | SYSCTL_CFG_VCO_480,
                           120000000);  // 120MHz CPU
    // SPI config
    MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOD);
    MAP_GPIOPinConfigure(GPIO_PD3_SSI2CLK);
    MAP_GPIOPinConfigure(GPIO_PD1_SSI2XDAT0);
    MAP_GPIOPinConfigure(GPIO_PD0_SSI2XDAT1);
    MAP_GPIOPinTypeSSI(GPIO_PORTD_BASE, GPIO_PIN_0 | GPIO_PIN_1 | GPIO_PIN_3);
    MAP_SysCtlPeripheralEnable(SYSCTL_PERIPH_SSI2);
    MAP_SSIConfigSetExpClk(SSI2_BASE, 120000000, SSI_FRF_MOTO_MODE_0, SSI_MODE_MASTER, 4000000, 8);
    MAP_SSIEnable(SSI2_BASE);

    // Wait 250ms for Nokia LCD to finish reset/wakeup
    MAP_SysTickPeriodSet(120000*125);
    MAP_SysTickIntDisable();
    NVIC_ST_CURRENT_R = 1;
    MAP_SysTickEnable();
    while (MAP_SysTickValueGet() < 100000) ;
    while (MAP_SysTickValueGet() > 100000) ;
    while (MAP_SysTickValueGet() < 100000) ;
    while (MAP_SysTickValueGet() > 100000) ;
    MAP_SysTickDisable();

    // Display ready for init
    fopen("LCDBACKLIT", "w");
    char mylcd_buf[256];
    setvbuf(stdout, mylcd_buf, _IOLBF, 256);
    ste2007_contrast(12);

    printf("Hi there!  New\n");
    printf("TM4C129 w/ LCD\n");
    printf("Too lazy to get\n");
    printf("lwIP working, so");
    printf("I am not a\n");
    printf("\"connected\"\n");
    printf("LaunchPad right\n");
    printf("now.");
    fflush(stdout);

    while(1) ;
}

Note the manner in which the clock is set.  That SysCtlClockFreqSet() function returns the actual value of the CPU freq, so I should save that to an unsigned long and use that in place of SysCtlClockGet() or hardcoded values...

Link to post
Share on other sites

Really impressive board! Here's my review.

 

A nice summary. However, you say it can be programmed using Energia or embeddedXcode, but forgot to mention the primary IDE from TI which is CCS.

 

Not had a chance to do much with mine yet. So many dev boards and projects, so little time!

Link to post
Share on other sites

Can anyone give a quick explanation of what the wake button does on this board? I would assume wakes it from hibernation, its just I cannot for the life of me get at the datasheets on the TI site to find out for sure, every single one is timing out (yet give links to a buddy and he can load them fine, curse a 100 kilobit download speed).

 

Also, wish they had simply kept the slider switch from the old launchpad for power, am I the only person that genuinely used to use it as an on/off switch? Header gets slightly annoying, perhaps I'll have to attach a switch to the headers myself.

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