Search found 4 matches

by lalvarezt
Thu May 26, 2016 11:24 am
Forum: STM32 Support
Topic: STM32F746ZG Nucleo144 and CMSIS PID Controller Problem
Replies: 1
Views: 2461

STM32F746ZG Nucleo144 and CMSIS PID Controller Problem

Hi i want to implement a PID controller and read that there is native support for this function using the CMSIS library.
I've initialized the PID

S.Kd=0;
S.Ki=0;
S.Kp=100;
arm_pid_init_q31(&S, 1);
and i'm calling the PID function with a constant value

q31_t x;
x=arm_pid_q31(&S ...
by lalvarezt
Tue May 24, 2016 1:34 pm
Forum: STM32 Support
Topic: STM32F746ZG Nucleo144 ADC Problem
Replies: 3
Views: 3281

Re: STM32F746ZG Nucleo144 ADC Problem

Hi now I'm testing the DAC module, and I'm having the same problem I had with the ADC.

#include "ch.h"
#include "hal.h"

#define DAC_BUFFER_SIZE 360

/*
* DAC test buffer (sine wave).
*/
static const dacsample_t dac_buffer[DAC_BUFFER_SIZE] = {
0, 2082, 2118, 2154, 2189, 2225 ...
by lalvarezt
Thu May 19, 2016 1:00 pm
Forum: STM32 Support
Topic: STM32F746ZG Nucleo144 ADC Problem
Replies: 3
Views: 3281

Re: STM32F746ZG Nucleo144 ADC Problem

Thanks RoccoMarco, everything works fine now.
by lalvarezt
Thu May 19, 2016 10:41 am
Forum: STM32 Support
Topic: STM32F746ZG Nucleo144 ADC Problem
Replies: 3
Views: 3281

STM32F746ZG Nucleo144 ADC Problem

Hi,

I just got an STM32F746ZG Nucleo144 and I'm testing the ADC conversion demo from the same MCU but Discovery version, since I think there are no official demos for this board. The ADC callback is not executing, maybe there are some difference on the boards? I changed the input to use the AN3 and ...