UCSSEL_2 is the selector bit set for the sub-main clock as the clock source for the UCB serial module. I have not looked through the code (and do not use the MSP432 processors) so I I can't give details, and someone else may be able to give you a full answer, but if you see assignments to UCBxBR0 and UCBxBR1, these are setting the baud rate register divider (the BR in the names is for "BAUD RATE").
If no one comes in with more complete information in the next day or two, I can look at the source.
For details about the bare LCD panel it is perhaps best to contact ILI? Another option could be to dismantle a LCD panel from the carrier board to see where the signals are routed and if there are any additional components underneath it.
I am using MSP432P401R and wanted to increase the I2C frequency from 100kHz(Standard) to 400kHz(Fast).
In the Wire library for arduino, there is a function Wire.setclock(). Has anybody written such a function for energia? Because it is not there in energia.
I went through the wire and twi libraries and found the following,
In wire library, Wire.endTransmission calls a fucntion in twi library, twi_writeTo() which has the following line of code,
UCBzCTL1 |= UCSSEL_2; // SMCLK
Is this the line of code that sets the clock speed?
Also in the twi.h library, the line of code,
#define TWI_FREQ 100000L
defines the frequency as 100kHz, but even if I changed it to 400000L, I don't see any change on hardware. Is this the right way?
I'd appreciate if anyone can help me with this.
Basically, you have two options:
Adapt an already existing Arduino library to the LaunchPad. You’ll need to dig deep into the code and understand how it works. See the FAQ
Read the data-sheet of the controller and develop the library from scratch. This way, you’ll learn how a display controller works.
As a matter of facts, option 2 proved to be easier for me when I developed my LCD_screen Library Suite.
Hi, I need a 2.0/2.2 inch TFT LCD compatible with TM4C123GXL. I am using energia platform but cannot find a suitable library for the same. Currently I have a 2.0 inch TFT color LCD but I am not able to interface it with the launchpad.
Below is the link of my LCD:
Hello 43oh user,
I will give something back in the future. Just working on a launchpad based automatic watering system with datalogger and sd card for storage. Other small projects are also on the way.
Hope you will continue working with this nice embedded controller that were developed in old germany.
Hi Chris, could you please help fix your RocketBadge programming page or point us to an alternate? I'm with Texas Instruments and I've provided hundreds of these to students to learn how to solder, but they say the site to program them (https://43oh.com/Badge) no longer works. Thanks! Jason, University Marketing Manager