zkt_PiratesDen
New Member
I`m using a pic16f87 to control tda7439 (datasheet) sound processor chip.**broken link removed**
The tda calls for control via the I2C buss. It was easier write test code in Mbasic than use the pics I2C registers. The code was verified to satisfy the tda`s timing and data reguirements in the Mbasic debugger.( it outta work). And for that matter it did. It successfully switched the tda`s mux input selector a few times. Repeated atrtempts to switch the mux have failed. In the process of trying to figure out why, I noticed that i had overlooked changing the pic`s scl and sda lines to inputs during the time that the tda sends the acknowledgement pulse.
"4.4 Acknowledge
The master (浵P) puts a resistive HIGH level on the SDA line during the acknowledge clock pulse (see fig.
15). The peripheral (audio processor) that acknowledges has to pull-down (LOW) the SDA line during this clock pulse."
Would someone more versed in hardware please refer to page 16, fig.30, (the hardware structure of the sda pin) and comment on whether or not the tda chip has been damaged ?
much thanks (its real pain soldering wires to a so28)
The tda calls for control via the I2C buss. It was easier write test code in Mbasic than use the pics I2C registers. The code was verified to satisfy the tda`s timing and data reguirements in the Mbasic debugger.( it outta work). And for that matter it did. It successfully switched the tda`s mux input selector a few times. Repeated atrtempts to switch the mux have failed. In the process of trying to figure out why, I noticed that i had overlooked changing the pic`s scl and sda lines to inputs during the time that the tda sends the acknowledgement pulse.
"4.4 Acknowledge
The master (浵P) puts a resistive HIGH level on the SDA line during the acknowledge clock pulse (see fig.
15). The peripheral (audio processor) that acknowledges has to pull-down (LOW) the SDA line during this clock pulse."
Would someone more versed in hardware please refer to page 16, fig.30, (the hardware structure of the sda pin) and comment on whether or not the tda chip has been damaged ?
much thanks (its real pain soldering wires to a so28)