Search the Community
Showing results for tags 'TWI'.
-
Hello, I'm trying to migrate my old project for MSP430G2452 from Energia 0101E0009 to the last version 1.8.7E21. However I got a lot issues. 1. Controller starts to slow - as I understood the issue is in the enableXtal() function which tries to find clock crystal, which I don't use. I just commented it out in init_clock() directly in core and it helped. 2. Actuall frequency of MCU was incorrect (It is much slower) - found answer on forum here https://forum.43oh.com/topic/13473-blink-example-too-slow/. And now it works as expected. 3. Now I'm trying to use Serial. But i
-
Someone can helpme, i'm taking incorrect readings of a magnetometer I believe with the problem are in my i2c code implementation. /* * Print all printable characters on usb channel using UART mode of USCI module * the print is based in busy wait to transfer characters */ #include "msp/msp430g2553.h" void configureDCO(); void configureUART(); void putc(char); void print (const char[]); void print (short); void printStatus(); main() { configureDCO(); configureUART(); UCB0CTL1 = UCSWRST; //Reset USCI UCB0CTL0 = // USCI_B0 control register UCMST
-
- msp430g2553
- USCI
-
(and 3 more)
Tagged with:
-
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.
- 2 replies
-
- MSP430
- MSP430G2553
-
(and 3 more)
Tagged with: