Skip to main content
Alan Samet's user avatar
Alan Samet's user avatar
Alan Samet's user avatar
Alan Samet
  • Member for 10 years, 6 months
  • Last seen more than a month ago
awarded
awarded
awarded
revised
How to debug this I2C hard fault?
added 75 characters in body
Loading…
answered
Loading…
awarded
awarded
awarded
awarded
accepted
awarded
answered
Loading…
comment
STM32 SPI w/ DMA "BUSY" flag set
I'm still a little confused. I made the assumption that the specified DMA_BufferSize would transmit, the interrupt would fire and the SPI transfer would complete momentarily afterwards. Do I need to explicitly DISABLE the SPI channel in the ISR? Also, in one of my tests, according to the documentation, I was doing something wrong by having both channels 2 (RX) and 3 (TX) of DMA1 active simultaneously. With the pins of the device tied together, it appeared to work in full duplex. Was this because of the latency of the SPI transfer allowing both RX and TX to be serviced by DMA?
asked
Loading…