I want to use SPI communications to drive peripherals, but I don't know how to send an array using the SPI model in MBD, which is designed to ensure that CS cannot be pulled high before the array element is sent end。
Please check this lecture: Motor Control Class: Lecture 8 - Power Stage Configuration (DevKit MotorGD)
It is exactly about SPI communications and it includes an example as well.
Hope this helps!
I saw the introduction of this video, this is every one byte, CS will pull up, but our peripherals are not allowed, and can only send all orders to pull up
I'm afraid i do not understand your concern.
Are you interested to know how to send more than 1 byte in a single shot over SPI ? or in how to send an entire vector - element by element over the SPI ?
Can you describe a little bit more about your application. Perhaps we can figure out a way to do that.
Retrieving data ...