Search the Community
Showing results for tags 'IIC'.
-
Hello I hope you can understand my english I have a texas instruments tm4c123gxl with a SainSmart IIC/I2C/TWI Serial 2004 20x4 LCD Module. I will connect this Display over I²C. For the 5V Supply voltage i have use the VBus on the tm4c... For the SDA/SCL i have use the pin PA6 and PA7. Does it work like this? or need a Logic Level Converter - Bi-Directional for the SDA/SCL Line? from 3,3V to 5V. I have use a Pullup resistor for the Line SDA/SCL, how in the datasheet from the tm4c. And i have use this Code: #include <Wire.h> #include <LiquidCrystal
- 2 replies
-
- tm4c
- tm4c123gxl
- (and 2 more)
-
I have a Spikenzie Labs LCD screen with an interface (screen utilizes the HD44780 chipset). I have it connected to an MSP-EXP432P401R (Rev 1.0). I have finally got code working that allows me to write to the LCD screen through the serial monitor, however I can only write to the screen for a short but varying amount of time. Sometimes I can print to the screen for 5 seconds, sometimes only for 1 second before communication cuts out. Here is the code I am using: #include <Wire.h> #include <LiquidCrystal.h> #define addr 0x40 >> 1 void setup() { Wire.begin(); Serial.beg
-
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:
-
MSP430F5529 has two I2C interfaces, using P3.0/P3.1 (SDA/SCL) and P4.2/P4.1 (SCL/SDA) and two SPI interfaces using P3.0/P3.1/P3.2/P2.7 (MOSI/MISO/SCK/CS) and P4.2/P4.1/P4.3/P4.0 (MISO/MOSI/SCK/CS). How, or rather maybe, what is the best way to access the non-default I2C/SPI peripherals, without resorting to modifying the Energia core? For instance, I am using the LiquidCrystal_I2C library found here, and it works fine on the G2553 and F5529, but I'd like to move the LCD over to the other I2C peripheral so I can use those pins for an SPI device. On Tiva, one can do "Wire.setMod
- 5 replies
-
- MSP430F5529
- I2C
-
(and 2 more)
Tagged with: