Jump to content


  • Content Count

  • Joined

  • Last visited

About Derekspeegle

  • Rank

Contact Methods

  • Website URL

Profile Information

  • Location
    Culver City

Recent Profile Visitors

427 profile views
  1. Can this be figured out @Rei Vilo @energia? I use TI MCUs in a lot of projects and it would be fantastic to have access to modern C++ functions. As it is currently, you have to rewrite any example code that manufacturers provide. Often times, this isn't practical so some sort of update would be nice. Can you at least confirm that anything is in the works or that it's unsupported at this point? Thanks,
  2. @StefanSch Thank you for your response. Do you know if there's a way to do this from inside of energia? As far as I can tell, the J pins are all disabled and it doesnt even have a way of configuring the LFXT. I can't imagine it's all that difficult to add a few lines of code to enable the HFXT but I don't even know where to start. Any pointers would be great, can i apply some of the examples that you posted into Energia? Thanks,
  3. Hello, Has there ever been a method developed for Energia that allows it to use an external crystal? I'd like to have the ability to enable a low frequency crystal as well as a high frequency crystal on the msp430fr5994. Does anyone have any recommendations for implementing this? Thanks,
  4. @jcR your amazing ! I literally designed a board around the software advertising that 6.0 and 6.1 were active but was pretty disappointed when it didn't work. You've saved the day and now it works perfectly. Thanks a ton,
  5. Hello, Here are shots of my oscilloscope using serial.begin vs serial1.begin on the prospective pins using the exact same code. Now I'm confident there's something wrong with the way that the hardware is coded. Let me know if theres a fix that I could try to implement . Thanks,
  6. Yes, @energia they are swapped like your diagram. However, even if I take one by itself with a basic serial write command on loop, my oscilloscope only picks up a logic high . Serial1.begin(9600) should start up 6.0 and 6.1 right?
  7. Hello, I've been developing with the msp430fr5994 on energia and I seem to have come across an issue using the serial ports on 6.0 and 6.1 I have two of these processors connected together with the Tx/Rx connected respectively on 6.0 and 6.1. I have the first processor sending out a single number using the Serial1.write("1"); command. The second processor i set to respond by displaying data on it's TFT once it gets any kind of data. So far, I can't get anything to come out of the Serial1 ports. An oscilloscope shows that it's being held high and not sending any kind of data out. I've trie
  8. Hello, I've been pulling my hair out trying to get these libraries to compile in Energia for the msp430fr5994. Is there anyone here that might be able to help me port these libraries? I feel like its just about changing some of the declarations and specifics but I don't even know where to start. I would appreciate any help or advice anyone can give . Thanks, CFAF240240A1-013T_Arduino (3).zip
  9. I'm trying to get these libraries and can't seem to get the current versions to compile in energia. Can anyone help with getting these libraries to work, or have advice to point me in the right direction?
  10. Wow, holy cow. Thank you guys for your amazing input. I have a lot to work through now, I will return and let you guys know how it all went. Thanks a ton. Do you guys think you could look over my other post, ADC with the MSP430? That one is still unanswered. Also, to answer spirilis's questions, I am using the mps430fr4133, can you elaborate more on the problem with analogwrite? I'm using it for another project which involves using analogwrite for rgb values and ive noticed the glitching. Is there a work around?
  11. Here's my updated code, it should make more sense. Instead of trying to do a while within a while, I just changed it so that the values are constrained. It isnt working the way it should though. The output will go to 100% duty cycle but when It is suppose to fade out it just starts going haywire. I don't think its fading to 0 for some reason. Look at this updated code and let me know what can be done. Thanks. const int voltPin = P1_5; const int voltoutPin = P1_7; const int voltoutPin2 = P1_6; float voltage1; float voltage2; float voltage3; int fadeValue; int fadeValue2; void se
  12. I'm having an issue with Energia where it isnt allowing me to put a while loops within another while loops or any loop for that matter. I need my program to run a loop for as long as the source is correct but run another loop inside of it a specific number of times. It always gives me an error asking for a ";" before a numeric value. Here is my code. const int voltPin = P1_5; const int voltoutPin = P1_7; const int voltoutPin2 = P1_6; float voltage1; float voltage2; float voltage3; int fadeValue; int fadeValue2; void setup() { pinMode(voltoutPin, OUTPUT); pinMode(voltoutPin2, O
  13. Hello everyone, It turned out that in order to get a solid drive I needed a different gate resistor. Having solved that issue, a new issue came up and this one is actually software related. I'm mapping my input values which range from about 0 - 1580 into a range of 0 - 255. From there, I convert the RGB values that I receive into a HSV number range, adjust the V value, then reconvert the numbers to RGB and output it. The problem is that the output values will be sitting on the edge of the input ranges and swing up and down. The input value will only vary around 1 point after I take a
  14. Thank you for all of your suggestions. Your right that it would seem that the coding is working correctly. I just wasn't sure if there might be a way to help with the problems in the lower range by altering the code. I'll be sure to post this in an electronics forum next using your suggestions.
  15. So, the signal is mostly a square wave but its frequency is a little messed up. Here is a picture of the signal, https://www.dropbox.com/s/nprycl84ckpgh56/20160303_091710.jpg?dl=0 Once my processor receive it, it runs this code : byte PWM_PIN = P1_5; byte PWM_PIN2 = P1_4; byte PWM_PIN3 = P1_3; byte rout = P1_7; byte gout = P1_6; byte bout = P8_3; float pwm_value; float pwm; float pwm_value2; float pwm2; float pwm_value3; float pwm3; const int numReadings = 15; int readings[numReadings]; // the readings from the analog input int readIndex = 0; // the index of the cur
  • Create New...