SPI interface timing with deasserts

조회 수: 1 (최근 30일)
Graham Cotgreave
Graham Cotgreave 2022년 10월 18일
댓글: Aditya Pahariya 2023년 7월 6일
I'm looking for a way to read data from a Si8380S-IU chip from a TI F2337xD based processor.
The Simulink examples for Master Transfer are for EEPROM, where the chip select is asserted, the Mode, Address and Data are clocked in and the CS then removed. However the Digital to Analogue chip data sheet requires a CS assert, along with the Mode, then a deassert before the reassert and Register number is clocked in and a final deassert a resassert with the data byte.
There do not appear to be any parameters in the c28x modules that can cause this behaviour. Adding a dozen charts each with a three subsystems to apply the three parameters with an appropriate wait in-between for each chip is untidy and difficult to maintain to say the least.
A pointer to any examples where this has been achieved would be appreciated
  댓글 수: 1
Aditya Pahariya
Aditya Pahariya 2023년 7월 6일
Hi ,
You can refer to this example
In the initialization Subsystem, you can see how 'function-call split' has been used to sequence the SPI send and receive.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Modeling에 대해 자세히 알아보기

태그

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by