Jump to content

Simao

Members
  • Content Count

    6
  • Joined

  • Last visited

  1. Banging your head against the wall has a very good side effect, you learn a lot and probably you will never forget that. Simao
  2. Simao

    uDMA SPI doubt

    Hi there, please bear with me, english is not my mother tongue, I have a doubt about SPI reading through udma. In order to get the clock to perform a reading of spi via udma , Do I need to start a udma write also in the TX channel, or as soon as I start the RX udma all the clocks are generated internaly without any further write. I mean, after the first write (dummy) which will start the receiving proccess?? I hope i've made myself clear. Thanks in advance Simao
  3. Acctually it worked already, my concern is about the value I get when I call SysCtlClockGet(), I guess I have to dig into KEIL help files to know what is happening but freq is OK. Thanks again. Simao
  4. Thanks a lot for your explanation. I´ll try your tip for 80Mhz and I`ll keep you informed. Simão
  5. Hi there, I would really appreciate any help here. Assuming ClockVal defined as unsigned long Clockval=0 After executing this 2 lines of code... SysCtlClockSet(SYSCTL_SYSDIV_5|SYSCTL_USE_PLL|SYSCTL_XTAL_16MHZ|SYSCTL_OSC_MAIN); ClockVal = SysCtlClockGet(); What should be the correct value of Clockval? A friend of mine reported 40,000.000 meaning 40 Mhz using IAR, in my case running Keil I get 3,200000 or 3.2 Mhz, does abybody have a clue for this weird value?? Thanks a lot in advance Simao P.S. 1) We both use Stellaris LM4F120 LaunchPad Evaluation Kit P.S. 2) It´s my first post so please bear with me if it´s not formaly correct.
  6. Thanks a lot for sharing, as a begginer (myself) it´s going to be a huge help, I´m using KEIL but it was very simple to port it, worked in the first try. Simao
×
×
  • Create New...