Menu

📰
0

Reddit - Please wait for verification

Embedded·/u/ResearcherIll9998·3 days ago
#STg93zxa
Reading 0:00
15s threshold

Hey everyone, I am working on a project using a Raspberry Pi to communicate with a PGA112 EVM (Programmable Gain Amplifier) over SPI. I am using an Analog Discovery 2 logic analyzer to check the signals. I am stuck trying to get any data back from the board and could really use some help! My Setup: Master: Raspberry Pi (using Python spidev) Slave: PGA112 EVM Protocol: 3-Wire SPI (this chip shares a single bi-directional data pin for both sending commands and reading data). The Transaction: It is a 16-bit operation. I send an 8-bit read command (0x6A), and then the chip is supposed to send back an 8-bit response. What works: On my logic analyzer, the wiring looks solid. The Master Clock (SCLK) is pulsing perfectly, and the Chip Select (CS) line drops low exactly when it should. I can clearly see my Python script sending the initial 8-bit command (0x6A) down the wire. The Problem: Right after the command byte is sent, the data line just flatlines. I am not receiving the response byte back from the EVM board.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More