Jump to content
43oh

Search the Community

Showing results for tags 'i2c'.

  • 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

  1. Hello! i made this boosterpack some weeks ago! this is the upgrade of LCD BOOSTERPACK V1 ( http://forum.stellarisiti.com/topic/626-ssd1289-32-320x240-tft-16bit-parallel-interface-touch-libraries/ ). Old version only has parallel control, this new version has improved all things: Serial or parallel, i2c drivers for touch and backlight, better layout... Unlike LCDBPV1, LCDBPV2 is compatible with any MCU in the market. You only have to migrate some basic code about specific i/o of your MCU and is done!! (you have to do if I have not yet done... but if you ask me for this and i have mcu to develop
  2. Hi all, I would like to interface an I2C ADC (PCF8591) for one of my application. I have tried a lot with the sample programs. But still my launchpad is not even generating the clock pulse. Can anybody help me.
  3. I was wondering if there is any pre-existing code out there for CCS v5 and an msp430f2102-ish type device? I'd like to setup a tiny project that monitors an I2C bus and logs filtered transactions over UART.. Specific addresses or data values, for instance. The uart terminal program then could timestamp the log data, so I don't really need to worry about that part. It's not ultra-critical, the data would just be useful to decypher in a side project I'm working on.. so honestly I am hoping that something like this already exists that I can just load-and-run and log the data.. post-proces
  4. Hi all ! On another thread (cheat sheet thread), I have explain I use launchpad for driving a SI570. some of you have need I share my work. it's ok... ;-) look attachment file. For understand my work, i preconise to read the datasheet. The SI570 have 2 mode for change frequency, i use the "long" mode. I recalc all parameters in every change frequency. But i simplify the calcul by the systematic use of initial frequency in place of read all registers for determinize actual ferquency to recalc new freq. (I think attiny/softrock already uses this trick.) but, I have 2 problems (in Fxtal
  5. Updated: I found the issue. It was that the USI was clock stretching because the G2231 wasn't running fast enough to do computations within the allotted time. I put in another chip in (MSP430G2452 which I had lying around) which could go higher that 1MHz and the issue went away as my software Master does not deal with clock stretching. I want to pre-emptively thank anyone who takes a look at this. I have been lurking here a bit and have learned a great deal from you all. With that said, I am having an interesting issue while using TI reference code for a SW I2C Master and USI Slave. When
  6. Hi, I'm new with Energia but not with Arduino. I'm not able to communicate with HMC5883L throw I2C. The board is launchpad with msp430g2553 microcontroller. I read some threads about this issue but I didn't find a solution. #include <Wire.h>#define address 0x1E //0011110b, I2C 7bit address of HMC5883void setup(){ Serial.begin(9600); // start serial for output Wire.begin(); // join i2c bus (address optional for master) //Put the HMC5883 IC into the correct operating mode Wire.beginTransmission(address); //open communication with HMC5883 //Write CRA (00)
  7. Hey everyone, I was wondering how safe it is to send 0x0 over i2c. is it like sending any other byte or should it be avoided? Thanks
  8. For the past 4 hours I've been trying to troubleshoot a I2C communication between my MSP430G2335 and a DS1307 (powered from a external 5V PSU). This is the code I'm using (it uses alanbarr I2C library): #include <msp430g2553.h> #include "i2c.h" void main() { WDTCTL = WDTPW + WDTHOLD; // Disable WDT. BCSCTL1 = CALBC1_1MHZ; // 1MHz clock. DCOCTL = CALDCO_1MHZ; BCSCTL2 &= ~(DIVS_3); // SMCLK = DCO = 1MHz. i2cSetupPins();//0x68 i2cSetupTx(0x68); i2cTransmit(0, 1); i2cSetupRx(0x68); char t[100]; i2cReceive(t, 1); // Nothing. Just for testing. } The problem is tha
  9. I ran into an unexpected issue when testing my BMP085 library, originally developed on MSP430, with a Stellaris LaunchPad: When I include of Wire.h from my library's header file, it is not found by the compiler. fatal error: Wire.h: No such file or directory A bit of research brought me to this thread, which indicates that Arduino does not expect/support <Wire.h> to be included inside libraries. http://arduino.cc/forum/index.php?PHPSESSID=0799edeb50822ca579644d323baeec5e&topic=37682.msg278141#msg278141 And yes, the problem goes away if I include Wire.h in the example inste
  10. Hi All, I am trying to make an Anduino program to work on the MSP430G2553 using Energia. After testing and debugging the problem seems to be stuck at Wire.endTransmission(). I am using the LP, connecting to an RFID reader. LP1.6->SCL LP1.7->SDA and have the code below for I2C pull up: pinMode(P1_6, INPUT_PULLUP); pinMode(P1_7, INPUT_PULLUP); The code is void SL018::transmitData() { Serial.println("Transmitting 1"); // wait until at least 20ms passed since last I2C transmission while(t > millis()); t = millis() + 20; Serial.println("Transmit
  11. yspede

    i2c read ?

    Hello. im trying to read from the i2c port on my g2231, i have found a i2c libary from this website link but as I see the libary dont support repeated start. I have tried to add this, with some code I found on this forum. im trying to read from a expander ic MCP23016. but the only thing I read is 0xFF ?. im able to write to the expander ic with no problem. its the first time i work with i2c. thanks for looking I have added the full code to. void main(void) { WDTCTL = WDTPW + WDTHOLD; __delay_cycles(500000); i2c_init(); // startup i2c exint(); // init the expander ic lcd
  12. First post!!!! I want to enable internal pull-ups for i2c on pins P1_6 and P1_7. A search on existing discussion on this topic yielded this: http://forum.43oh.com/topic/2641-i2c-lcd/ "I2C requires a pull up resistor on both SCL and SDA. You can enable the internal pull up in the msp430 on the I2C lines by doing: pinMode(P1_6, INPUT_PULLUP); pinMode(P1_7, INPUT_PULLUP);" Is that right? I tried it and it does not work. I was wondering that i2c SDA is bidirectional so setting pinmode as INPUT might not be the right thing. Has anyone tested this and gotten it to work without external p
  13. Hi everyone, I'm hoping I can get some advice about my senior project. For my part of my project I have to connect my MSP430G2553 to an LCD display so I can display stuff like internal temperature and battery charge. I should be able to figure out how to read the inputs on my own. But my problem is that I have no idea which LCD to use. Its clear that it can be done with MSP430 devices, but how do I know which display to use with mine? Thanks
  14. Just dropping off a super simple code snippet. This uses aBugsWorstNightmare's I2C API (http://forum.stellarisiti.com/topic/417-i2c-with-stellaris-lm4f120h5qr-working-driver-api-example-code/) to collect data from a BMP085 barometric pressure sensor. I've been rolling my own interrupt based I2C API to utilize the EOC on the BMP085 as well as another I2C device that has interrupt abilities. ABWN's API was super simple to use for testing. In the picture, the last 2 digits of the barometric pressure look blurred simply from the sample rate being so fast. The MSP430 version of this software tak
  15. Hi, I would like introduce I2C boosterpack project. PCB contains: - DS1338 RTC (Real Time Clock) with battery backup, - FM24CL16 small FRAM memory for storage non-volatile data, - PCF8574 8BIT IO expander - I2C connector for external I2C board (Arduino like 4pin standard), traxman Zip'ped Traxmaker *.PCB MSP430LP_I2C.ZIP
  16. I've been banging my head against the wall trying to get even the most basic USCI I2C slave examples working with the g2553. I'm using a Bus Pirate (which acts as a i2c master) at 100Khz to send bytes to the g2553 (slave). I'm using an untouched example from slac485a (Examples for MSP430g2xx3) -- msp430g2xx3_uscib0_i2c_09.c .. Here it is below (since it's fairly short): //****************************************************************************** // MSP430G2xx3 Demo - USCI_B0 I2C Slave RX multiple bytes from MSP430 Master // // Description: This demo connects two MSP430's via the I2C
×
×
  • Create New...