-
Content Count
223 -
Joined
-
Last visited
-
Days Won
1
Everything posted by timotet
-
I have to chime in and say I like the idea of one forum, with sub forums for the different chips. Seems easier to manage. It's too bad about the c2000 forum going away but nobody goes there and the chip has a steep learning curve. With a sub forum aleast that info would not go away completley . I agree with @@Fred on energia having a forum all its own, not because I think its not a good thing, but it may be easier for the people who use it to find the content there.
-
I bought one of @@RobG's clock kits and I am very happy with the results. I have kids and didn't want to have any wandering fingers getting zapped, so I designed and printed an enclosure for it. Here are some photos of it. I couldn't resist adding the colon. I uploaded the .stl files if anyone wants to print it. Thanks to Rob for the awesome kit! RobG_Clock_Case.zip
- 83 replies
-
- msp430
- msp430g2553
-
(and 3 more)
Tagged with:
-
Hi @pallisi I was able to get one of the booster packs designed by @RobG to work with hardware spi with out too much trouble. That was a while ago and I know Rob has designed several new boards that would I'm sure work. He has a library that is easy to work with, and get's you up and running fast. Here is a link to his Tindie page: https://www.tindie.com/stores/RobG/?ref=offsite_badges&utm_source=sellers_RobG&utm_medium=badges&utm_campaign=badge_small
-
Thanks for sharing. 0603 is plenty small if you ask me.
-
Nice Work , would like to see a photo of the booster pack itself. I like the thought of controlling a "big ass" motor, just need to figure out for what. I also like the oh_shit function.... that's good.
-
This is cool ! Good work
-
I have not tried energia, but I think you left some important stuff out of your code. Here try this: #include <msp430.h> /* * main.c */ #define button BIT3 // define your port1 #define redLed BIT0 #define grnLed BIT6 int BTN = 0; // for button read void p1_init(void){ // set up port 1 P1DIR |= redLed + grnLed; // set to output P1DIR &= ~button; // set as input P1REN |= button; // pull up on button P1OUT |= button; // set pull up on button P1OUT |= redLed; // turn on red led P1OUT &= ~grnLed; // green off to start }
-
I built a 3d printer last year and needed a small light to illuminate the build area, this is what I came up with. I call it the ringLight. I thought about using an Adafruit Neopixel ring, but due to the finished part being for a specific size I decided to roll my own. I used a MSP430G2452 in the TSSOP 14 pin package for the micro. I have to thank every one on the forum for the wealth of info related to the WS2812 leds, and a special thanks to @@oPossum for the led driver code he posted. The code is pretty straight forward. Once powered on the msp430 loads what ever value from flash
-
Simulating a TI calculator with crazy 11-bit opcodes
timotet replied to bluehash's topic in General Electronics
Great work ! -
I found the document: TMS320x2802x, 2803x Piccolo Analog-to-Digital Converter (ADC) and Comparator Reference guide To be helpful, if you dont have it. Search for SPRUGE5F on TI's site. I think in your ADC_init code you want: ADC_setVoltRefSrc(myAdc, ADC_VoltageRefSrc_Int); // sets adc to internal reference According to the chips data sheet pin 12 on the Tms320F28027 is VREFLO. Datasheet also says it always tied to ground. or for external source: ADC_setVoltRefSrc(myAdc, ADC_VoltageRefSrc_Ext); // for external reference source In this case you would have your V
-
Awesome!! Glad to help.
-
Are you running this out of Flash or RAM? Project -> Properties -> Build configuration Flash [Active]. You need this linker cmd file: F2802x_generic_flash.cmd Browse to it from the Project CCS General tab at the bottom where it says linker command file. In ControlSUITE -> Development Kits -> C2000 Launchpad -> f2802x_common -> cmd fingers are crossed. Tim
-
Well thats progress. I just posted in the other thread you created, so ignore that. We should probably keep it to one thread I think Tim
-
Hi If you changed the function to the SPI_Write function then you are not transmitting the correct data. The SPITXBUF is 16 bits wide and the data has to be shifted to the left 8 bits for the lcd to see the transmission. The Nokia 5110 lcd is looking for an 8 bit transmission, I know you can send more than 8 bits per transmission , but thats a different topic. For example if you want to send 0x21(0010 0001). When the SPITXBUF register gets loaded it looks like this 0x0021(0000 0000 0010 0001). When you use the SPI_Write function in this situation the lcd sees the 1st 8 bits (the zer
-
Hi You need to make sure the spi.h header file you are linking to contains the SPI_write8 function. If you look in your controlSUITE install the device support folder for the f2820x devices , latest version v220, f2802x_common, than the includes file, the spi.h file in there has the function you need. Either copy the function into the file you are linking to or replace the file with the newer one, then you should be good. I think the earlier contolSUITE was missing the SPI_write8 function for some reason. As far as the wiring look in the nokia5110.h file and the pin out is in the 1
-
Yes kind of , I built a 3d printer and wanted to mount a light up under the print head. I looked into using one of the neo pixel rings but they didnt quite fit the dimensons needed. I also wanted to be able to control it more than just on and off so I put a msp430 on there. I will post about it once I have them built up and working.
-
great work!
-
Those look great ! Nice Job.
-
Toby I will try to help. Im no pro at this, although I have used the SPI peripheral successfully. "I guess the master needs to transmit dummy bytes for every byte that it wants to receive, is that right?" Yes thats right "But how should the master "know" how many bytes that should be? Maybe it just keeps going until the slave clears the TALK bit?" Thats your job to establish in software, maybe the last byte of your transmission from the slave could be 0x00 and in your masters Rx_Isr have it look for that to end the transmission. Just a thought. good luck
-
WOW! lots of soldering. good work
- 21 replies