Hi all,
I am going to use the above chip. Datasheet here.
I am a little puzzled over the datasheet's mention of
Where FREQHIGH and FREQLOW are byte-wide variables.
I suspect that the following should not work
Where FREQ is a Word-wide variable.
MPep.
I am going to use the above chip. Datasheet here.
I am a little puzzled over the datasheet's mention of
Does this mean that the following code should work okay?When the SEN line is brought LOW, serial data presented
on the SDI input is clocked in on the rising edges of SCK
until SEN is brought HIGH. On every eighth rising edge
of SCK, the preceding 8-bits of data are clocked into the
internal register. It is therefore possible to clock in only
the 8 {D15 - D8} most significant bits of data rather than
completing an entire transfer.
Code:
low CS
hspiout (freqhigh)
pause 1
hspiout (freqlow)
high CS
I suspect that the following should not work
Code:
low CS
hspiout (freq)
high CS
MPep.