dsPIC33f and SPI,SSEN too short

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

Reply to
blisca
Loading thread data ...

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.

Reply to
markp

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.

Reply to
markp

Please check this data sheet again:

formatting link

Figure 3 has no SSEN pin ??!!

hamilton

Reply to
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

Reply to
blisca

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.