We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello everyone! I have a project where I use one LM3S328 , however I am not consegindo configure PORT (A) as output and turn it on. How do this setting ? grateful:
#include <stdlib.h> #include <stdio.h> #include <stdlib.h> //#include "../LM3S328/inc/LM3S328.h" // Device header #include "../device/lm3s_cmsis.h" #include "../device/lm3sxxxx.h" #include "../LM3S328/src/gpio.h" int main(void) { SystemCoreClockUpdate(); SysCtlPeripheralEnable(SYSCTL_PERIPH_GPIOA | SYSCTL_PERIPH_GPIOB | SYSCTL_PERIPH_GPIOC | SYSCTL_PERIPH_GPIOD | SYSCTL_PERIPH_GPIOE); SysCtlDelay(3); GPIOPinTypeGPIOOutput(GPIO_PORTA_BASE, GPIO_PIN_3); while(1){ GPIOPinWrite(GPIO_PORTA_BASE, GPIO_PIN_1, GPIO_PIN_1); } }
I am developing a project with many menus for lcd . Therefore a simulation would be a shortcut. Was doing in PIC , but decided to migrate to ARM / Cortex . Thank you for your attention. My English is not very good
My English is not very good
It's not bad. Certainly better than my American.
ok thank you.
I'm looking at something on Proteus and I find myself with one exception. First exception: BUSFAULT then an addition of exception pedente HARDFAULT . I am studying on the subject. Is there any way to manage these exceptions and correct them ? Some link or material would be welcome. grateful.