#garfield Logs
Jul 30 2021
#garfield Calendar
12:04 AM rue_shop2: oh yea the yard
12:11 AM rue_shop2: well its dark now
06:37 AM polprog: rue_mohr: looks like some of the bits are mangled
06:37 AM polprog: swapped
06:56 AM polprog: i found out that for my tl866A i need a different TSSOP adapter, one with an IC in it
06:56 AM polprog: it does not detect the one I have which is just pass thru
06:56 AM polprog: neither on the windows program nor the linux one
07:08 AM polprog: polprog: read this when youre back: https://hamamatsu.magnet.fsu.edu/articles/ccdsatandblooming.html
09:02 AM rue_bed: hmm ok
09:30 AM rue_mohr: the adapters I got seem to be ok
09:43 AM rue_mohr: ok so, they need me to do a quick work thing at 10
09:46 AM rue_mohr: polprog, sorry I didn't think of the 245 thing at the time
09:46 AM rue_mohr: oe and dir...
09:47 AM rue_mohr: its a 374 now?
09:50 AM rue_mohr: polprog, they are 245
10:06 AM rue_mohr: has me interetsed in doing other softcpu stuff tho
10:47 AM polprog: what are 245?
10:59 AM polprog: ah on the fpga
11:00 AM polprog: i have the replacement, pin compatible buffers on the way
11:00 AM rue_mohr: https://hackaday.io/project/161251/files
11:01 AM rue_mohr: polprog, 245 IS bidirectional
11:01 AM polprog: but i mean one without DIR pin
11:01 AM rue_mohr: lift and override it
11:01 AM rue_mohr: put it on a fpga pin
11:01 AM polprog: no someone found 245 compatible buffers that are just a mosfet
11:01 AM rue_mohr: there is a 50% chance its right next to one
11:02 AM polprog: let me find it
11:02 AM rue_mohr: but then you can have bidirectional
11:02 AM rue_mohr: https://hackaday.io/project/161251/files
11:02 AM polprog: 74cbt3245
11:02 AM rue_mohr: simple layout, complex microcode
11:02 AM rue_mohr: thats just a 3V 245
11:03 AM rue_mohr: that change doesn't even make any sense
11:03 AM polprog: its not a regular 245
11:04 AM polprog: it does not have a direction pin, look at the datasheet
11:04 AM polprog: its also not an autosensing one which are said to oscillate often
11:04 AM rue_mohr: ok I see
11:04 AM rue_mohr: but
11:05 AM rue_mohr: you can leave what you have in and have the buffers
11:05 AM rue_mohr: and level conversion
11:05 AM rue_mohr: and no lifted traces
11:05 AM polprog: theres no need to bodge these pins and you get voltage conversion (safe claping of 5V inputs
11:05 AM polprog: i will see
11:05 AM rue_mohr: is pin 2 hooked up to the connector or the fpga?
11:05 AM polprog: i dont see how it changes besides from allowing for inputs
11:06 AM polprog: ill check at home... im away
11:06 AM polprog: ill be home in a bit
11:06 AM rue_mohr: drat always away
11:06 AM polprog: :/
11:06 AM polprog: loads of family things today
11:06 AM rue_mohr: https://hackaday.com/2019/10/16/the-smallest-homebrewed-ttl-cpu-in-the-world/
11:06 AM rue_mohr: simple hardware, complex microcode
11:07 AM polprog: awesome :D
11:12 AM rue_mohr: less the microcode rom, I think it would fit on a 9572
11:13 AM rue_mohr: kinda opens up an emulator question tho
11:14 AM rue_mohr: forms an interesting picture when you look at in it the context of getting to a BASIC interpreter so you can run off-the-shelf software
11:15 AM rue_mohr: if you have a small microcode engine that can emulate a 6502,
11:15 AM rue_mohr: but I have an interest in the reverse too
11:16 AM rue_mohr: say, taking a 80386 and making an instruction recoder that translates to x86 instructions
11:17 AM rue_mohr: and code crawling in general
11:18 AM rue_mohr: maybe a good practise would be to make a translator from 8051 to z80
11:19 AM rue_mohr: 8051 is evil from a hardware perspective tho, the build in extensions rather randomize it
11:22 AM rue_mohr: I wonder if 8051 is the simplest arch that has C compilers behind it
11:26 AM rue_mohr: and what does an instruction set need to include anyway?
02:02 PM rue_mohr: daily timer for greenhouse water
02:02 PM rue_mohr: hmm
02:02 PM rue_mohr: 2 minutes every 6 hours
02:03 PM rue_mohr: dallas rtc?
02:03 PM rue_mohr: sure, the cheap ones I got will keep close time
02:03 PM rue_mohr: that said, even just software time should be ok
02:03 PM rue_mohr: count cycles
02:03 PM rue_mohr: tiny13
02:03 PM rue_mohr: 32.678khz
02:03 PM rue_mohr: sure, why not
02:12 PM rue_mohr: about 30 bits of counter
02:13 PM rue_mohr: so it wont fit in a 22V10
02:16 PM rue_mohr: aaah
02:16 PM rue_mohr: but
02:16 PM rue_mohr: if I use the 1Hz output on an rtc chip, ... no its still 15 bits
02:17 PM rue_mohr: its just so damn easy to do on a cpld
02:18 PM rue_mohr: why cant I use an inverter on a cpld as an oscillator for a crystal
02:18 PM rue_mohr: I have some 9532
02:19 PM rue_mohr: at 32.768kHz, I'd need 30 macrocells for the counter
02:23 PM rue_mohr: polprog, my cpld oscillator was a fail, I tried to do RC via two pins, one for detecting level, the other for driving the charge/discharge resistor
02:23 PM polprog: hmm
02:24 PM rue_mohr: I didn't try a crystal tho
02:24 PM rue_mohr: technically, pin1 = ~pin2; // SHOULD do it.
02:25 PM polprog: hmm, you are on the edge of verilog and hardware implementation
02:25 PM polprog: id take a look at the input buffers in the datasheet
02:26 PM rue_mohr: it seems kinda funny to have a whole cpld sitting there and need another chip for a not gate.
02:26 PM rue_mohr: it hit a strage pseudo state
02:26 PM rue_mohr: where it was low, but not low
02:33 PM rue_mohr: it kinda looks like the tiny13 wins
02:33 PM rue_mohr: hey wait
02:53 PM polprog: what
02:53 PM polprog: id put a register there and add some latched verilog
02:53 PM polprog: https://www.youtube.com/watch?v=ocOgD9MaUjs
03:11 PM rue_mohr: totally easy on a cpld/fpga
03:11 PM rue_mohr: but
03:11 PM rue_mohr: An error occurred. Please try again later. (Playback ID: DJmTlqnEUnieNHgN)
03:33 PM rue_mohr: oh, a tiny13 has no crystal provision
04:08 PM polprog: i wonder if you could clock an fpga with an rc oscillator
04:08 PM polprog: that would be silly :D
04:29 PM rue_mohr: I'm going for a 32.768kHz watch crystal
04:29 PM rue_mohr: maybe with a 741G14 osc
04:39 PM rue_mohr: or, can I do a 1 transistor 32.768khz osc
05:22 PM polprog: hmm
07:27 PM rue_shop3: heh, it only has like 5 power pins
07:27 PM rue_shop3: that bga had like 40
07:27 PM rue_shop3: thankfully the bga board connected almost all of them
07:35 PM rue_shop2: like the chip side board
07:52 PM rue_shop3: ok, the grounds are internally connected