|
Post by mariotheissl on May 30, 2018 7:25:14 GMT
Hi, did anybody try to access the SPI bus with the DMA controller? I would like to read data from the ads1274 ADC (24Bit sigma delta) with the SPI bus. The following article describes the same problem with an MBED lpc1768. kevinchen.co/assets/projects/surfboard/surfboard-paper.pdfBasic description of the circuit: DRDY pin of the ADS1274 goes low, when data is ready to read DOUT pin of ADS1274 is connected to MISO of SPI SCLK is connected to SCK of SPI The clock frequency should be 27MHz. It would be great if anybody could give me information how to solve this problem with shieldbuddy Best regards
|
|
|
Post by mariotheissl on May 30, 2018 7:26:37 GMT
|
|
|
Post by Admin on May 30, 2018 8:19:15 GMT
We have used the SPI with DMA for the ADS8343 ADC from TI. This is not part of the Arduino environment but it could be added in.
Htx_ADS8343.cpp (12.03 KB) Htx_ADS8343.h (3.34 KB)
|
|
|
Post by mariotheissl on May 30, 2018 11:16:23 GMT
Ok. Is there any other possibility to get fast access to the ADS1274, otherwise I have to use one core of the TC275 for the ADC communication? Does the shieldbuddy with Arduino in principle supports DMA programming? The STM32 is able to set up a DMA SPI communication www.stm32duino.com/viewtopic.php?t=2818
|
|