abecedarian 330 Posted March 17, 2014 Share Posted March 17, 2014 IIRC, 5v can be jumper / selectively sourced from USB device and BP headers, and that 5v will also source 3v3 for the chip as well as source for USB OTG. Quote Link to post Share on other sites
spirilis 1,265 Posted March 17, 2014 Share Posted March 17, 2014 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" #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... abecedarian, bluehash, dubnet and 1 other 4 Quote Link to post Share on other sites
bluehash 1,581 Posted March 17, 2014 Share Posted March 17, 2014 That is cool! Nice to see how neat the main code is and working with ioctrl. spirilis 1 Quote Link to post Share on other sites
abecedarian 330 Posted March 18, 2014 Share Posted March 18, 2014 My Tiva Connected LaunchPad says hi btw-... Quote Link to post Share on other sites
Fred 453 Posted March 18, 2014 Share Posted March 18, 2014 Did everyone else get hundreds of bubble wrap bags packing theirs? That should keep my 2 year old son busy for a while popping bubbles! Rei Vilo 1 Quote Link to post Share on other sites
Rei Vilo 695 Posted March 23, 2014 Share Posted March 23, 2014 Really impressive board! Here's my review. Quote Link to post Share on other sites
Rei Vilo 695 Posted March 23, 2014 Share Posted March 23, 2014 Did everyone else get hundreds of bubble wrap bags packing theirs? That should keep my 2 year old son busy for a while popping bubbles! Same for me... but I'm reusing the bubble envelops to protect equipment... Quote Link to post Share on other sites
Fred 453 Posted March 23, 2014 Share Posted March 23, 2014 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! Quote Link to post Share on other sites
Rei Vilo 695 Posted March 23, 2014 Share Posted March 23, 2014 You're right! I've just added: Other professional IDEs are also available: CCS based on Eclipse, Keil, IAR, Sourcery CodeBench. Quote Link to post Share on other sites
abecedarian 330 Posted March 23, 2014 Share Posted March 23, 2014 Did everyone else get hundreds of bubble wrap bags packing theirs? That should keep my 2 year old son busy for a while popping bubbles!Mine arrived the other day in a FedEx envelope, no bubbles. Quote Link to post Share on other sites
SixSixSevenSeven 23 Posted March 23, 2014 Share Posted March 23, 2014 Everything I order from TI always comes on a 23cm by 24cm by 10cm box filled with bubble wrap or some type. Last few have mostly been bubble wrap envelopes (useful for storing valuables I've found) although the last one from them was simple square sheets. Quote Link to post Share on other sites
SixSixSevenSeven 23 Posted March 23, 2014 Share Posted March 23, 2014 Really impressive board! Here's my review. Typo: "The board also includes four LEDs, one reset plus two buttons and a built-in debugger. The board comes with a USD cable and a retractable Ethernet cable. " USD, should be USB. Looking forward to mine arriving, shipped on friday morning apparently. Quote Link to post Share on other sites
SixSixSevenSeven 23 Posted March 28, 2014 Share Posted March 28, 2014 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. Quote Link to post Share on other sites
pabigot 355 Posted March 29, 2014 Share Posted March 29, 2014 You'll need the datasheets. It's tied to a dedicated pin WAKEn described as: An external input that brings the processor out of Hibernate mode when asserted. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.