You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hi boy :
i try to transplant this drive with c language for 8 bit mcu, for TLV320ADC3100, but i have encountered some trouble, like this
// file of TLV320DAC3101.cpp line in 107
void TLV320DAC3101::setRaw2(uint8_t reg, uint8_t val1, uint8_t val2);
What did this function do?
save 16 bit val with two register? may i use another function of setRaw(), and let the reg++;
because i see .cpp file line 322 like this, cryying.
And if i have an unexpected harvest about ic TLV320ADC3100.
Thinks and sincere regards
The text was updated successfully, but these errors were encountered:
It is basically the same as setRaw but places two values in subsequent registers using auto increment. It's to satisfy this requirement in the datasheet:
When programming any coefficient value for a filter, the MSB register must always be written first, immediately followed by the LSB register. Even if only the MSB or LSB portion of the coefficient changes, both registers must be written in this sequence.
It would probably work with two setRaw calls, but that would be less efficient since it sets the register address for each call. This way is done as one transaction.
hi boy :
i try to transplant this drive with c language for 8 bit mcu, for TLV320ADC3100, but i have encountered some trouble, like this
The text was updated successfully, but these errors were encountered: