Although the baud rate of SPI connection can be increased up to 32 Mb/s, but the sampling time of SPI connection in simulink environment for Raspberry Pi support package has been set to 10 Hz. This issue prevents us to make a practical communication with another devices and sensors. Also, However the sampling time of i2c can be changed by users in contrary to SPI, its baud rate cannot be changed. How can I change these parameters? If it needs the modification of support package blocks, i request the technical support to solve this problem, or if we can change or modify it please guide us to solve it.