Jump to content
43oh

Simao

Members
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by Simao

  1.      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

  2.      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.

×
×
  • Create New...