Part Number: CC2640
Other Parts Discussed in Thread: ADS1292R, ADS1292
Tool/software: TI-RTOS
Dear everyone,
I am currently working with a CC2640 and I would like to communicate with an ADS1292R to acquire some Biopotential Measurements.
The ADS1292R offers a SPI interface to access functions like init, start/stop measures and so on.
To be effective, the ADS1292 need a little delay to consider a command (a READ need ~8µs to be effective).
My question is simple : what is the best way to control my device.
Atm every examples I found were on the "Application" folder (Code Composer Studio), and programmers had to use "bool SPI_transfert(SPI_Handle handle, SPI_Transaction *transation)" and "sleep/wait" functions, I would prefer to let the TI-RTOS handle those calls.
On linux, I used to create a driver to control low level component in a kernel space and let the hight level application in a user space.
May I do the same thing with TI-RTOS?
Is it easy to devellop a TI-RTOS driver? Do you have any example?
Best regards,
K56