Questions tagged [msp432]

42 questions
1
vote
0 answers

Editing MSP432 .cmd file to declare variables accessible from inline ASM

I need to set up a mutex in my TI MSP432 C project, developed in CCS IDE. I'm not using an OS, but I have several ISRs competing for a buffer resource. To obtain atomicity I want to go for assembly instructions, however I find it difficult to…
GioP
  • 55
  • 1
  • 10
0
votes
0 answers

Is the newline identifier (0a) put into the receive buffer when uart communication is performed?

When I am communicating with uart communication on a microcontroller msp432, I find that a value of 0x0a is added to both the sent and returned values, does this do anything? enter image description here enter image description here After checking…
0
votes
1 answer

Why does Tera Term return the Greek letter alpha when I send '!' to the MSP432 microcontroller?

I'm trying to learn how to use the microcontroller properly for a class and for some reason the terminal I'm using to communicate with the micro controller refuses to display the proper character and will also get stuck in the buffer…
TheBoomis
  • 1
  • 1
0
votes
0 answers

Incrementing variable based on IR sensor

I'm trying to create a system using a MSP432 and IR sensor that increments every time the sensor is triggered. This variable then needs to be displayed on a 16x2 LCD. I currently have the IR sensors and LCD working running together. In my current…
0
votes
0 answers

Can I enable a button toggle interrupt to pause my timer? MSP432 -- Code Composer Studio

Hello! I am working on a project where I have to enable a timer that counts up every tenth of a second and outputs my times in binary. Independently, the timer itself works perfectly. However, I want to add a function to use my internal board…
0
votes
0 answers

MSP-EXP432P401R : Debugging fails with 'JTAG Communication Error'

I have a problem with the MSP-EXP432P401R. After connecting, it runs for some time but after some time suddenly the board gets disconnected. The exact error message is: CORTEX_M4_0: JTAG Communication Error: (Error -615 @ 0x0) The target failed to…
0
votes
0 answers

Read or write a 8bit register in MSP432P4111 / Telemetry System with CC1200

/******************************************************************************* * @fn trx8BitRegAccess * * @brief This function performs a read or write from/to a 8bit register * address space. The function handles…
Andonikos
  • 1
  • 1
0
votes
1 answer

Code Composer Studio: unresolved symbols remain

You may encounter a build error: 'unresolved symbols remain'. This may be because you have not installed CCS along with SimpleLink SDK properly for the MSP432. To fix this, here a solution that you can try, courtesy of my Professors:
REN
  • 65
  • 6
0
votes
0 answers

Doing Simon Says in MSP432 c program in CODE COMPOSER (random Leds)

I want to do edit this code which is a random generator using Leds but wants to increment the random length as the user input the patterns, this is what I got so far, doing it with an MSP432 launchpad, in code composer c programing, is a simple…
0
votes
1 answer

MSP432 Launchpad not recognizing when only one button is pressed

I am trying to create a program on the MSP432 Launchpad which will turn on the Green LED when neither of the two onboard buttons (P1.4 and P1.1) are being pressed and turn on the Red LED if only the P1.4 button is being pressed. With the code below,…
0
votes
0 answers

Tail Chaining PendSV

I am creating an RTOS kernel using MSP432 Arm controller. I am using PendSV for context switching. The issue is that when the systick handler sets PendSV handler but it is never called. I have the Systick handler at priority 0 and PendSV at priority…
Mperez
  • 85
  • 1
  • 6
0
votes
1 answer

unresolved symbol pthread_create, first referenced in ./armrtk/src/task.obj

I have been trying to figure this out for a few days now and cannot figure it out. I am using CCS as the IDE and I am working on windows. I am trying to create an RTOS Kernel on a MSP432 and need to use pthreads. I have been able to use pthreads in…
Mperez
  • 85
  • 1
  • 6
0
votes
0 answers

Makefile error - include error - C programming

I am running into an error when building my Makefile. It can't see to locate the header files in the root/include directory. This is my file structure: root: ---->include ---->CMSIS: header files ---->common: …
palacetrading
  • 71
  • 1
  • 11
0
votes
0 answers

Bluetooth Programming with the MSP-EXP432P401R

I am trying to connect my MSP432 to my HC-05 Bluetooth module however when I connect to the module using a Bluetooth terminal, I receive no feedback. I've attached my code as well. Is the RX pin P3.2 and TX P3.3? void setup() { Serial.begin(9600);…
0
votes
1 answer

How can I use an older version's CCS header file?

I am trying to include "msp.h" in a CCS v9 project in order to run code in a book I am reading. Here's an example code snippet: * This program toggles green LED for 0.5 second ON and 0.5 second OFF. * The green LED is connected to P2.1. * The…