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 visualizaciones (últimos 30 días)
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.

Respuestas (0)

Categorías

Más información sobre Raspberry Pi Hardware en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by