Tinkering TI MSP430F5529

|
Analogue Hardware Overview
Except Digital-to-Analog Converter (DAC), MSP430F5529 microcontroller offers two major analogue hardware peripherals – ADC12_A and Comp_B+. Additionally, there is an on-chip reference voltage generator called REF module that can generate pretty accurate voltage references – 1.5V, 2.0V and 2.5V reference voltages.
As the name suggests ADC12_A is a fast 12-bit Analogue-to-Digital Converter (ADC). Since it has higher resolution compared to other typical 8-bit and 10-bit ADCs of other microcontrollers, it much more precise when it comes to reading analogue voltages. MSP430s usually pack SAR ADCs and the ADC12_A of MSP430F559 is a 200+ ksps Successive Approximation (SAR) ADC. ADC12_A has an internal temperature sensor and REF module’s reference voltages can be used with ADC12_A for more precise measurements. It is also possible to use external sources. Positive and negative references can be independently selected. Sample-and-hold circuitry offers programmable sampling periods via timers or software. In MSP430F5529, there are 16 individually configurable input channels – 12 external input channels and 4 internal input channels. There also 16 buffer registers to store AD conversion data. Since MSP430F5529 hosts a Direct-Memory-Access (DMA) peripheral, it can be combined with ADC12_A and we can get some more interesting effects.

A comparator compares two analogue voltage levels. This comparison results in an indication of which signal is at a higher/lower voltage level than the other. In simple terms, it is a one-bit ADC. Though it may look that a comparator is unnecessary when we have a good built-in ADC, it is otherwise. A comparator is a very important analogue building block. It is helpful in places where knowing voltage levels is more important the voltage itself. This makes it faster than an ADC in such cases. Owing to this a whole lot of electronics is based on it. Examples of such electronics include oscillators, level sensing, VU meters, capacitive touch sensing, measurement devices, etc. A LC meter is a perfect example. A LC meter is usually based on an oscillator. This oscillator uses a comparator. Its frequency varies with the L and C components, oscillating at a fixed frequency with known L and C values. Measuring frequency shifts as a result of changing L/C values leads us to measure unknown L/C effectively.

|
I am surprised and happy to find this tutorial on the F5529 as TI makes a lot of different devices.
Thank you very much for putting in the extra knowledge in each segment, made reading worthwhile.
Good Work!
lovely tutorial but to be honest I don’t think I’d be investing my time on this board to start with it’s not cheap and readily available as the stm32 boards can you please do more tutorials on stm32 board’s and the stc micros thanks
Hello, I try to program MSP430FR6047 but i get error “the debug interface to the device has been secured”. when flashing using uniflash and when program using CCS this happen. can you help me to solve this problem
You can try “On connect, erase user code and unlock the device” option.
Pingback: Tinkering TI MSP430F5529 – gStore
Hello
I am doing project of msp430g2553 interface(using i2c communication) with temp 100(temperature sensor) and try to read the temperature in dispaly(16*2) but didn’t get the out put (using code composer studio) can u share me any example code for this project
Thank you sir,
Which sensor? Did you use pullup resistors for SDA-SCL pins?
Where is lcd_print.h?
All files and docs are here:
https://libstock.mikroe.com/projects/view/3233/tinkering-ti-msp430f5529
You want the truth? TI makes and sell “underpowered micros”, you know? Low everything, not only the power but also peripherals. So the price is not justified.
Otherwise, if I’ll move there, I’ll introduce them to my small hobby projects – there are still some advantages.
I may even make a visual configuration tool of my own for them…
Yeah the prices of TI products are higher than other manufacturers but I don’t think the hardware peripherals are inferior.
Not inferior but in not enough numbers compared to STM32.
True