Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I want to transmit data to MCP4922 DAC using SPI with DMA but as with most non-audio DACs it requires a pin toggle to latch data in the DAC buffers after each TX. There is a Chip select associated with each SPI port on the STM32F4 but the timing is not right to use for the latch function as pin needs to be low for full transfer. Using DMA to automate a transfer in this case is difficult and hovering around waiting for busy flags to clear is a pain. Has anyone come up with a workaround for a similar situation? Wonder why manufacturers of control DACs can't work out a more modern solution for DMA transfer.

share|improve this question
1  
Can you use a GPIO pin and control it from a DMA interrupt? – dext0rb Jan 15 at 5:51

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.