Hallo Leute, ich habe ein kleines Problems bezüglich eines Registers. Und zwar benötige ich 2 single edge PWM Signale. Die Hardware habe ich wie folgt initialisiert: PWMPCR = 0x00000600; //Enable PWM1 and PWM2 in single edge controlled mode PWMMCR = 0x00000002; //PWMTC wird resetet, wenn PWMMR0 Wert erreicht wird PWMPR = 0x00000005; //Lade Maximalwert für Prescaller PWMMR0 = 0x00000063; //Match Register 0 -> Reset PWMTC bei PWMTC=99; PWMMR1 = 0x00000000; //Match Register 1 -> PWM1 auf low bei PWMTC=PWMMR1 PWMMR2 = 0x00000000; //Match Register 2 -> PWM2 auf low bei PWMTC=PWMMR2 PWMLER = 0x00000007; //Aktiviere die neue Match Register Werte //PWMEMR = 0x00000280; PWMTCR = 0x00000002; //Reset counter and prescaler PWMTCR = 0x00000009; //enable counter and PWM, release counter from reset Nun habe ich in "The Insider's Guide To The Philips ARM7-Based Microcontrollers" folgenden Satz gefunden: "One important line to note is that the PWMEMR register is used to ensure the output of the match channel is logic 1 when the match occurs. If this register is not programmed correctly the PWM scheme will not work. Also the PWM modulator does not require any interrupt to make it work unlike the basic timers" als ich versucht habe die genaue Bedeutung von PWMER in Datenblatt zu suchen, warich erfolglos. Kennt jemand die bedeutung von diesem Register? Und wieso wird es nicht in Datenbllt beschrieben???
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.