*** tpb has joined #yosys | 00:00 | |
*** m_w_ has joined #yosys | 00:08 | |
*** promach3 has joined #yosys | 00:23 | |
*** AlexDaniel has quit IRC | 00:35 | |
*** m_w has quit IRC | 00:38 | |
*** pie_ has quit IRC | 00:46 | |
*** captain_morgan has quit IRC | 01:07 | |
*** captain_morgan has joined #yosys | 01:07 | |
*** quigonjinn has quit IRC | 01:27 | |
*** promach3 has quit IRC | 01:43 | |
*** emeb has quit IRC | 02:04 | |
*** emeb_mac has joined #yosys | 02:08 | |
*** sklv has quit IRC | 02:12 | |
*** sklv has joined #yosys | 02:18 | |
*** sklv has quit IRC | 02:19 | |
*** sklv1 has joined #yosys | 02:19 | |
*** digshadow has quit IRC | 02:59 | |
*** digshadow has joined #yosys | 03:42 | |
*** emeb_mac has quit IRC | 05:36 | |
*** eduardo_ has joined #yosys | 05:51 | |
*** eduardo has quit IRC | 05:55 | |
*** FabM_cave has joined #yosys | 06:38 | |
*** GuzTech has joined #yosys | 06:49 | |
*** forrestv has quit IRC | 06:57 | |
*** digshadow has quit IRC | 07:11 | |
*** digshadow has joined #yosys | 07:11 | |
*** jwhitmore has quit IRC | 07:25 | |
*** AlexDaniel has joined #yosys | 07:49 | |
*** quigonjinn has joined #yosys | 08:18 | |
*** xrexeon has joined #yosys | 09:11 | |
*** m_w has joined #yosys | 09:32 | |
*** m_w has quit IRC | 09:38 | |
*** xrexeon has quit IRC | 09:40 | |
*** xrexeon has joined #yosys | 09:45 | |
*** xrexeon has quit IRC | 10:50 | |
*** X-Scale has quit IRC | 10:52 | |
*** xrexeon has joined #yosys | 10:56 | |
*** X-Scale has joined #yosys | 10:59 | |
*** pie_ has joined #yosys | 11:28 | |
*** xrexeon has quit IRC | 11:44 | |
*** xrexeon has joined #yosys | 12:00 | |
*** pie_ has quit IRC | 12:03 | |
*** xrexeon has quit IRC | 12:23 | |
*** xrexeon has joined #yosys | 12:24 | |
*** xrexeon has quit IRC | 12:26 | |
*** xrexeon has joined #yosys | 12:28 | |
*** promach3 has joined #yosys | 13:17 | |
*** oter has joined #yosys | 13:28 | |
*** oter has quit IRC | 13:28 | |
*** xerpi has joined #yosys | 13:52 | |
*** oter has joined #yosys | 13:59 | |
*** oter has quit IRC | 14:04 | |
*** xrexeon has quit IRC | 14:17 | |
*** pie_ has joined #yosys | 14:18 | |
*** oter has joined #yosys | 14:21 | |
*** oter has quit IRC | 14:23 | |
*** seldridge has joined #yosys | 14:24 | |
*** oter has joined #yosys | 14:56 | |
*** emeb has joined #yosys | 15:11 | |
*** xerpi has quit IRC | 15:15 | |
*** GuzTech has quit IRC | 15:32 | |
*** oter has quit IRC | 15:47 | |
*** Dakoo has joined #yosys | 15:50 | |
*** GuzTech has joined #yosys | 16:25 | |
*** FabM_cave has quit IRC | 16:33 | |
*** promach3 has quit IRC | 16:55 | |
*** xrexeon has joined #yosys | 16:56 | |
*** digshadow has quit IRC | 17:17 | |
*** cemerick has joined #yosys | 17:29 | |
*** dys has joined #yosys | 17:32 | |
*** digshadow has joined #yosys | 17:49 | |
daddesio | Does anyone know the proper timing to send an infinite stream of "AAAAA..." over uart to a pc? I'm sending "010000010101000001010100000101..." with a 9600Hz clock (9600 bits per second) -- I confirmed this in both gtkwave and the oscilloscope at my workplace -- but "sudo screen /dev/ttyUSB0 9600" is completely blank. | 18:25 |
---|---|---|
daddesio | And yes, I connected my fpga's output pin to the *receiver* pin on my usb uart (the white pin: https://www.amazon.com/JBtek-WINDOWS-Supported-Raspberry-Programming/dp/B00QT7LQ88/ref=pd_sim_23_1?_encoding=UTF8&pd_rd_i=B00QT7LQ88&pd_rd_r=QJP4C1ZQPZ0EFDHNJ3H7&pd_rd_w=RN35t&pd_rd_wg=ZIzwk&psc=1&refRID=QJP4C1ZQPZ0EFDHNJ3H7 ) | 18:26 |
mazzoo | start and stop bits? | 18:27 |
daddesio | I can insert more 1s in between characters, like "0100000101 1111111111 0100000101 1111111111", but it doesn't make a difference | 18:27 |
daddesio | I'll see if I can output the same signal from my usb uart and compare with my fpga output. | 18:29 |
mazzoo | perl -e "print 'A' x 9001" > /dev/ttyUSB0 | 18:30 |
mazzoo | after setting the baud with stty | 18:30 |
*** ravenexp has quit IRC | 18:36 | |
*** ravenexp has joined #yosys | 18:38 | |
*** dys has quit IRC | 19:21 | |
*** dys has joined #yosys | 19:22 | |
*** cemerick_ has joined #yosys | 19:25 | |
*** cemerick has quit IRC | 19:29 | |
daddesio | Figured it out! I was passing the 12MHz clock to my module by mistake instead of the 9600Hz clock that I calculated. | 19:32 |
daddesio | so "I confirmed this on my oscilloscope" was wrong. | 19:32 |
daddesio | I only confirmed the 9600Hz clock and 9600Hz square wave were right, not my new 9600 baud "A" generator. | 19:33 |
daddesio | Aha, the issue is in my pcf file: set_io clk 21 | 19:34 |
mazzoo | jfyi: FTDI USB UARTs work up to 3MHz | 19:34 |
mazzoo | real world cable limits make 2MHz possible | 19:35 |
daddesio | I renamed the variable recently, so it should say set_io clk_12mhz 21 now | 19:35 |
awygle | or you can run Fast Serial at 50 MHz :p | 19:35 |
mazzoo | awygle: what is Fast Serial? | 19:41 |
awygle | mazzoo: http://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf page 51 | 19:41 |
awygle | it's basically a UART+Clock | 19:42 |
awygle | perhaps a USRT | 19:42 |
awygle | or if you prefer, like SPI without the slave output | 19:42 |
awygle | although that analogy's not as good | 19:42 |
mazzoo | nice! never noticed that part of the datasheet... | 19:46 |
awygle | credit goes to ZipCPU for pointing it out | 19:47 |
*** cemerick has joined #yosys | 19:59 | |
*** cemerick_ has quit IRC | 20:02 | |
ZipCPU | awygle: Ever thought of trying it out? | 20:26 |
awygle | ZipCPU: i think of lots of things :) | 20:39 |
awygle | i haven't yet had occasion to though, no | 20:39 |
ZipCPU | Yeah, me neither. | 20:40 |
ZipCPU | I've wanted to though. | 20:40 |
ZipCPU | It was a Pennsylvania engr who pointed the capability out to me. | 20:42 |
*** GuzTech has quit IRC | 21:40 | |
*** cemerick has quit IRC | 22:50 | |
*** [X-Scale] has joined #yosys | 23:11 | |
*** X-Scale has quit IRC | 23:14 | |
*** [X-Scale] has quit IRC | 23:16 | |
*** X-Scale has joined #yosys | 23:17 | |
*** sklv1 has quit IRC | 23:48 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!