cancel
Showing results for 
Search instead for 
Did you mean: 

Interfacing HX711 load cell amp using STM32F407VG

BMoha.3
Associate II

I am trying to receive data from the HX711 amp. This module requires a CLK signal from the mcu (stm32407VG). What is the best solution to send a clock signal to the HX711 module from a GPIO pin ? How to configure this GPIO pin in CubeMx ?

2 REPLIES 2

This isn't an ST product, expect to have to read the data-sheet and implement a suitable interface to the STM32

Based on my reading of the data-sheet you'll need to configure two GPIO, one as input the other as output, and review the protocol so you can implement it in your code.

I'd say you'd need to start with a bit-banging driver, and then see if you can optimize that, of make it TIM or IRQ driven.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Uwe Bonnes
Principal III

Keep in mind that PD_SCK longer than 50 us sets the device in PowerDown. If you Bitbang make sure not to hit that limit! Generating with a timer or UART will generate secure timing.