Jump to content

Search the Community

Showing results for tags 'lauchpad'.



More search options

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


Found 4 results

  1. I'm trying to port the usb_host_msc example to the Tiva Launchpad (EK-TM4C123GXL). I've been struggling with setting up the paths/build variables correctly. Ever since I introduced a function that uses the third part FatFs library. #10010 errors encountered during linking; "usb_host_mass_storage.out" not built usb_host_mass_storage C/C++ Problem unresolved symbols remain usb_host_mass_storage C/C++ Problem unresolved symbol f_mount, first referenced in ./main.obj usb_host_mass_storage C/C++ Problem I've double-checked the project properties several times, but i'm unable to determine what the issue really is. I've attached an archived version of the project. I'm using versions 2.1.0.12573 of TivaWare. 6.0.0.00190 of Code Composer Studio 14.04 of Ubuntu Appreciate any help. ccs_usb_mass_storage_example_tm4c123gh6pm.zip
  2. hi there, i'm trying to measure impedance by applying sinusoidal wave to a chemical gel. it cannot operate by dc voltages. i can achieve to measure resistance from a dc circuit and send the solution to an LCD screen by reading two channels as follows: my code: #include <LiquidCrystal.h> LiquidCrystal lcd(12, 11, 5, 4, 3, 2); void setup() { // set up the LCD's number of columns and rows: lcd.begin(16, 2); lcd.print("impedance :"); } void loop() { int sensorValue1 = analogRead(A0); int sensorValue2=analogRead(A1); // Convert the analog reading (which goes from 0 - 1023) to a voltage (0 - 5V): float voltagech1 = sensorValue1 * (5.0 / 1023.0); float voltagech2 =sensorValue2 * (5.0 / 1023.0); float current= (voltagech1-voltagech2)/50; float impedance=voltagech2/current; delayMicroseconds(50); // display each character to the LCD lcd.setCursor(0,1); lcd.print(impedance); } I'm using msp launchpad ver 1.5 G2553 chip on it. Since i cannot read ac voltages without offsetting and since offset voltage corrupts my sample, i really need to apply sinusoidal signals (10, 100,500, 1000 Hz, ~3 Vpp) and detect the peaks and use as my sensorValue's. Any sample code will be appreciated. thank you in advance..
  3. CC2530 with MSP430G2553

    Hi, I have a CC2530 by Anaren. I have successfully loaded the demo program on my MSP430G2553 from IAR Workbench. Is there any way to convert the code to Energia? I have to move the environment to Energia since the main program is already written in Energia. I have tried to convert the main code in Energia to IAR, but no luck. I have been searching the forums, too. There only exists demo code for CC110L. By the way, if you think that converting from Energia to IAR is way much easier than the other way round, here is my Energia code (this includes 8x8 LED Booster Pack by Olimex): #include "font.h" #define LATCH 6 #define CLOCK 7 #define DATA 14 #define DELAYTIME 10 #define PUSH_BUTTON 5 #define TILES 4 // number of tiles #define CHARNUM 6 int buttonState = 0; unsigned char image[8*TILES]; const char *str = "Jaggo"; void clearScreen() { for (int i = 0; i < 8*TILES; i++) { image[i] = 0x00; } } void sendData(unsigned short data) { for (unsigned short i = 0; i < 16; i++) { //Serial.println(data, HEX); digitalWrite(DATA, data & ((unsigned short)1 << i) ? HIGH : LOW); delayMicroseconds(DELAYTIME); digitalWrite(CLOCK, HIGH); delayMicroseconds(DELAYTIME); digitalWrite(CLOCK, LOW); } } void sendImage(unsigned char *img) { unsigned short data; for (unsigned int i = 0; i < 8; i++) { for (unsigned int n = 0; n < TILES; n++) { data = (1 << 8) << i; data |= *(img + i + (8*n)); sendData(data); } delayMicroseconds(DELAYTIME); digitalWrite(LATCH, HIGH); delayMicroseconds(DELAYTIME); digitalWrite(LATCH, LOW); } } void setup() { // put your setup code here, to run once: //Serial.begin(9600); memset(image,0x00,sizeof(image)); pinMode(CLOCK, OUTPUT); // P1.5 pinMode(DATA, OUTPUT); // P1.6 pinMode(LATCH, OUTPUT); // P1.4 pinMode(PUSH_BUTTON, INPUT_PULLUP); // P1.3 } void loop() { // put your main code here, to run repeatedly: buttonState = digitalRead(PUSH_BUTTON); //Serial.println(buttonState, DEC); if(buttonState == LOW) { //image[3] |= 1 << 3; int counter = 1; int a = 0; for (int i = 1; i <= 5*5+5; i++) { if (counter % 6 == 0) { image[i] = 0x00; counter = 1; a++; } else { image[i] = FontLookup[lookup(str[a])][(counter - 1)%5]; counter++; } } } sendImage(image); } and here is the IAR code: by the way, I reduced the complexity in the IAR code just to test whether loop for writing data to the LED works (that turns out not working). #include "io430.h" #define CLOCK BIT5 #define DATA BIT6 #define LATCH BIT4 unsigned char image[8]; void delay_ms(unsigned int ms); int main( void ) { // Stop watchdog timer to prevent time out reset WDTCTL = WDTPW + WDTHOLD; image[0] = 0x7F; image[1] = 0x04; image[2] = 0x08; image[3] = 0x10; image[4] = 0x7F; image[5] = 0x00; image[6] = 0x00; image[7] = 0x00; unsigned short data; for (int i = 0; i < 8; i++) { data = (1 << 8) << i; data |= *image; for (unsigned short j = 0; j < 16; j++) { if (data & ((unsigned short) 1 << i)) { P1OUT |= DATA; } else { P1OUT &= ~DATA; } delay_ms(10); P1OUT |= CLOCK; delay_ms(10); P1OUT &= ~CLOCK; } delay_ms(10); P1OUT |= LATCH; delay_ms(10); P1OUT &= ~LATCH; } while(1); } void delay_ms(unsigned int ms) { while (ms) { __delay_cycles(16000); //1000 for 1MHz and 16000 for 16MHz ms--; } } Thank you in advance. Your help will be greatly appreciated
  4. Matlab problem

    Hi everybody again, now i need all the comunity to help me... i need to read a single pin on my launchpad and plot those information in matlab, somebody can help me to do this?? i read in arduino playground a piece of code to call analogread() from matlab, with lauchpad its the same or what can i do to do this?
×