Post Created date
int16 to uint32
If I am understanding your question correctly, the receiver (or codec) takes the first 24 bits and ignores the last 8. My codec is the WM8731. You can look up the datasheet and...
Monday, 10 September 2018 - 22:05
int16 to uint32
24 bit codec that tales a 32 bit word.   Turns out I don't need it after all. The codec takes signed values. I don't know why I thought otherwise.   Thanks for the help...
Monday, 10 September 2018 - 02:36
Mega168A different from 168?
Found it! Thanks!
Wednesday, 21 February 2018 - 00:13
Mega168A different from 168?
I am not using the ACME bit, but thanks for trying!
Wednesday, 21 February 2018 - 00:12
Mega168A different from 168?
I cannot find that app note. Number?
Wednesday, 21 February 2018 - 00:10
Mega168A different from 168?
I am using studio 7 and have set the fuse bits to disable the divide by 8 and to enable the external crystal.
Tuesday, 20 February 2018 - 20:22
Accessing structs with byte pointer
I'm saving the whole struct, 256 bytes (1 page in the flash chip) at a time.
Sunday, 15 October 2017 - 19:12
Solved: Off in the weeds
I checked the ram and flash usage, it is fine. but it turns out you were close!  I had too much code inside an ISR. I know better than to do that, stupid me. I moved non-...
Monday, 11 September 2017 - 15:46
Solved: Off in the weeds
Avr Mega168 @ 20MHz Atmel Studio 7 Target is a custom board No, the variable that gets shifted is defined as an unsigned long. I know the shifting works because my other waveform...
Monday, 11 September 2017 - 14:44
Solved: Off in the weeds
I have done that. I set a breakpoint at the first use of the table, then I single step. The program then takes off into the weeds. The program counter winds up in the table in...
Monday, 11 September 2017 - 14:41
mega168 ADC interrupts not working
FIXED!! The issue was timing. My timer routine is taking so long that as soon as it ends it gets another timer ISR. The ADC never had a chance to run. The next rev of the board...
Wednesday, 30 August 2017 - 20:24
mega168 ADC interrupts not working
Thanks for the tip on the SPI. but its moot until I can get p[ast the ADC interrupt issue.   A already have a timer and it is getting its interrupts. Also I am toggling an...
Wednesday, 30 August 2017 - 19:42