Search found 22 matches

by Watzlavick
Wed Dec 22, 2021 1:39 pm
Forum: NetBurner Software
Topic: MOD54415 RTS line in Half Duplex Mode
Replies: 8
Views: 2628

Re: MOD54415 RTS line in Half Duplex Mode

Yes, when it sticks low, it stays low until the end of the next TX. As a test, I put the task into an infinite loop when I got the read timeout and the RTS line stayed low forever. It always recovers on the next TX and I've never seen it stick twice in a row. I'm able to catch it on a scope with a w...
by Watzlavick
Wed Dec 22, 2021 7:15 am
Forum: NetBurner Software
Topic: MOD54415 RTS line in Half Duplex Mode
Replies: 8
Views: 2628

Re: MOD54415 RTS line in Half Duplex Mode

I am also writing to Port E on a regular basis but I don't think I'm interfering with the RTS line on PE1 Setup: J2[36].function (PINJ2_36_GPIO); sim1.gpio.ppdsdr_e = 0x80; sim1.gpio.pddr_e |= 0x80; Writing: if (mask & (1 << Dig_io_bit_pos_t::gox_solenoid_out)) { if (data & (1 << Dig_io_bit_...
by Watzlavick
Wed Dec 22, 2021 7:10 am
Forum: NetBurner Software
Topic: MOD54415 RTS line in Half Duplex Mode
Replies: 8
Views: 2628

Re: MOD54415 RTS line in Half Duplex Mode

I'm using: // Configure the UART fd = OpenSerial (serial_port, k_servo_baud_rate, 1, 8, eParityNone); // Set RS-485 half-duplex mode Serial485HalfDupMode (serial_port, 1); // Set wired-OR mode (TX is used for read/write, RX not used) sim1.gpio.utxd_wom |= 1 << serial_port; // Wired-OR mode for TX si...
by Watzlavick
Tue Dec 21, 2021 8:56 pm
Forum: NetBurner Software
Topic: MOD54415 RTS line in Half Duplex Mode
Replies: 8
Views: 2628

Re: MOD54415 RTS line in Half Duplex Mode

I did some more testing today. The UART status register shows 0 immediately after the write call when the problem occurs. I also disabled the other tasks that use interrupts and the problem still occurs, just much less often (once every few minutes), so it seems to be ISR or UART load related. My co...
by Watzlavick
Tue Dec 21, 2021 10:58 am
Forum: NetBurner Software
Topic: MOD54415 RTS line in Half Duplex Mode
Replies: 8
Views: 2628

Re: MOD54415 RTS line in Half Duplex Mode

I'm checking the UART status register, 0xFC06_4004 (USR1), and it shows 0. But that is after I get the timeout on the subsequent read operation, not immediately after the RTS sticks so any errors are already cleared. I'll see if I can catch the status register after the write call. I was thinking ma...
by Watzlavick
Tue Dec 21, 2021 7:53 am
Forum: NetBurner Software
Topic: MOD54415 RTS line in Half Duplex Mode
Replies: 8
Views: 2628

MOD54415 RTS line in Half Duplex Mode

I'm using a MOD54415 in half duplex wired-or mode to interface to a Dynamixel AX-12A servo using the TX and RTS lines. I have an external mux that is controlled by the UART1 RTS line to switch directions. Occasionally, after a transmit, the RTS line stays asserted (low) and doesn't de-assert back to...
by Watzlavick
Tue Jun 25, 2019 8:22 pm
Forum: NetBurner Software
Topic: MOD54415, EFFS, DSPI, and QSPI
Replies: 2
Views: 2098

MOD54415, EFFS, DSPI, and QSPI

The documentation for the EFFS says it requires exclusive use of the QSPI lines. The MCF54415 has DSPI which I assume is emulated in the Netburner libraries as QSPI for the EFFS library. If so, how does that affect use of the other SPI channels? If I want to use the onboard microSD card at SPIO, can...
by Watzlavick
Fri Mar 25, 2016 1:46 pm
Forum: NetBurner Software
Topic: NNDK Release 2.7.5 (March 2016)
Replies: 6
Views: 5750

Re: NNDK Release 2.7.5 (March 2016)

I was just about to report the double minus sign for negative numbers issues when I saw the 2.7.5 release. Is this related to the underlying gcc version?
by Watzlavick
Tue Dec 08, 2015 6:59 pm
Forum: NetBurner Hardware
Topic: Controlling TP1 on MOD54415 from an external circuit
Replies: 4
Views: 8085

Re: Controlling TP1 on MOD54415 from an external circuit

I guessed 0.330 inches so I got pretty close. Thanks again!

-Bob
by Watzlavick
Sat Dec 05, 2015 9:11 am
Forum: NetBurner Hardware
Topic: Controlling TP1 on MOD54415 from an external circuit
Replies: 4
Views: 8085

Re: Controlling TP1 on MOD54415 from an external circuit

Thanks! Is it possible to get the dimensions of TP1 relative to J1 or some other reference point on the board? I plan to install a 2-pin header on the module that will mate with a female header on my baseboard, similar to J1 and J2. I could guess and get within 0.02 or so but it would be better to g...