Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: Write to I/O pin in fewest number of clock cycles

$
0
0
[quote user="A S"]Thank you for replying. 2. What frequency do you require these pulses to be? 10 MHz, if it truly is 1 bit per cycle 4. What is the frequency you are running the CPU at? 33.3333 MHz [/quote] If you just need output pin toggle 1010101010... at high frequency, than you can divide MCLK/SMCLK and send it out by using port mapping (if they are already not present on device pins. If you need to send specific pattern at high frequency, than store it in flash / RAM in advance, and fire it by DMA on output pin. It will go out on MCLK/2 frequency.

Viewing all articles
Browse latest Browse all 62309

Trending Articles