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.
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.
|