Picomite and AD9833 (SigGenerator)


Author Message
smoketronics
Newbie

Joined: 19/08/2025
Location: United Kingdom
Posts: 2
Posted: 03:28am 19 Aug 2025      

  matherp said  The Pico SDK doesn't appear to set the clock up until the first use of the bus. The workaround is to do a dummy transaction with CS high before you first use it for real

e.g.


setpin cspin,dout
pin(cspin)=1
setpin 4,5,6,spi
spi open 1000000,3,8
spi write 1,0
'
' now the clock will be high
'



3 years later . .

Thank you for posting about this SPI issue. I was about ready to tear my hair out when I stumbled across it. Output from an AD9833 the moment I tried it.
Using PicoMite 6_0_3 so no fix yet, but your workaround is great

SMO