취소
다음에 대한 결과 표시 
다음에 대한 검색 
다음을 의미합니까? 

NI-8452 Stream Mode more than 64bits?

해결 완료!
솔루션으로 이동

I hava an SPI ADC which I want to read using the stream API for high conversion rates (using the NI-8452) but want to read back all 7 ADC channels in one multi-read SPI command. The maximum number of bits that the stream API seems to support is 64 bits where I need to really read out about 232 (7 x 32 + 8 for the read command). Is there any way around this?

I use the stream mode to detect a DRDY event, but once a single channel is read the output on the ADC chip is reset (so subsequent interrupts will only be generated on new data).

Seems fairly limited otherwise.

0 포인트
1/3 메시지
4,291 조회수
솔루션
주제 작성자 DavidSands이(가) 승인함

David,

 

The payload that you are trying to stream is not a standard for SPI. We try to follow the SPI standards and give you up to 64 bits to stream at a time. If you cannot split your reads into separate 64 bit reads, you will be unable to perform this operation with the 8452. If you had some other interface, such as FPGA, you my be able to implement a custom SPI protocol on the FPGA. With the 8452, however, you do not have these options.

2/3 메시지
4,243 조회수

Thanks Daniel,

 

I suspected as much just wanted to be sure.

 

Regards


David.

0 포인트
3/3 메시지
4,232 조회수