Post Created date
CCL, LUTS and Encoders
Do you believe that is the case for all 2 pin encoders? It's been a while since I looked at the code, but some encoders send multiple pulses per detent (4) and others 2  ...
Wednesday, 21 August 2019 - 21:43
CCL, LUTS and Encoders
Mechanical concentric ones, such as Elma E37 as well as regular quad ones.  Movement is human generated, not some other mechanical device.  Are you thinking polling will...
Wednesday, 21 August 2019 - 21:21
CCL, LUTS and Encoders
Sadly the 2560 only has 24 PCINTS, but I think if I go with an external oscillator on the 324PB I'll get back a pin and should be ok.   regards    
Wednesday, 21 August 2019 - 19:44
CCL, LUTS and Encoders
I have 16 encoders working with PCINT using an ATmega324PB built with the arduino IDE.  Problem is I don't have enough spare pins if I want to convert using Studio7 and...
Wednesday, 21 August 2019 - 19:11
CCL, LUTS and Encoders
Because I need more than 2, ie 16.  My bad for not making it clear.   regards  
Wednesday, 21 August 2019 - 18:44
CCL, LUTS and Encoders
Thanks, I knew it was too good to be true   regards  
Wednesday, 21 August 2019 - 18:36
Jtag/ISP programming on input pins
Oooh, thank you for that, might just do the trick!  Just ordered an eval kit to have a play with.  There's no mention of PCINT so I'm guessing I need to look ate the CCL...
Wednesday, 21 August 2019 - 16:04
TWI Slave problems
Hi,   I have indeed, but it didn't help me though.  Firing up the protocol analyser showed that the slave was sending a NACK at times when being addressed with a write...
Thursday, 8 August 2019 - 16:22
TWI Slave problems
Thank you,   I wonder if this is not an TWI issue at all. (I'll fire up a logic analyser to confirm).  It may be the displays.  The slave is talking to 4 MAX7219...
Thursday, 1 August 2019 - 10:06
Chip suggestions with large number of I/O
The issue is I'm interfacing to a legacy system so I'm restricted to board size.  The board I'm trying to replace used polling and it would miss detents on the encoders....
Tuesday, 30 July 2019 - 21:25
Chip suggestions with large number of I/O
The ATmega2560 doesn't have enough PCINTS  but the  Xmega128A1U looks interesting.  The datasheet suggests interrupts are available on all...
Tuesday, 30 July 2019 - 21:15
Jtag/ISP programming on input pins
Yes that would have been the logical option.  Sadly unless I'm not reading the datasheets properly, there are only 24 PCINT enabled pins.   regards  
Sunday, 28 July 2019 - 20:38

Pages