cancel
Showing results for 
Search instead for 
Did you mean: 

spi chip enable strobe

silent
Associate II
Posted on March 24, 2015 at 14:39

I need to transmit 5 bytes and after strobe ''update pin'' on ad9951 over and over again with speed about 300-400khz. Start every time transmission for each 5 bytes and strobe on tx complete - will not make it, it's to slow.

Right solution is to send block of more bytes to dma, but how to strobe every 5 bytes ''update pin''? 

Any suggestions?
3 REPLIES 3
francescatodiego
Associate II
Posted on March 24, 2015 at 19:19

My idea

,

but not well

defined..

Feedback t

he

spi clock

as

external clock

to a timer

of the microcontroller

timer

configured

external clock

autoreload

preset=40 (spi clock

count

between

two strobe signals

)

when

timers

expire

move

one output for

one clock cycle

silent
Associate II
Posted on March 24, 2015 at 19:35

Interesting, i'll think about it, thanks )

silent
Associate II
Posted on March 25, 2015 at 14:32

I forgot to say that update of the dds must be syncronised with constant frequency