Jump to content
43oh

Sahil

Members
  • Content Count

    11
  • Joined

  • Last visited

Everything posted by Sahil

  1. I have no experience with energia so try to make sure the the driver libraries paths are correctly defined in settings.
  2. Dear all, The problem has been fixed by introducing the PLL. i.e. SysCtlClockSet(SYSCTL_SYSDIV_5 | SYSCTL_USE_PLL | SYSCTL_XTAL_16MHZ | SYSCTL_OSC_MAIN);
  3. Hello all, I am stuck in initialization of the ADC, all that code used to work but now it just stopped working.This code is working fine in Keil IDE and also used to work in CCS. I tried to debug the code and found at the following instruction it jumps to Fault ISR. ADCSequenceDisable(ADC0_BASE, 0); //ADC0_ACTSS_R &= ~(ADC_ACTSS_ASEN0); //Disable Sample Squencer0 before configuring it</span>I also tried to use the direct register access as mentioned above in commented text, but no luck. The whole code of the program is; int main(void) { volatile unsigned int u
  4. Though the post is a bit old, I am sharing my code that might be useful for someone googling for something similar. /* This program uses an interrupt routin to toggle the LEDs when SW1 (connected to PF4 pin) is pressed. The program remains in forground thread till it receive the interrupt request by pressing SW1, it jumps to the backgrouind thread i.e. IntGPIOF ISR and performs the task and comes back to the forground thread */ #define TARGET_IS_BLIZZARD_RA1 //This is required for Keil IDE in order to compile the code with ROM_ functions #include "inc/hw_types.h" #include "inc/hw_ints.h
  5. @ Your point is informative, thank you for that.
  6. Hi Lyon Thank you for your reply. I have made some modifications in the code. Now it is working fine. The link you mentioned was informative. int main(void) { char uartrecv; char stringrecv[]=""; int i=0; //SysCtlClockSet(SYSCTL_SYSDIV_5 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); // // Set the clocking to run directly from the external crystal/oscillator. // TODO: The SYSCTL_XTAL_ value must be changed to match the value of the // crystal on your board. // SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_OSC_MAIN |
  7. @@spirilis I agree with you but you can use hyperterminal to talk to the microcontroller by mentioning the ip address and the port of the microcontroller (via ethernet booster pack) in the hyperterminal configuration setting.
  8. Dear All, I want to collect the received characters from hyperterminal through UART0 of my launchapd and to save them to a string and then to print it back on the hyperterminal. When I try to print it (e.g. UARTCharPut(UART0_BASE, *stringrecv[0]) it prints nothing. my code is as follows; int main(void) { char uartrecv; char *stringrecv[4]; int i=0; //SysCtlClockSet(SYSCTL_SYSDIV_5 | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_16MHZ); // // Set the clocking to run directly from the external crystal/oscillator. // TODO: The SYSCTL_XTAL_ value must be changed
  9. Dear All, I am interested to play with any Ethernet booster pack with my LM4F120 launchpad, I want to communicate with my launchpad via Ethernet using Hypertermincal. I have not so far bought any Ethernet booster pack but the one mentioned above seems to be a good candidate. Is there any one who could share the required library for interfacing WIZnet's W5200 controller with LM4F120 and to make the communication via Hyperterminal. ? Also I dont know what is the communication protocol on Hyperterminal via Ethernet, UDP or TCP/IP ? Thank you all in advance.
×
×
  • Create New...