Skip to main content
Anaelle Q
Associate II
April 15, 2019
Question

Ads1220 for STM32F4 example code ?

  • April 15, 2019
  • 3 replies
  • 3127 views

Hi everyone,

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

If someone have it :)

Thank a lot ,

Anaelle

This topic has been closed for replies.

3 replies

Clive1 (HNL)
Explorer
April 15, 2019

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
Anaelle QAuthor
Associate II
April 16, 2019

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

AvaTar
Senior III
April 16, 2019

> 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
June 6, 2022

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.