dsPIC33f and SPI,SSEN too short

Mar 27, 2010 4 Replies

Hi to everybody



Please can i have your help?



I would like to control an AD5328 DAC by a dsPIC33F.The AD5328 wants a SSEN kept low during the entire transmission,but the dsPIC33F in framend mode just send a pulse at the beginning of transmission. I could drive that pin as a normal I/O ,but it looks that interrupt and flags are not able to indicate when the transmission is done. Is that correct? Any hint about it? Many thanks



Diego


You can use the dsPIC33F in normal SPI mode with the normal SS# pin operation (use SPIxCON2 register to disable frame mode), interrupts occur when the transmit buffer has emptied regardless of mode. You would not use framed mode for this, as you point out the AD5328 requires a normal slave select.

Mark.

Please check the data sheet again (??!!), the SYNC# signal performs the same function a normal SSEN# signal except you have to assert SYNC#, do your transfer, and de-assert SYNC# each time you access the device.

Mark.

Please check this data sheet again:

formatting link

Figure 3 has no SSEN pin ??!!

hamilton

"markp" ha scritto nel messaggio news: snipped-for-privacy@mid.individual.net...

mode

formatting link

same

Thanks for the hints,i will keep it in account.Have a nice Sunday,guys!

Diego

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required