hblobi.blogg.se

Wires crossing without making a connection logicworks
Wires crossing without making a connection logicworks




wires crossing without making a connection logicworks
  1. WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS HOW TO
  2. WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS SERIAL
  3. WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS FULL
  4. WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS CODE
  5. WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS PLUS

WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS CODE

I assume there is some value in the configuration I have set wrong, My code is quite a mess with all the things I've been trying and there are bound to be problems in it. When slowing the speed to 9600, I am now able to send a value from a terminal and receive a value back, though it is currently the incorrect value. I know I saw something about that in the doc you had written about driving the SC28L91, but I had completely forgotten about it. That fix for the dummy read was very helpful. Thanks for all of that! I've definitely made a lot of progress in the past few hours. See below for the data table I use to set up the DUART, as well as the values to be written into the registers.

WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS SERIAL

While it is possible to run the 28L92 in PIO mode, it's pretty inefficient, especially if the serial port is running at high data rates. You can later on tinker with MR0 to enable some additional features.ĭon't forget about the interrupt mask register (IMR). The power-on value in MR0 is good enough to get you started. You will need to write some setup values to CR for each channel, as well as MR1 and MR2.

WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS HOW TO

The DUART is the last thing I need to figure out how to program for. The result is while a dummy read will still occur, it will be a read of the STA opcode, not a register. Adding insult to injury, this bug makes it impossible to configure MR0, since the act of writing to MR will result in the dummy read incrementing it to MR1.įortunately, there is a workaround, and that is to modify the setup code to force a page crossing on each access to the DUART. Later when the write to MR1 is made, it will be MR2 that will be written. So, if MR is set to MR1 in preparation for a write operation and a write occurs to some other register prior to the MR1 access, MR will be "touched" by the dummy read and will increment to MR2. A read to MR autoincrements the register. What makes it insidious in this case is the dummy read will be to IO_ACIA+$00, which is the MR register.

WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS PLUS

When the 65C02 does an indexed write operation that does not cross a page boundary it will perform an undocumented dummy read on the base address, followed by a write on the base address plus whatever is in the (in this case) X-register. Sta io_acia,x write to register <- bug in 65C02Īssuming IO_ACIA, the DUART's base address, is such that all registers are visible in the same page-which is usually the case, the STA IO_ACIA,X instruction will behave in an insidious way. Lda nxpsutab+s_byte,y get register parameter configure DUART, works fine with 65C816, fails with 65C02. Unfortunately, the 65C02 has a hardware bug that can give you some grief during setup. The table is read backwards, with the first value in each pair being the register offset and the second value being the parameter to be written into the register. The above data table refers to the constants defined in the first code block. PHILIPS/NXP DUAL UART INITIALIZATION DATA TABLE Nxpcrrte =nxpcrtxe|nxpcrrxe enable transmitter & receiver Nxpcrrtd =nxpcrtxd|nxpcrrxd disable transmitter & receiver OPCR - output port configuration register.

WIRES CROSSING WITHOUT MAKING A CONNECTION LOGICWORKS FULL

|+-> RxD interrupts only when FIFO is full (see also MR0:6) |+-> RxD interrupts only when FIFO is full (see also MR1:6) ||++-> TxD interrupts only when FIFO is empty Nxpiqmsk =nxpairq|nxpbirq|nxpctirq set IRQ sources. Nxpbirq =nxpbtirq|nxpbrirq enable ch B RxD & TxD IRQs Nxpairq =nxpatirq|nxparirq enable ch A RxD & TxD IRQs

wires crossing without making a connection logicworks wires crossing without making a connection logicworks

The above data rate is based upon the value of NXPARBRT (above). c) C/T clock source is scaled to X1 ÷ 1. a) Use baud rate table #1 - see data sheet. Nxx1freq =3686400 X1 clock frequency in Hz PHILIPS/NXP MULTIPLE CHANNEL UART CONFIGURATION & CONTROL CONSTANTS I definitely need to set up the m0, m1, and m2 registers, as well as the csr and asr. Setting up auto echo would work just as well I think. I've occasionally been able to get the RX light to light up on my Serial to USB board, but nothing is showing up in the terminal.ĭoes anyone know what the minimum number of commands would be to get the SC28L92 to output anything on serial? I've been looking through the docs from BigDumbDinosaur and I now mostly understand how to talk to it, and I can write to a register and read it back, so the chip is at least somewhat functional, but I haven't been able to establish a working serial connection. I had a few issues that were caused by the Programmable logic chip I'm using for address decoding, but that seems to be working fine now. My newest revision uses the SC28L92 DUART as recommended by BigDumbDinosaur ( ) In my earlier versions, I was using an arduino and then an ATMEGA328P for serial communications, since I knew what I was doing with that.






Wires crossing without making a connection logicworks