Is the timing between the Frame Sync and start of transmission defined? The datasheet isn't entirely clear.It's time to use a o-scope and/or Channel Analyzer to verify the digital signals are at the right place with the right timing.
Is the timing between the Frame Sync and start of transmission defined? The datasheet isn't entirely clear.It's time to use a o-scope and/or Channel Analyzer to verify the digital signals are at the right place with the right timing.
Well, that's unfortunate but it's a good thing only the DAC chip was connected.I've just found out that the 5V supply is sending 12v into VDD. The datasheet specifies a maximum of 5.5v, however is it capable of operating at 12v, and if not, have I likely damaged the IC?
And the mbed, but thankfully it's capable of operating at up to 16v. Would you suggest I replace the DAC?Well, that's unfortunate but it's a good thing only the DAC chip was connected.
And the mbed, but thankfully it's capable of operating at up to 16v. Would you suggest I replace the DAC?
Stresses beyond those listed under “absolute maximum ratings” may cause permanent damage to the device. These are stress ratings only, and
functional operation of the device at these or any other conditions beyond those indicated under “recommended operating conditions” is not
implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability.
#include "mbed.h"
SPI spi(p5, p6, p7); // mosi, miso, sclk
DigitalOut fs(p8);
int main() {
fs = 0;
uint16_t fixed = 0x4000;
uint16_t value = 1024;
uint16_t final = value << 2;
final = fixed ^ value;
spi.format(16,2);
spi.frequency(1000000);
wait(1);
fs = 1;
wait(1);
fs = 0;
spi.write(final);
wait(1);
fs = 1;
}