I2S 24-bit interface, DMA data/memory alignment?
For 24-bit I2S, should the data/memory alignment be configured to a word because it's 24-bit data on a 32-bit frame, or should it be configured to a half-word because SPIx_DR is a 16-bit register?
For 24-bit I2S, should the data/memory alignment be configured to a word because it's 24-bit data on a 32-bit frame, or should it be configured to a half-word because SPIx_DR is a 16-bit register?
HelloI have a hw configuration that uses mpu6050, lora chip, gps, and bluetooth using stm32f103 mcu. I use lithium polymer 3.7v 1300mah for power to board.It doesn't make sense to me, but it's like this.After downloading the firmware via stlink, mpu6...
It is configures as same baud rate as my embedded board and PCAN GUI is running. When I run program I see Tx error counter is incremented and no frames are sent out. When refereed to LEC it is bit dominant error.Bits 6:4 LEC[2:0]: Last error code10...
FMC bank 1 is set to NOR Flash PSRAM, bank 3 is set to NAND Flash. The transfer of NAND flash uses DMA.MPU of the above regions are set to non-cacheable, non-buffable, non-shareable.The issue occurs when PSRAM read happens during NAND flash read. The...
I 'm using this board for CAN communication with CAN1. I notice in User manual UM1871 Figure 14. MCU 1 CAN1_TX is connected via SB18 and it is open. For CAN1_RX it is mentioned in user manual that I have to close for Rx to work and not mentioned abou...
I am trying to use ADC with 2 channels and DMA, but I only get 1 reading before the overrun bit gets set. Also the 1 reading is wrong, I am expecting a value of approx 2100, but I am getting around 70. I can see in the hadc->DR that the value are cor...
Hi !i'm trying to write a driver, to interface the "ADS1220" device with STM32F103RBT6, using SPI,i would like to assign each pin of the MCU SPI (PA4, PA5, PA6, PA7) with its corresponding pin of ADS1220 like this : using macros#define ADS_CS PA4 // ...
Hi,I am facing some issues while jumping from main application to the last locations(0x0801C000) of the flash memory, where IAP application (customized) is located.The controller used is STM32F072.(128kb flash,Cortex-M0).The main application code pl...
__WFI works beauty. But I want more. Behold:void vApplicationIdleHook() { __WFI(); my_own_code(); // on wake, this will be executed *after* the intr handler :( }Upon every wake from WFI, I want to execute my own code immediately: ie. bef...
I hope this question is not off topic.I have a board running httpd using a STM32F407. The web server is running CGI and SSI. The cgi file is named index.shtml and is called when the browser first accesses the website.In the SSI part of the code I pop...