Jump to content

Search the Community

Showing results for tags 'msp430fr6989'.



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.


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

  1. hello, Im trying to interface a 2 inch rgb LCD display with ST7789v lcd driver im using the ucglib library for this i get a few errors stating not been declared need assistance with this please. I attached the library used and the screen shot. ucglib-master_editted.zip
  2. Dear all, I have the following code , I want to display the value of the variable y22 but nothing shows up in the serial monitor (com16), I tried to dispaly it in LCD but nothing shows up as well, I'm using Energia 1.6, the folder under C and I reorient the jumpers TXD and RXD. I want also to display the value of IN22 inside analogWrite(35,IN22). Could you please verify that for me. Thank you. #include <LCD_Launchpad.h> #include <driverlib.h> #include <SPI.h> #include <LiquidCrystal.h> #include <driverlib.h> // Required for the LCD //#include <LiquidCrystal_I2C.h> //LiquidCrystal lcd; void setup() { // put your setup code here, to run once: //analogFrequency(10000); Serial.begin(9600); SPI.begin(); } float y11=0.0; float y12=0.0; float y13=0.0; float y21=0.0; float y22=0.0; float y23=0.0; float y31=0.0; float y32=0.0; float y33=0.0; float Ub11,Ub12,Ub13,Ub21,Ub22,Ub23,Ub31,Ub32,Ub33; float IN11,IN12,IN13,IN21,IN22,IN23,IN31,IN32,IN33; float y11New,y12New,y13New,y21New,y22New,y23New,y31New,y32New,y33New; void loop() { // put your main code here, to run repeatedly: // //Diagonal input // float U11=1; float U12=-1; float U13=1; // float U21=-1; float U22=1; float U23=-1; // float U31=1; float U32=-1; float U33=1; //Cross input float U11=-1.0; float U12=1.0; float U13=-1.0; float U21=1.0; float U22=1.0; float U23=1.0; float U31=-1.0; float U32=1.0; float U33=-1.0; //Templates A and b //A: float A11=0.045404; float A12=0.046816; float A13=0.046482; float A21=0.046741; float A22=4.0472; float A23=0.046741; float A31=0.046482; float A32=0.046816; float A33=0.045404; //b float b11=0.063908; float b12=-0.061448; float b13=0.079005; float b21=-0.061448; float b22=0.052166; float b23=-0.061448; float b31=0.079005; float b32=-0.061448; float b33=0.063908; //I float I=0.047155; // float y11 = analogRead(A0); // float y12 = analogRead(A1); // float y13 = analogRead(A2); // float y21 = analogRead(A3); // float y22 = analogRead(A0.7); // float y23 = analogRead(A5); // float y31 = analogRead(A6); // float y32 = analogRead(A7); // float y33 = analogRead(A8); int counter=0; if ( counter==0) { y22New=y11*A11+y12*A12+y13*A13+y21*A21+y22*A22+y23*A23+y31*A31+y32*A32+y33*A33; Ub22=U11*b11+U12*b12+U13*b13+U21*b21+U22*b22+U23*b23+U31*b31+U32*b32+U33*b33; y11New=y11*A11+y12*A12+y21*A21+y22*A22; Ub11=U11*b11+U12*b12+U21*b21+U22*b22; y12New=y11*A11+y12*A12+y13*A13+y21*A21+y22*A22+y23*A23; Ub12=U11*b11+U12*b12+U13*b13+U21*b21+U22*b22+U23*b23; y13New=y12*A12+y13*A13+y22*A22+y23*A23; Ub13=U12*b12+U13*b13+U22*b22+U23*b23; y21New=y11*A11+y12*A12+y21*A21+y22*A22; Ub21=U11*b11+U12*b12+U21*b21+U22*b22; y23New=y12*A12+y13*A13+y22*A22+y23*A23+y32*A32+y33*A33; Ub23=U12*b12+U13*b13+U22*b22+U23*b23+U32*b32+U33*b33; y31New=y21*A21+y22*A22+y31*A31+y32*A32; Ub31=U21*b21+U22*b22+U31*b31+U32*b32; y32New=y21*A21+y22*A22+y23*A23+y31*A31+y32*A32+y33*A33; Ub32=U21*b21+U22*b22+U23*b23+U31*b31+U32*b32+U33*b33; y33New=y22*A22+y23*A23+y32*A32+y33*A33; Ub33=U22*b22+U23*b23+U32*b32+U33*b33; IN11=y11New+Ub11; IN12=y12New+Ub12; IN13=y13New+Ub13; IN21=y21New+Ub21; IN22=y22New+Ub22; analogWrite(35,IN22);//pin 2.2 IN23=y23New+Ub23; IN31=y31New+Ub31; IN32=y32New+Ub32; IN33=y33New+Ub33; y11=0.7*tanh(2.0*IN11); y12=0.7*tanh(2.0*IN12); y13=0.7*tanh(2.0*IN13); y21=0.7*tanh(2.0*IN21); y22=analogRead(A8);//0.7*tanh(2*IN22)+I; pin 9.0 delay(500); y23=0.7*tanh(2.0*IN23); y31=0.7*tanh(2.0*IN31); y32=0.7*tanh(2.0*IN32); y33=0.7*tanh(2.0*IN33); counter=1; } else{ y22New=y11*A11+y12*A12+y13*A13+y21*A21+y22*A22+y23*A23+y31*A31+y32*A32+y33*A33; Ub22=U11*b11+U12*b12+U13*b13+U21*b21+U22*b22+U23*b23+U31*b31+U32*b32+U33*b33; y11New=y11*A11+y12*A12+y21*A21+y22*A22; Ub11=U11*b11+U12*b12+U21*b21+U22*b22; y12New=y11*A11+y12*A12+y13*A13+y21*A21+y22*A22+y23*A23; Ub12=U11*b11+U12*b12+U13*b13+U21*b21+U22*b22+U23*b23; y13New=y12*A12+y13*A13+y22*A22+y23*A23; Ub13=U12*b12+U13*b13+U22*b22+U23*b23; y21New=y11*A11+y12*A12+y21*A21+y22*A22; Ub21=U11*b11+U12*b12+U21*b21+U22*b22; y23New=y12*A12+y13*A13+y22*A22+y23*A23+y32*A32+y33*A33; Ub23=U12*b12+U13*b13+U22*b22+U23*b23+U32*b32+U33*b33; y31New=y21*A21+y22*A22+y31*A31+y32*A32; Ub31=U21*b21+U22*b22+U31*b31+U32*b32; y32New=y21*A21+y22*A22+y23*A23+y31*A31+y32*A32+y33*A33; Ub32=U21*b21+U22*b22+U23*b23+U31*b31+U32*b32+U33*b33; y33New=y22*A22+y23*A23+y32*A32+y33*A33; Ub33=U22*b22+U23*b23+U32*b32+U33*b33; IN11=y11New+Ub11; IN12=y12New+Ub12; IN13=y13New+Ub13; IN21=y21New+Ub21; IN22=y22New+Ub22; analogWrite(35,IN22);//p.n 2.2 IN23=y23New+Ub23; IN31=y31New+Ub31; IN32=y32New+Ub32; IN33=y33New+Ub33; y11=0.7*tanh(2.0*IN11); y12=0.7*tanh(2.0*IN12); y13=0.7*tanh(2.0*IN13); y21=0.7*tanh(2.0*IN21); y22=analogRead(A8);//0.7*tanh(2*IN22)+I; pin9.0 float voltage =Serial.println(y22*3.0/1023.0); y23=0.7*tanh(2.0*IN23); y31=0.7*tanh(2.0*IN31); y32=0.7*tanh(2.0*IN32); y33=0.7*tanh(2.0*IN33); } }
  3. Hello, I have MSP430FR6989 Launchpad. As per below schematic,I generate internal Vref+ voltage 1.2V on Pin P1.1. I'm successfully measure 1.19V on pin P1.1. So,This Vref I apply in NTC as per below schematic( please ignore MSP430FR4133). But I got an issue in below code: void Vref_ON() { while(REFCTL0 & REFGENBUSY); // If ref generator busy, WAIT REFCTL0 |= REFVSEL_0 + REFON + REFOUT; // Enable internal 1.2V reference while(!(REFCTL0 & REFGENRDY)); // Wait for reference generator // to settle } void Vref_Off() { REFCTL0=1; } void setup() { Vref_ON(); Serial.begin(9600); } void loop() { // int val = analogRead(A11); //**** When comment this portion then on P1.1 Vref+ get voltage (1.19V), uncomment then get voltage 0V **** Serial.println(val); delay(500); } In above code, pin P1.1 I got a 1.19V Vref+ successfully but I got an one issue on above code : Please mention comment in code. I can't understand above issue. Please give me a suggestion for issue. Thank you. Regards, Pratik
  4. Salibensuleiman

    code stuck at the end of setup

    Hi, I am wondering why when I make the debug using CCS, the code at the end of the setup opens a new window with following code and stuck there, I do not have any serial function, I tried to send the data to the serial monitor but it fails so I created a new project without any serial monitor statements/function. #include <Energia.h> int main(void) { init(); setup(); for (;;) { loop(); if (serialEventRun) serialEventRun(); } return 0; } Any help would be appreciated. Thanks
  5. This MSP430FR6989 is very new to me, and this is the first time i m handling Texas Components , so kindly ignore if my question is very basic. I am facing problem in installing the library SoftwareSerial for the same controller i m using. There are libraries preinstalled in the software some other series of Msp And i even need help in using dlp-7970abp-trf7970a nfc which is the rfid module which i wish to interface with msp430FR6989. But unfortunately their are no libraries for that in energia. Thanks and Regards
  6. gdillen

    MSP430FR6989 LaunchPad

    Hi, I want to develop with the MSP430FR6989 (this board is also referenced on the Energia site) on Mac OSX. I have installed the latest Energia, installed the drivers (MSP430LPCDC 1.0.3b-Signed.pkg probably these are not necessary for the mentioned board, although I can't find any other drivers except those for the CC3200). When launching energia I select the FR6989 board however for the serial ports I only see 2 /dev/tty.usbmodemxxxx ports. No cu.usbserial... ports (as I have with my CC3200). Should I use for the FR6989 one of these tty.usbmodem... ports or am I missing something? Thanks.
×