我正在尝试将EVALSTPM34 SPI接口连接到具有PMOD接口(参见附件)的微处理器板,该接口配置为支持SPI。
================================================== =========
与EVALSTPM34计量板的PMOD SPI接口
================================================== =========将旋转开关设为2
主从
(freja板)(EVALSTPM34板)
PMOD J6'SPI'1(SS)------------> (SCS)5
2(MOSI)---------> (MOSI)2
3(MISO)< ----------(MISO)4
4(SCK)-----------> (SCL)6
(GND)3
(VCC)10
(SYN)8
(NC)1
(NC)7
(NC)9
我只使用4行SPI接口。
SYN线未连接。
所附DM00111861数据表的第8.6.1节描述了SPI SYN线如何用于锁存和复位。
我正在使用这种方法来锁存寄存器值:'在每次读取之前写入通道锁存位(DSP_CR3中的S / W Latchx)'
目前尚不清楚SYN线如何用于正常的读/写事务。
是否需要使用SYN线进行正常的读/写事务?
#evalstpm34
以上来自于谷歌翻译
以下为原文
I am trying to connect the EVALSTPM34 SPI interface to a microprocessor board that has a PMOD interface (see attachment) that is configured to support SPI.
===========================================================
PMOD SPI Interface to EVALSTPM34 Metering Board
===========================================================Set rotary switch to 2
MASTER SLAVE
(freja board) (EVALSTPM34 board)
PMOD J6 'SPI'1 (SS) ------------> (SCS) 5
2 (MOSI) ---------> (MOSI) 2
3 (MISO) <---------- (MISO) 4
4 (SCK) -----------> (SCL) 6
(GND) 3
(VCC) 10
(SYN) 8
(NC) 1
(NC) 7
(NC) 9
I am only using 4 lines of the SPI interface.
The SYN line is not connected.
Sec
tion 8.6.1 of the attached DM00111861 datasheet describes how the SPI SYN line is used for latching and resetting.
I am using this method to latch register values: 'Writing the channel latch bits before each reading (S/W Latchx in DSP_CR3)'
It is not clear how the SYN line is used for normal read/write transactions.
Is is required to use the SYN line for normal read/write transactions?
#evalstpm34