Jump to content

Search the Community

Showing results for tags 'MSP430FR2433'.

More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


  • 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


There are no results to display.

Find results in...

Find results that contain...

Date Created

  • Start


Last Updated

  • Start


Filter by number of...


  • Start



Website URL





Found 17 results

  1. I'm trying to use the UCA0 for SPI on MSP430FR2433 by using the SPI.setmodule(10); before SPI.begin(), but I'm not getting any data on the SPI lines. The default SPI on this launchpad is UCA1 and it works. After the above thing didn't work, I tried changing the core files: /home/username/.energia15/packages/energia/hardware/msp430/1.0.5/variants/MSP-EXP430FR2433LP/pins_energia.h In this file I changed: (from line 47 to 50) static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 7; /* P2.3 */ static const uint8_t MOSI11 = 15; /* P2.4 aka SIMO */ static const uint8_t MISO11 = 14; /* P2.5 aka SOMI */ to: static const uint8_t SS11 = 8; /* P2.1 */ static const uint8_t SCK11 = 5; //P1_6 static const uint8_t MOSI11 = 4; //P1_4 aka SIMO static const uint8_t MISO11 = 3; //P1_5 aka SOMI And changed: #define DEFAULT_SPI 11 to: #define DEFAULT_SPI 10 But this also didn't work.pins_energia.h I have attached the changed file.
  2. I have been running into a problem recently with uploading to my board. Note, I am fairly new to this area of tech so I may be doing something wrong. I am currently doing an assignment for one of my classes that requires me to upload to my board and i keep getting the error message: Energia: 1.8.11E23 (Windows 10), Board: "MSP-EXP430FR2433LP" Sketch uses 274 bytes (1%) of program storage space. Maximum is 15360 bytes. Global variables use 2 bytes (0%) of dynamic memory, leaving 4094 bytes for local variables. Maximum is 4096 bytes. DSLite version Configuring Debugger (may take a few minutes on first launch)... Initializing Register Database... Initializing: MSP430 error: MSP430: Error initializing emulator: No USB FET was found Failed: MSP430: Error initializing emulator: No USB FET was found the selected serial port does not exist or your board is not connected I have tried re-downloading and googling the problem but nothing seems to work. I have 2 serial ports available, COM4 and COM5, but those have not worked at all either.
  3. I try to add support for a new mcu (MSP430FR2433) to Energia and would like feedback if this is the right way... The boards and variants files have been already been adapted. Because Energia uses GCC also I copied the msp430fr2433.h from the TI CCS directory: \ti\ccsv6\ccs_base\msp430\include_gcc\ to the Energia directory: \energia-0101E0017\hardware\tools\msp430\msp430\include\msp430fr2433.h But when I try to build the basic blink example I get errors like Looking at this line and comparing it to the already existing msp430fr4131.h I notice the difference: fr2433.h: sfr_w(ADCCTL0); /* ADC Control 0 */ fr4131.h: #define ADCCTL0_ 0x0700 /* ADC Control 0 */ sfrb(ADCCTL0_L , ADCCTL0_); Substituting the former by the latter resolves the compiler error and generates a new one on the next line. There are hundreds of such differences between the two files so I would like to know if simply replacing one with the other will be sufficient? Or is there a better method?
  4. Howdy, I'm having trouble programming my MSP430FR2433LP with Energia on my Mac. When I try to upload the program, it gives me this error: MSP430: Error initializing emulator: No USB FET was found. Strangely, I am able to program it with the online Code Composer Studio. I have made it blink red and green lights. Unfortunately, I'm not trying to become an embedded programmer (while that would be fun, I do not have the time) so I do not want to learn CCS, registers, and serial communications in pure C. Props to all you who can do this. I really want this to work with Energia - it will save me many hours down the road. I also tried this on my Windows Parallels desktop emulation software (which works pretty damn near perfectly like a true Windows OS), but I got the same error message! The board and USB cable are clearly working if I can program with CCS. So what is going on with Energia? Thanks, Another Mac-using engineer with problems
  5. Hi, running this blinking led code on Launchpad MSP430FR2433 // Ultra Low Power Blink Example #define LED RED_LED void setup() { for (int i = 2; i < 20; i++) { if (!(i == 11 || i == 12)){ pinMode(i, OUTPUT); digitalWrite(i, LOW); } } } void loop() { sleep(2000); digitalWrite(LED, HIGH); // turn the LED on (HIGH is the voltage level) sleep(3); digitalWrite(LED, LOW); // turn the LED off by making the voltage LOW } resulting in this current profile: The power consumption looks nice (with LED current limited via 3.3 kOhm) but the blinking frequency is rather 10 seconds instead of 2 seconds. The launchpad is configured to run with external crystal. Changing sleep(2000) to sleep(999) I got the following profile: The frequency is now OK but I am not sure if the same LPM mode is achieved during sleep phase. Please, could someone give an insight about the difference? Can I run 2s blink frequency with ~1µA consumption during sleep phase? Thanks in advance, Robert
  6. Hi, I'm working on a board with an FR2433, and also doing testing with the FR2433 Launchpad. I am trying to troubleshoot high current using SleepSeconds() With Suspend, I can get 1.5ua but sleep seconds is around 18ua, I believe it should be far lower based on the datasheet for LPM3. I am using a ucurrent gold so feel confident about the measurement. I set all my pins (1-22) to OUTPUT LOW and have also tried with INPUT_PULLDOWN Any assistance here would be greatly appreciated. Thankyou.
  7. Hi everyone, I am playing around with ePaper displays and wrote a library for them link, trying to reduce energy budget so far to allow self-powered, little devices with ePaper screens. Now I moved from several ARM-based MCUs to MSP430FR2433 launchpad to try benefiting from its low power modes. Getting the EPD to run with Energia worked almost out of the box. Getting low power (sleep) modes to run in Energia is my next goal. Cheers, Robert
  8. Hi, I posted a question on e2e but I found interesting to ask here too. I'm trying to port the Adafruit MCP4725 library to MSP430 using the Driverlib. I'm testing with launchpad EXP43FR2433 running at 1MHz and I would not want to use interruption to keep the code more portable. The sequence to write some value on DAC is relatively simple. - Set address -> send start -> send write cmd -> send upper byte -> send lower byte -> send stop. Using the following code one byte of the value is lost. msp43x_I2C_setSlaveAddress(EUSCI_B0_BASE, _i2caddr); msp43x_I2C_masterSendStart(EUSCI_B0_BASE); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, controlBits); // write cmd msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, dataBits / 16); // Upper data bits (D11.D10.D9.D8.D7.D6.D5.D4) msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, (dataBits % 16) << 4); // Lower data bits (D3.D2.D1.D0.x.x.x.x) msp43x_I2C_masterMultiByteStop(EUSCI_B0_BASE); But if I insert some dummy code (__delay_cycles) the transmission starts to work. #define I2C_Delay 5 msp43x_I2C_setSlaveAddress(EUSCI_B0_BASE, _i2caddr); __delay_cycles(I2C_Delay); msp43x_I2C_masterSendStart(EUSCI_B0_BASE); __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, controlBits); // write cmd __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, dataBits / 16); // Upper data bits (D11.D10.D9.D8.D7.D6.D5.D4) __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteNext(EUSCI_B0_BASE, (dataBits % 16) << 4); // Lower data bits (D3.D2.D1.D0.x.x.x.x) __delay_cycles(I2C_Delay); msp43x_I2C_masterMultiByteStop(EUSCI_B0_BASE); __delay_cycles(I2C_Delay); Someone knows what's happening? It looks like the library is not checking if the transmission was correctly performed. Thanks
  9. Is Serial1 (pins P2.5/UCA1RXD and P2.6/UCA1TXD) available on the MSP430FR2433 from Energia? If yes, is Serial1 already pre-instantiated or do we need to create the object in the sketch from the HardwareSerial class? Thanks!
  10. Hi, I am trying to connect my MSP430FR2433 Launchpad to Energia. I do not see how to select this board in the "Tools -> Board" setting, and I do not see how to download the drivers for it in the board manager. Yet on the homepage of energia.nu, it states that support for this board is available. Does anyone have any suggestions on how to get this board to work in Energia? Thank you. -Grant
  11. Hello everyone, Yesterday I've got my new MSP430FR2433 Launchpad and I'm planning to launch myself into low-power MSP world with it. Wanted to check out what other enthusiasts and professionals are doing here. Would love to join the community and will definitely try to participate actively. Cheers from Baku, Azerbaijan. Orkhan (azerimaker)
  12. Hello, I am new to to MSP environment and I would like to have some help with this project. If this is on the wrong place of the forum or something like this please tell me so I can change it. I tried to make things on my own but I got stuck for 2 weeks trying to get my LCD to work properly with my first MSP. I also have acess to a friend's MSP430G2553, but the links some of the links on the forum where broken on http://43oh.com/2010/11/lcd-special-two-ways-to-interface-a-msp430-to-an-lcd/. The conections are most probably right because I can write without problems throught Arduino, so I think the problem here is the code. I am using CCS 6.2. Thanks in advance and sorry for any grammar mistakes. #include "msp430.h" #include "intrinsics.h" #include <stdio.h> #define delay3s (int)(3*750000) #define delay2ms (int)((2/1000)*750000) #define delay5ms (int)((5/1000)*750000) #define delay100us (int)((0.1/1000)*750000) #define RS BIT1 //2.1 #define EN BIT0 //2.0 // ooooooooo ooooo oooooooo8 oooooooooo ooooo o ooooo oooo // 888 88o 888 888 888 888 888 888 888 88 // 888 888 888 888oooooo 888oooo88 888 8 88 888 // 888 888 888 888 888 888 o 8oooo88 888 // o888ooo88 o888o o88oooo888 o888o o888ooooo88 o88o o888o o888o void envia(void); void send_command (unsigned char cmd); void send_data (unsigned char data); void send_string(char *s); void lcd_init (void); void dado(void); void envia(){ P2OUT = P2OUT | (EN); // define E high signal; __delay_cycles( delay100us); P2OUT = P2OUT & ~(EN); // define E low signal __delay_cycles( delay100us); } void send_command(unsigned char cmd){ P2OUT = P2OUT &~(EN+RS); // define E low e define RS low - para mandar comandos P1OUT &= 0xF0; // send higher nibble P1OUT |= ((cmd>>4) & 0x0F); envia(); // give enable trigger P1OUT &= 0xF0; // send lower nibble P1OUT |= ((cmd) & 0x0F); envia(); // give enable trigger } void send_data(unsigned char data){ P2OUT |= (RS); // define RS high - para mandar dados P2OUT &= ~(EN); P1OUT &= 0xF0; P1OUT |= ((data>>4) & 0x0F); // send higher nibble envia(); // give enable trigger P1OUT &= 0xF0; P1OUT |= (data & 0x0F); // send lower nibble envia(); // give enable trigger } void send_string(char *s){ while(*s) { send_data(*s); s++; } } void lcd_init(void){ P2DIR |= (EN+RS); P2OUT &= ~(EN+RS); P1DIR |= (BIT4+BIT5+BIT6+BIT7); //Dados P1OUT &= ~(BIT4+BIT5+BIT6+BIT7); //Bits P1.4 a P1.7 send_command(0x33); __delay_cycles( delay2ms ); send_command(0x32); __delay_cycles( delay2ms ); send_command(0x28); // 4bit mode __delay_cycles( delay2ms ); send_command(0x0E); //send_command(0x0E)= display on / cursor on send_command(0x0C) = display on / cursor off __delay_cycles( delay2ms ); send_command(0x01); // Clear LCD __delay_cycles( delay2ms ); send_command(0x06); // Incrementa o cursor automaticamente __delay_cycles( delay2ms ); send_command(0x80); // Cursor na casa inicial __delay_cycles( delay2ms ); } void main( void ){ WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer to prevent time out reset lcd_init(); send_command(0x01); // Clear LCD __delay_cycles( delay5ms ); send_string(" MSPLAY "); send_command(0xC0); // Linha 2 __delay_cycles( delay2ms ); send_string("By: Ivan Moraes "); __delay_cycles( delay3s ); //COLOCAR MÚSICA NO LUGAR DESSE DELAY }
  13. Hi, The new MSP430FR2433 ValueLine Launchpad is with a promotional price. https://e2e.ti.com/blogs_/b/msp430blog/archive/2017/11/08/introductory-price-of-4-30-for-msp430fr2433-mcu-launchpad-kit?HQS=epd-mcu-msp-vline-fb-blog-LPdiscount-wwe&hootPostID=97a463d63a1e96cbf999f3c7a33c703e It seems to be a good replacement to the old ValueLine G2
  14. Hi Everybody, I noticed that TI is running a deal on the new FR2433 LaunchPad board. Over on their blog, they posted a coupon code to drop the price from $9.99 down to $4.30. It looks like the limit quantity is 2x. After that, they are regular priced. I bought two today.
  15. In this post I reveal the applications of the new product I have been working on this last month. ChipStick is a tiny, low cost ($10) 16 bit microcomputer based on the MSP430FR2433 attached to a PC via a USB cable. It comes with up to 256K bytes of non-volatile memory - uniquely using ferro-electric memory. It has up to 16 accessible GPIO lines - which include a mix of SPI, I2C, UART, Timer and ADC channels. ChipStick may be plugged into a breadboard or stripboard and act as an intelligent programmable controller interfacing with other circuitry. ChipStick can also act as a Digital Debug Tool (DDT), with jumper wires attached, - used to debug/develop low voltage (3V3) target hardware. This is not for "MSP430" debugging - more a general purpose tool for exercising digital hardware, ICs etc In each case, the extendable Scripting Language SIMPLEX may be tailored to the exact requirements of the user's application. ChipStick is based on non-volatile ferroelectric technology. This means that your applications and any recorded data remain in memory even after power down. ChipStick may be extended in hardware to meet the requirements of the application - this is planned through both a series of larger expansion boards (based on the low cost 50x50mm format) and stackable micro-modules that match the DIL 20 socket format. In this respect, a high resolution 4 channel 24-bit ADC micro-module is under development which additionally provides 8 extra GPIO lines for external applications This 24-bit module opens up the ability to interface to high resolution sensors such as loadcells, strain-gauges, precision temperature sensors, energy monitors and other applications where 10 bits of ADC resolution is just not enough. Other modules in planning are a high speed flash converter for digital oscilloscope projects and high speed capture/replay memory for logic analysers, arbitrary waveform generators and VGA video generation. Applications With these primary applications in mind, ChipStick has been designed to be as versatile as possible - within the constraints of the small footprint. As a debug tool, it is no bigger than a USB Stick - easily carried around with essential hacking tools. I have designed it as a socketable component that may be added to a board (see above) - where a small amount of intelligence is required, or for bridging between sensor devices. It can also collect or send data to SPI devices and bridge that back to the PC via the UART channel. Equally, it could be used as a small test equipment device to exercise, monitor or control prototype hardware - it has 16 GPIO lines - including two full SPI ports. These can be attached to the target hardware, and using the SIMPLEX scripting language, the various target hardware can be exercised and data reported back to the PC. With the right SIMPLEX script, it can be used to transfer a hex, bin or ascii file from the PC to the target under development. The external memory may be used for sensing and datalogging applications, capturing waveforms, playing back arbitrary waveforms - as a signal generator. The ADC channels may be used as a low bandwidth oscilloscope, test meter or for monitoring changing physical quantities in science experiments. ChipStick takes much advantage from the trend in modern sensors and peripherals to connect via the SPI or I2C bus. The MSP430FR2433 device provides up to 3 separate SPI buses. ChipStick can be interfaced to Wireless and WiFi modules such as the RFM69 via SPI and the low cost ESP-01 via the second UART port. Suitable sensors include accelerometers, gyroscopes, digital compass, temperature, pressure, loadcells etc. For basic GPIO operations - common shift registers may be used with the SPI bus such as the 74HC595 for 8-bits output - for driving LED arrays, the high power TPIC6B595 for driving stepper motors, and the 74HC165 for 8-bit inputs. Using a LED driver IC - such as the MAX7219 or AS1100 series - up to 8 digits or an 8x8 array of LEDs may be driven from the SPI port. OLED and LCD graphics displays may also be driven from SPI with a couple of control signals. Educational Applications ChipStick as been designed with education and experimentation in mind. It has been priced such that cost should not be a barrier to using it. The module can be made in China for as little as $4, and there may be a "kit" version available with just the awkward QFN-24 and SMT parts soldered to the tiny pcb, leaving the user add their own through-hole connectors - if needed. You can then use your own 3V3 programming USB-Serial lead. It can be used specifically to assist in the teaching of electronics, computer science and interactive coding. It is versatile enough to meet the needs of high-school and university undergraduates, plus simple enough meet the requirements of the maker and hacker community. The small size of ChipStick allows it to be used to give intelligence and connectivity in situations where other technology is just too bulky to fit - with the programmer section detached it is only 26.5 x 11mm - small enough to fit inside a 4x2 Lego block! It's low cost means that it can deployed in areas where other solutions might prove too expensive. Here are a few of the educational applications: Teaching Forth. Forth is an interactive language and can be best taught with hardware that creates a stimulating interactive environment. This includes the use of LEDs, sound, touch and movement (such as stepper motors and servos). The MSP430 is a good fit for a "traditional" Forth machine - with 16-bit Von Neuman architecture. MSP430FR2433 with 16K FRAM and 4K RAM is architecturally similar to the early minicomputers that Charles Moore would have first coded Forth onto in the late 1960s - just a bit faster. The external SPI memory has been included - specifically so that users can experiment and learn about interpreted languages running on virtual machines. OK - single byte access to external RAM takes approx 30uS - but block access is 3uS per byte. ChipStick will come with a 128Kx8 external SRAM 23LC1024, or FRAM to special order. The use of the 23LC1024 SRAM with its quad SPI port immediately opens up applications for logic analysers, dataloggers arbitrary waveform generators and other memory capture/playback devices. The SPI buses on the MSP430FR2433 allow expansion hardware like sensors and shift registers, LED and graphic display drivers etc to easily be added - with minimum of wiring. Teaching Coding ChipStick is not limited to Forth - it is easily programmed in C with CCS or Energia, BASIC or in native MSP430 assembly language. The SIMPLEX scripting language is written in C, easily modified and uses a Forth-like syntax. It encourages the use of short functions or blocks of code, that may be tried and tested individually by the interactive interpreter, edited if necessary and when fully working compiled and stored in the on-chip non-volatile FRAM. Code Blocks may then strung together to make more complex applications. An innovative but intuitive, cross platform GUI to visualise the process of coding is currently being developed. Teaching Digital Electronics ChipStick can animate electronic projects in a low cost way not previously possible. With a breadboard and a few LEDs and switches, ChipStick can form the central controller of many digital projects. It's ability to easily interface to displays, sensors and actuators allows it to make projects exciting. ChipStick can also be used to exercise digital electronics, and report results back to a PC for display on a graphical user interface. In teaching environments where real hardware may not be possible or practical - ChipStick can use virtual hardware and achieve most of the same educational aims. Creating Practical Hardware ChipStick helps to break down some of the barriers between modern electronic devices and practical hardware hacking. It's method of construction effectively converts between the awkward surface mount technology, and 0.1" (2.54mm) pitch pins - that are a lot more user and breadboard friendly. The small format and layout of the ChipStick board means that accessories and expansions may be easily prototyped on breadboard or stripboard at minimal cost, and then easily converted to a pcb - using tools such as KiCAD or EagleCAD. Simple designs can be created in a few hours, or over a weekend - with low cost pcbs delivered from China within a couple of weeks. ChipStick promotes the use of 50mm x 50mm expansion boards with a common header layout. This allows boards to be used together, shared or swapped between friends or whatever. Making and Hacking As a result of it's low cost, ChipStick can be used in projects where other solutions may seem over expensive. Projects no longer need to be stripped down, to salvage the only $20 Arduino for another purpose. ChipSticks will be supplied in multi-packs at very low prices - so that the cost of the device is no longer seen to be a barrier to creativity. ChipStick is compatible with Energia - an "Arduino Like" IDE. This allows an easy transition to the new device from familiar territory. ChipStick will enter production in the Summer. However - it is fully opensource, and the design files and firmware will be available via Github in due course. Happy Easter Ken London
  16. Last week, I put together a design for a lightweight dev-board using the MSP4302433, known as "ChipStick". ChipStick is a 20 pin DIL module that can plug into the socket on a G2 Launchpad. In the week whilst waiting for the prototype boards to arrive, I have prototyped the design using a SMT adaptor - allowing it to be built on a breadboard. Today I have refined the original concept, to produce a second design which, being small I have called Nanode (very small node). Nanode is effectively the same circuit as ChipStick, but trimmed to make a smaller form factor. The main difference is that it is pinned out to a 1.27mm pitch 2 x 10 pin connector - rather than the 2.54mm pitch DIL socket. I have also dispensed with the detachable programmer section. "Where we're going Marty, we don't need programmers" I have featured it on my recent blogpost, http://sustburbia.blogspot.co.uk/2016/03/digital-dust-further-journey-into-nano.html Once I have working examples, as usual I will make the design CAD files available. Ken
  • Create New...