MATLAB Answers

How can I change the sampling time of SPI receive block and baud rate of i2c block in Simulink support package for Raspberry Pi?

2 views (last 30 days)
ebram smith
ebram smith on 14 Sep 2017
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.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!