But as long as you get along I won't disturb

Yes sounds good, your in depth knowledge of the stm32 is more than welcome. I want to make sure that my pseudo 500khz transfer clock doesn't move with respect to my tx/rx data. It appears to be in sync when I look on the scope.
Code: Select all
#define FLASH_PAGE_SIZE 1024
#define PARAM_ADDRESS 0x0801FC00
#define PARAM_BLKSIZE FLASH_PAGE_SIZE
#define CANMAP_ADDRESS 0x0801F800
Code: Select all
#define FLASH_PAGE_SIZE 2048
#define PARAM_ADDRESS 0x0801F800
#define PARAM_BLKSIZE FLASH_PAGE_SIZE
#define CANMAP_ADDRESS 0x0801F000
Code: Select all
//checksum for setup data!
htm_checksum=0;
for(int i=0;i<78;i++)htm_checksum+=htm_data_setup[i];
htm_data_setup[78]=htm_checksum&0xFF;
htm_data_setup[79]=htm_checksum>>8;