2398 views|5 replies

33

Posts

0

Resources
The OP
 

Interaction issues between STM32F429 and AD7606 [Copy link]

We use STM32F429VET6 to read the conversion data of AD7606. We used software-simulated SPI before, but found that the speed could not reach 200K, and the program was always interrupted, so it took up a lot of resources. Although it is connected to the hardware SPI, there are some conversion completion flags for reading AD7606 data, such as BUSY, etc. When monitoring these flags, interrupts are still used, so it is still interrupted, and I don’t know whether these flags can be used to read data using DMA. I don’t know if we are using it wrong. Has anyone used AD7606? Is there any good way to solve this problem? Or is there any expert who can tell us whether STM32F429 can read AD7606 data without taking up too many resources?

This post is from stm32/stm8

Latest reply

SPI has high speed, so try to use hardware SPI instead of simulation.   Details Published on 2023-10-6 09:30
 

9717

Posts

24

Resources
2
 

Try SPI in SLAVE mode, calculate the delay of BUSY signal, and other signals are generated by timer

This post is from stm32/stm8
 
 

4005

Posts

0

Resources
3
 

The BUSY bit can be detected using the IDR of the io port, which has nothing to do with spi. Once the matching level is detected, spi transmission is started, which has nothing to do with dma.

Try to use hardware to avoid taking up resources

This post is from stm32/stm8

Comments

So 200K is not a big pressure for STM32F429, right? Can we handle other tasks during data collection?  Details Published on 2021-3-25 10:05
 
 

33

Posts

0

Resources
4
 
huo_hu posted on 2021-3-25 08:01 The detection of the BUSY bit can be done with the IDR of the io port. It has nothing to do with spi. After detecting the matching level, start the spi transmission. It has nothing to do with dma. Try to use hard...

So 200K is not a big pressure for STM32F429, right? Can we handle other tasks during data collection?

This post is from stm32/stm8

Comments

F4, sure.  Details Published on 2021-3-25 18:21
 
 
 

4005

Posts

0

Resources
5
 
zhangliyuan posted on 2021-3-25 10:05 So 200K will not be a big pressure for STM32F429, right? Can other tasks be processed during the data collection process?

F4, sure.

This post is from stm32/stm8
 
 
 

1025

Posts

0

Resources
6
 

SPI has high speed, so try to use hardware SPI instead of simulation.

This post is from stm32/stm8
 
Personal signatureچوآن شـين
 
 

Guess Your Favourite
Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list