Could you please provide a circuit diagram for your setup? Also, a picture.
Pending that, two ways to generate glitches between lines are cross-talk and "ground bounce".
There are others, but those are two of the most popular.
But, let's...
That is pretty much the same information. It is missing the same details, and it does not come to a bottom line. What is ADCK, before we select one of the free running clocks? What do the settings slow, fast, very fast, etc, correspond to...
Hi,
For this question, I am interested in the ADC settings in the ADC library, for both the T3 and T4.
The ADC library provides settings for the sampling window in units of ADCK. Conversion time is specified there only as "SLOW" to "FAST" and...
Hi,
The SPI instrumentation project is getting a new controller, using the Teensy 4.1 As you can see, I am going to keyed connectors and separate connectors for the CCD devices and the SPI only devices. There is also a very low noise 3.3V...
Okay, here it is, the corrected sketch.
The open question; What should the mode setting be in 3-wire mode, and in daisy-chain mode? Any advice?
Thank you
Hi Paul, yes that is the chip.
Attached is the schematic and a functioning sketch, and a simple python script that talks to it and logs the data to a file. The code is very preliminary, just simple and direct for testing.
The readout from one...
Here is my starting point for code, it compiles and runs.
The question is, how to unpack the 18 bit words?
IMXRT_LPSPI_t *lpspi = &IMXRT_LPSPI4_S;
uint16_t spi_nbits = 8;
static inline uint16_t get_framesz( ) {
return (lpspi->TCR &...
Actrually trhat is a goof, i need to do it like this, (writing too many bits will start another transfer)
IMXRT_LPSPI_t *lpspi = &IMXRT_LPSPI4_S;
uint16_t spi_nbits = 8;
static inline uint16_t get_framesz( ) {
return (lpspi->TCR &...
Thank you. So the first bits are in the lower bits of the word?
In other words, for a 36 bit transfer (two 18 bit datum), I read 32 bits and then 4 bits. But the code is going to look like reading a 32 bit register twice.
The bits I need...
The above link is a "404 Not Found"
Any updates on this topic? I am not so much interested in an image built outside of the arduino ide, but rather an FFT that is optimized for the MCU.
The crossover processors are purportedly designed for...
Hi,
Are there instructions and examples, or some form of documentation specifically on how to use the NXP CMSIS, and in particular the FFT, on the Teensy 4 with the Aduino IDE?
The use case is data is read from an external 18 bit ADC, using...
Hi,
I am contemplating using an ADC with a "daisy chain" capability. There are now quite a few of these; as examples. see the ADS 8881 for 18 bits and the ADS 8861 for 16 bits.
How this works: To form the daisy chain, the clocks and convert...