Other Parts Discussed in Thread: MSP430F5529, ENERGIA, TUSS4470, MSP-EXP430F5529LP
Hi,
I successfully configured BOOSTXL-TUSS4470 to work properly with a 1MHz transducer using the reference configuration posted by Prodigy.
It works well through the GUI, but when I try to sample the transducer and read the raw ADC values I keep getting the same flat signal.
I am using the following register init:
tuss.tuss44x0_regWrite(0x10, 0x5F);
tuss.tuss44x0_regWrite(0x11, 0x00);
tuss.tuss44x0_regWrite(0x12, 0x1C);
tuss.tuss44x0_regWrite(0x13, 0xC1);
tuss.tuss44x0_regWrite(0x14, 0x00);
tuss.tuss44x0_regWrite(0x16, 0x00);
tuss.tuss44x0_regWrite(0x17, 0x07);
tuss.tuss44x0_regWrite(0x18, 0x14);
tuss.tuss44x0_regWrite(0x1A, 0x04);
tuss.tuss44x0_regWrite(0x1B, 0x00);
tuss.tuss44x0_regWrite(0x1C, 0x08);
I've changed lines 64 - 67 to support the 1MHz, and the configuration for the burstBitBang to tuss.burstBitBang(1, 4); (1usec according to 1MHz)
When I try to use the burstBitBang using the burstTimer instead of simple toggling the device halts.
Do you have any idea/working example to sample the ADC at 1MHz?
Thanks.