2024-09-08 09:31 PM
Requirement:
I need to repeated sending a data buffer out through one GPIO like PA1,the buffer data is 16bit ,the buffer length about 100, frequency no more than 10MHZ.Can I use the DMA +TIM way to get it?
2024-09-08 10:53 PM
I don’t think you will be able to use timer and DMA to achieve this. You didn’t specify your minimum bit rate. What about using UART (Tx only)? You should be able to get at least 2Mbps from UART. At the higher UART speeds you may want to consider using the parity bit as well and/or you could append the stream with a checksum.
2024-09-08 11:27 PM
Hi, Mbrossett,
Thanks for your advice, my output pulse should be 5-10MHZ,but because I have another requirements, one is the GPIO output pulse quantity should be controlled ,so I think UART may can't be available. As the below photo shows, the GCK pulse quantity is fixed between two LCK pulse.