cancel
Showing results for 
Search instead for 
Did you mean: 

Ads1220 for STM32F4 example code ?

Anaelle Q
Associate II

Hi everyone,

I try to find an example code of ads1220 for my stm32F407 MCU.

If someone have it :)

Thank a lot ,

Anaelle

4 REPLIES 4
Clive1 (HNL)
Senior II

Perhaps broaden you search, find other examples you can port yourself. Even ones for different STM32 parts, or different micro-controllers. Find SPI code examples within the HAL BSP trees.

Anaelle Q
Associate II

Hi,

Thank for your answer,

Your right, it exits example code for MSP430 ship but the software of this ship is too different compared to STM32.

If someone kwon how to convert the MSP430 software into STM32 ?

Anaelle

> If someone kwon how to convert the MSP430 software into STM32 ?

Not directly.

At least you should be able to take the sequence of reads/writes from the MSP example, both for initializing the ADC, and for operation.

You need to take care for a proper configuration of the SPI peripheral, perhaps using Cube. The parameters (clock polarities, word sizes, etc. are determined by the slave, i.e. the ADS1220).

WPARK.1
Associate III

Hello Anaelle, I am having same problem with you. Actually I failed to port Arduino library to Stm32 library. Did you solve the problem?

Thank you for reading.