Posted on October 01, 2014 at 19:53
Hello,
I am trying to use an STM32f4 discovery board to receive data in slave mode over SPI. I am using HAL drivers generated from STMCube and using interrupts to receive the data. I can read all the d...
Posted on October 07, 2014 at 16:33pData is a pointer passed into the function. It is an unsigned char array of 145456 elements.Thank you for all your help.
Posted on October 06, 2014 at 22:52
I changed to direct register access and it works much better. I still cannot get over 15 MHz however. When it messes up it misses a whole byte. I still do not know why this would be the case. This is my new re...
Posted on October 02, 2014 at 17:16FULL_ASSERT was not enabled so there won't be any optimizations there but I am going to look into compiler optimizations and go with DMA first and see how that goes and if that still doesn't seem to work I will rea...
Posted on October 02, 2014 at 15:52Thank you for the responses!I will try using DMA and see how that goes. After switching off of interrupts and receiving data synchronously in blocking mode I was able to achieve up to 8 MHz for the data but anythin...