Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi,I want to interface two SPI peripherals on the same STM32H743 nucleo, am configuring SPI1 as Master and other as Slave and connecting them with each other. Am transmitting in polling mode via SPI1 and receiving in interrupt mode on SPI3. I am rece...
Any ideas why values would be non linear in the approximately the upper 1 to 2 bits?For the setup below, it is linear to between -17000 to +14000. Doubling the + output only yields around +18000. These are raw values. This really acts like an overflo...
STM32H7 SPI configured as Master with the Clock Phase and Clock Polarity 0 (mode 0). During the HAL_SPI_TransmitReceive() call, before the CLK the pulse is observed on the MOSI signal. Due to this the slave device is behaving differently. Agree the...
uint64_t write = 0x1111111122222222;HAL_FLASH_Unlock();if(HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD,0x0807F000,write)==HAL_OK) { HAL_GPIO_WritePin(GPIOG,GPIO_PIN_12,GPIO_PIN_RESET); } HAL_FLASH_Lock();
The STM32F3DISCOVERY board's main perk are the MEMS gyro and MEMS accelerometer/magnetometer combo.In different revisions of the board, these chips were changed (whatever was the reason). This of course has impact on working of software, including ex...
When the external 5V power of the STM32H735g-dk board is supplied, intermittently, the initial reset does not work normally.STM32H735g-dkCubeIDEDownloading the latest version of CubeIDE and CubeProgrammer does not solve the problem.If the initia...
Hi,I'm struggling to get the CAN working on a project I'm working on with the STM32F446ZET6. With the project below (CastletRestart) i just get a flat line of 3.3V high on the TX line for CAN1, this is being tested in loop back mode, with the TUT_CAN...
I have an application which I prototyped on an STM32L476. It works fine, but I need to move up to an STM32G4 since I need extra processing power. I am driving the ADCs quite fast (5.35MHz) and need to use HRTIM to get the sampling times right (sampli...
I am trying to make a controller with the HRTIM of the STM32G4. Consider that the converter is working in voltage mode. Here is how a voltage mode analog controller works :I need to digitalize it. So what is encircled in blue will be placed into the ...