2015-11-22 01:33 PM
2015-11-22 01:55 PM
...
HAL_SPI_Transmit(&hspi1, p, 32, 1000); // Send SPI x32 byte p += 32; ...2015-11-23 05:40 AM
Does it detect end of array itself ? thanks
2015-11-23 08:49 AM
It does not, you need to merge it back into your loop, which is currently bounding the array pointer, but is attempting to send the entire array at each iteration and not advancing the pointer. As explained to you previously the third parameter is the number of bytes to send.
The question seemed to be ''how do I send this 32 bytes at a time'', but I'm afraid I don't want to get pulled into your project or have to rewrite it all.