Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Hello,
My MSP430 is communicating to the a bluetooth module through UART. As soon as the characters are transmitted, the TX line in the bluetooth module goes high. As a response, I receive characters from the bluetooth module, my UART interrupt triggers but I receive the same character over and...
Hi Bigdog,
Right now I am just checking the UART simple loopback code for MSP430. Although I have connected the bluetooth module to Pin 39 and 40 (UCSI_A0 TX and RX), I am not using it at present. I have enabled the second pair of UART lines PIN 53 and 54 and want to check the loopback code...
Hello,
I am working on MSP430F5438A and have done a simple UART program to echo back the transmitted character to the receiver buffer. The code worked fine. ButI had connected the UART to a bluetooth chip. I am able to transmit characters to the UART unable to receive any. So I took a step...
Hi BigDog,
Thanks for the advice. The combination of FreeRTOS and Lwbt is taking up about 22k of memory. So either I have to do my own port of lwbt to MSP430 or as you said roll my own Bluetooth stack using lwbt as a template. Going forward I am looking to port lwbt to MSP430 without FreeRTOS...
Hi Bigdog,
I have couple of questions.
1) I ported lwbt by adding the files under the Demo_Source folder for FreeRTOS port of MSP430 demo application. Is this correct way of porting?
2) As you suggested I looked into the file print-stdarg.c and it had a write function which didn't do much but...
Hi Back Again,
I am trying to port lwbt to FreeRTOS and use that on MSP430. I am currently using CCS v4.2.4. So as the first step I ported FreeRtos for MSP430 CCS Ide. Then I tried to include lwbt files in FreeRTOS. I added the files directly under the Demo Source folder for RTOSDemo for...
Re: UART APIs for MSP430
Hi Shiva,
Thanks. I was looking for a confirmation that we have to write the C code for UART communication. I was checking to see whether we have commands like "fd = open(port, O_RDWR | O_NOCTTY | O_NONBLOCK);" similar to the ones we use in linux/windows.
Cheers.
Hi Bigdog,
Yes finally managed to compile the makefile. There was one more problem and as you had pointed earlier, it didn't support CAT/SHELL command, so I have removed them and added the filenames and now I can compile. Many thanks for your efforts.
Hi Bigdog,
I tried with your bin folder and replaced it but the MAKE_VERSION still gives it as 3.81. Am I doing something wrong
---------- Post added at 15:49 ---------- Previous post was at 15:41 ----------
Hi Bigdog,
I am not sure whether this will be of help. But I have downloaded Msys as...
Hi BigDog,
I have the latest Mingw as you have mentioned. I have downloaded the latest Make file as well but the most daft question I am about to ask, I don't know how to install the Make utility in Mingw or do I need to run any exe file.
thanks.
Hi BigDog,
I am running this in Windows. I downloaded the Mingw along with Msys from the official mingw site. I will copy and paste the make file which came along with lwbt.
CFLAGS = -I. -Wall -m32 -g
all: lwbt.out
include build_rules.mk
sources = $(shell cat filelist)
ifneq...
How do I know what is version of the Makefile. I am sorry if it sounds daft.
---------- Post added at 12:38 ---------- Previous post was at 11:18 ----------
Hi Shiva,
I managed to find out the version. It is using 3.81. How do I build Make from Sources
Hello All,
I have downloaded Light Weight Bluetooth and am trying to compile in TI Code Composer Studio as a Standard C/C++ Make Project. I didn't do any changes to the make file. I downloaded the gcc compiler and have including the build command and build path in the properties of the the...
Hello,
Thanks for the effort. It worked with the external power supply. The board was not receiving enough power for the FET to be able to load the program to the target. I would like to this thread has been answered.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.