Hi,
SPI can be done with any microcontroller I know.
Most of them include SPI hardware periferal, but in case they don't have you can generate software bit bang SPI.
But again you are not clear with your post. I'm sure there are more than 10.000 software examples for ARM with code that does SPI communication.
We don't know what information you miss..
Klaus
It seems you don´t want to do it on your own.--> Read about SpiData / pInData.
/**
* @brief SPI data package
*/
typedef struct {
uint16_t cmd; ///< Command value
uint8_t cmdLen; ///< Command byte length
uint32_t *addr; ///< Point to address value
uint8_t addrLen; ///< Address byte length
uint32_t *data; ///< Point to data buffer
uint8_t dataLen; ///< Data byte length.
} SpiData;
Yes. Correct.Hello Klauss ,You did not understand me correctly.
but don't say which sensor, nor which commands, nor give a link to a datasheet.read data from a sensor
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?