Quantcast
Channel: Processors
Viewing all articles
Browse latest Browse all 148978

Forum Post: AM3358 Internal RTC gives 2-3 interrupts a second (when 300 MHz)

$
0
0

Hi !

We are observing that we get 2-3 interrupts every second on an AM3358 custom board configured for 1 sec periodic timer interrupt when operated at > 300 MHz.

The 1 sec periodic timer interrupt works good when operated at 300MHz.

The original kernel driver did not support the Interrupts from the internal RTC, but we modified the driver (rtc-omap.c, interface.c, rtc-dev.c) to configure the 1sec periodic interrupt (Register 0x48). We are toggling a GPIO when the 1sec interrupt occurs and we observed on O-scope that at 300Mhz we get only 1 interrupt but when we change the frequency to more than 300 MHz we observe 2-3 interrupts a second.

Clock Source: We are setting the 6th bit  and clearing the 4th bit in the RTC_OSC_REG(0x54) to use the rtc_32k_clk_rtc_32k_aux_clk clock.

Kernel: Linux-3.12.10-rt15

Harsha Kiran KJ
Software engineer II
ABB Inc.
7051 Industrial Boulevard
74006, Bartlesville, Oklahoma, UNITED STATES
Phone: +1 9183354851
Mobile: +1 4053854043
email: kj.h.kiran@us.abb.com


Viewing all articles
Browse latest Browse all 148978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>