Spaces:
Runtime error
Runtime error
{ | |
"ticketNumber" : "1002851", | |
"reporterName" : "Pablo Trevisani", | |
"rankPoints" : "50", | |
"resolutionStatus" : "", | |
"ticketName" : "TDA2E: Counting an external signal edge", | |
"rankName" : "Prodigy", | |
"replies" : "", | |
"views" : "", | |
"queryText" : "Part Number: TDA2E Other Parts Discussed in Thread: MMWCAS-DSP-EVM Hello. I need to count the rise or falling edges of an external clock signal which frequency is up to 300 kHz using the TDA2xx on the MMWCAS-DSP-EVM board (I just use the Ethernet peripheral so I can unmount lot of components if necessary). As you can imagine using an interrupt approach is not reliable at such high frequency, so, I intend to use a counter module that directly writes into a register the number of time the specific edge arrives. I took a look into \"Timers\" chapter inside TRM document (SPRUI29G) but it seams there is no way to increment the counter register using an external source. Could somebody provide me some guide? Which other module can I use to reach my goal? Thanks in advice, Pablo.", | |
"imageList" : null, | |
"partNumber" : "NA", | |
"allResponseList" : [ { | |
"contentId" : "", | |
"userName" : "Stanley Liu", | |
"rankPoints" : "50045", | |
"rankName" : "TI__Guru", | |
"date" : "", | |
"userId" : "/members/22243", | |
"content" : "Hi, You can refer to TRM Ch 28 PWM which has eCAP to capture input signal. However, you have to check if EVM has exposed any pin which is routed to eCAP. https://software-dl.ti.com/processor-sdk-linux/esd/docs/06_03_00_106/linux/Foundational_Components/Kernel/Kernel_Drivers/Display/PWM.html Regards, Stanley", | |
"imageList" : null | |
} ], | |
"tags" : [ ], | |
"fourmType" : "processors-forum" | |
} |