Jump to content
43oh

32528_1489253934

Members
  • Content Count

    5
  • Joined

  • Last visited

About 32528_1489253934

  • Rank
    Noob Class
  1. Hey Lyon, Thanks for your interest. I started with one method and I will stick to it, so far I have been following Valvano's videos and Books...I am already getting used to the registers and datasheet. Btw so far i do not have any errors, it just does not drive the LED as expected. Greets, crom
  2. Hi Lyon, Thanks for your reply, I have tested the Pin Mux utility before....but it generates the Tivaware sort of code: MAP_GPIOPinConfigure(GPIO_PF3_M1PWM7); It would be handy to have the PinMux Utility to generate code that it is consistent with the datasheet!!!, so in general I can realy use it. Please If you have any more suggestions, please let me know. Greets, crom
  3. Hi Lyon, Well that is exactly what I have done, if you see the rightmost comments are mine ... I did change the values according with data sheet, i went through several times but I can not spot the mistake. Thanks for you interest, crom
  4. Hello There, I have modified one of the example files from Proffesor Valvano, I've got this file from: http://users.ece.ute...m/PWM_4C123.zip I have modified PWM0A_Init so I can see the output on PF3 (Green Led), here the most right comments indicate the changes that I have made: void PWM0A_Init(unsigned short period, unsigned short duty){ volatile unsigned long delay; SYSCTL_RCGCPWM_R |= 0x01<<1; // 1) activate PWM0 >>activate PWM1 SYSCTL_RCGCGPIO_R |= 0x01<<5; // 2) activate port
  5. Exactly, PIOSC is the default clock....also if other clock source is configured like MOSC, but later on there is a system clock error...then the system clock falls back to PIOSC by default. I would recomend you to check the Data sheet, look for chapter 5...in particular look figure 5.5 it is a functional diagram of the main clock tree.
×
×
  • Create New...