I have an STM32F103C8T6 uC and an ASIC chip with memory. They communicate with SPI interface, ST being the Master device. On the uC lies a Firmware by the vendor of the ASIC device. I have been trying to shape it to my hardware and development tools. I attached the initialization code, and some function declarations. I'm mostly concerned about the memset() function. In my opinion the function should initialize the memory of the ASIC, but to me it seems it doesnt. I am a little confused about it, or what to. I hope some more experienced eye can see what I dont.
Thank you in advance!