2014-06-12 04:46 AM
1. On page 32 of AN4031 by ST, it says that peripheral should be enable only after DMA stream enabled.
http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00046011.pdfI have multiple tx & rx on SPI. Like send 2 bytes & then receive 2 byes. Then send 3 bytes & rx 3 bytes & this process has 30 such tx & rx.Does that mean everytime after each tx/ex I disable SPI & reconfigure DMA ( as no of bytes vary) & reenable SPI again?Is it suitable for low power application to enable/reenable peripherals in consecutive transactions or do it without DMA then semd CPU to sleep mode?