Teensy 4.0 -- Stream ADC0 and ADC 1 over SPI ( as slave?)

Status
Not open for further replies.

MakerV

Member
Alright, not sure how many people are on the forum looking at what people are posting..
I am coming up on some issues relating to the sparse documentation of teensy libraries.
I'd like to use my teensy 4 as a slave streaming ADC0 over SPI to another device to process the ADC information at 12bit +1Msps.
ADC1 will stream temperature information over the same SPI interface.

I do not see any code for the teensy4 to livestream ADC information over SPI?
Has an SPI slave mode for teensy 4 been developed yet?
 
You might check out the Teensydunio 3.52 beta #3 thread in the announcements sub-forum. I recall there were some recent posts about getting ADC working on T4 and about SPI/DMA. I recall they were posted, but I don't know if it would help you.
 
Yes, I had a look at the documentation.... not the best.
A couple of the examples actually couldn't compile properly. The SPI/DMA compiled but ended up messing up the data stream out from the T4s SPI outputs.

Be honest, I am not overly impressed with the lack of documentation with the whole teensy environment.
I have a group of students that initiated this gamma spectroscopy project a year ago and so far they haven't got very far as documentation around these boards is at best lacking.

Even thinking about going PSoC, as at least the documentation is better.
 
Last edited:
Status
Not open for further replies.
Back
Top