Post Created date
AVR128Dx TWI as I2C Sniffer...
Exactly the same as any other sniffer.  i.e. look at return value from i2c_start(address_W)   If it ACKs you have found a slave.   You don't need to read or write...
Monday, 16 May 2022 - 17:46
I2C newbee question
It is simple enough to poll for completion. Or just look at maximum time in the datasheet.  And wait for that worst case time.   The good thing about I2C library...
Monday, 16 May 2022 - 14:37
I2C newbee question
That sounds crazy.   If you only want to write 13 bytes,  it takes about 1.5 sec to send the byte traffic and 3ms for the page-write.  (if you are not crossing...
Monday, 16 May 2022 - 13:32
READ ADC more than one Channel (PA1,PA2 - ATtiny 1627)
Very simple to start, wait, read, set new MUX, ... Get that working first.   Much more efficient to use interrupts.   You can get on with making tea, eating apple...
Monday, 16 May 2022 - 10:18
How to read more than one ADC PIN?
Take paper and pencil and trace how the program flows.   You can either do it in words or as a Flow Diagram with arrows.   See how it does the first conversion.  e....
Monday, 16 May 2022 - 10:10
How to read more than one ADC PIN?
There is only one ADC.   You have to select one channel.  Read it.  Save the result in  value_1. You have to select other channel.  Read it. ...
Monday, 16 May 2022 - 09:40
I2C newbee question
Go on.  You just write a single universal function.   Then you can write as much or as little as you want.   A 24Cxxx device takes the same amount of time to...
Monday, 16 May 2022 - 06:51
ATMEGA4809 VPort for SS
I suppose that this is just something that normal human beings would never do.  i.e. mix PORTA.OUTSET and VPORTA.DIR It probably does not happen with different ports e.g....
Monday, 16 May 2022 - 06:18
I2C newbee question
Well,  it is more sensible without pullups.   But from an Ebay module point of view most punters will only have one or two slaves.  e.g. 4k7 or 2k35.   From an...
Sunday, 15 May 2022 - 16:50
AVR32DA28 interrupt vector size - discrepancy between data sheet and real chip
Can you read the chip markings ?  e.g. with anglepoise lamp and magnifying glass.   Manually sort into two boxes.
Sunday, 15 May 2022 - 16:39
Cheap AVR debugger works well.... and then it doesn't :-(
gregd99 wrote: However when I disable dw.... the ISP interface does not work.   From a related thread gregd99 shows a reluctance to follow the AS7.0 prompts.   The...
Sunday, 15 May 2022 - 15:52
AVR32DA28 interrupt vector size - discrepancy between data sheet and real chip
Yes,  ST is "friendly".    But the programming procedure still identifies the chip ID.   And they have Silicon revisions too.   I guess that an...
Sunday, 15 May 2022 - 15:44

Pages