User Activity

Hello,I try to write into program flash in block write. Therefore I have a functionwhich is executed from RAM:void ram_flash_write_block(uint32_t startaddress, const uint8_t *buf) { uint16_t i = 0; // enable flash block write FLASH->CR2 = FLASH...
Hello,I try to read from user flash. Everything is fine until I try to read from address beyond 0x10000. Then I get random values. I use SDCC (3.8.0 and 4.1.0, the behaviour is the same). My device is STM8AF5288 which has 64 KB of flash memory. A pro...
I use STM32F103C8T6 as SPI slave and want to send data on request by master.The master sends to the slave a byte, which has to be used to decide, what has to be doneor what data data has to be sent to the master, and a fill byte which is neededto shi...
I have a problem using CAN on STM32F103C8T6. I use this MCU on a bluepill board,a SN64HVD230 based CAN PHY and on the other end of the CAN bus a PiCAN2 board onRaspberry Pi. I drew a picture to show my setup:I want to have a 500 kbit/s-CAN-connection...