Search the Community
Showing results for tags 'change'.
Found 3 results
Hello , my problem is , energia msp432 pin mapping allows 2 serial ports. Serial and Serial1. and msp432 have a 4 hardware serial ports. so i want to add one more serial port to the msp432 energia firmware. i open a topic e2e.ti.com but they didn't answer yet. so maybe somebody help me here. https://e2e.ti.com/support/microcontrollers/msp430/f/166/t/444248 in energia ide , msp432 hardware serial pins are p1_2,p1_3 and p3_2,p3_3. but msp432p401r also have a two more hardware serial ports. p2_2,p2_3 and p9_6,p9_7. if we look at the hardwareSerial.cpp file , last 2 lines HardwareSerial Serial(0); HardwareSerial Serial1(1); and if we look hardware\msp432\variants\MSP_EXP432P401R\board_init.c file there is just 2 uart implemented with ti driverlib. but if we write Board_init.c: Board_initUART function like /* Set P1.2 & P1.3 in UART mode */ MAP_GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P1, GPIO_PIN2 | GPIO_PIN3, GPIO_PRIMARY_MODULE_FUNCTION); /* Set P3.2 & P3.3 in UART mode */ MAP_GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P3, GPIO_PIN2 | GPIO_PIN3, GPIO_PRIMARY_MODULE_FUNCTION); /* Set P2.2 & P2.3 in UART mode */ MAP_GPIO_setAsPeripheralModuleFunctionInputPin(GPIO_PORT_P2, GPIO_PIN2 | GPIO_PIN3, GPIO_PRIMARY_MODULE_FUNCTION); and i also add other uart definations to above the Board_initUART function. but thats not working. so i discovery something. if we just delete something in board_init.c file , purpose of syntax error. like i am deleting ";' charecter one line of code , energia still compile the sketch. so energia doesn't compile board_init.c file. and i don't know how to compile it. there is makefile file but its not working for me. and i am bad compiling things. so how i can edit energia msp432 hardware/firmware ? do you have a any idea ? thanks cevat Cevat Bostancioglu
Is there a way to change the font of the Serial Monitor window in Energia (version 1010E0012)? I want to change it to a fixed size font (like courier or deja vu) so columns line up. Looked in preferences.txt, but couldn't find it there. (not for the Serial Monitor anyway, just the code editor.)
Hello all, Working on a little project using simple interrupts. I'm trying to trigger an interrupt whenever a certain pin CHANGES. i can get the interrupt to trigger when using FALLING and RISING edges but not change. I'm using Energia (if that matters). Does anyone know what the problem is? is there a certain lib i need to import? Thanks in advance, Jill