Hello!I work on 10KHz dual PWM (CH, CHN) generation with dead time implemented.In error handle I want to stop the timer, and now I do it like this:if(HAL_TIM_PWM_Stop(&htim8, TIM_CHANNEL_2) != HAL_OK)
{
//Error_Handler();
}
//Stop channel xN
if...
Hello!I have found a lot of examples about simple ADC reads, with:-single channel single conversion-single channel continuous conversion-multi channel single conversion-multi channel continuous conversionAnd these with polling, interrupt and DMA.I ne...
Hello!I use SPI DMA (NSS always down) communication between 2pcs H743ZI.Everything work fine, till I don't change SPI speed to higher frequency (6MBits/s)It seems like, the DMA interrupts don't let enough time for While() to run.EXAMPLE:...
uint8_t p...
Okey, it works now. I just tested out an hour ago the same what you said right now :DYou have right. The calling sequence do this. If the first stop is on the Positive channel, then the Negative changing the polarity.Here are two pictures, which clea...
Thanks for the answer! I would to use cube, its now better for me instead of defining everything with code, I don't feel so safe with raw code.There is BRK interrupt for PWM, which not total clear how it works, but it set the PWM output on high or lo...
Okey, so I have made it, just not really work how I want it to work. But it works.The code:/*
* the example code is from dual interleaved mode configuration. But here below is only Dual regular mode
*/
#define ADCCONVERTEDVALUES_BUFFER_SIZE ...
Hi!I also try to figure out the differential ADC. I think, that it should work like: 0 to refVoltage.Im my case, I have 1.5V middle value for both channels.On change: PA0 -> 0 and simultaneously PA1->3V. And then the value first time PA1-PA0 = 0, and...