Quantcast
Channel: Forum - Recent Threads
Viewing all articles
Browse latest Browse all 5781

Pulse output using AGT

$
0
0

Before posting this message I tried to find sample code, because that's what I do with other Renesas microcontrollers that have plenty of examples on every peripheral function, but I couldn't find anything related to my question, so there is it:

I'm trying to output a precise pulse using AGT. I configured AGT with output enabled and invert output, and I configured the P4.10 pin to act as AGTOB1, but it doesn't output anything. I followed the driver initialization and all the calls return SSP_SUCCESS. Obviously there is something I'm doing wrong, but I can't figure how should I proceed.

My current purpose is to output a one shot pulse of exactly 140 ms on P4.10 every time I press S4 on the SK-S7G2 board.

Any help, please?


Viewing all articles
Browse latest Browse all 5781

Trending Articles