New answers tagged

0

It seems you are modifying the baud rate through your program. Whenever I put the baud rate above 3M-Baudrate... After changing the Baud rate above 3M-Baud... Could you just change your program accordingly? This seems simpler than dealing with the FTDI drivers. You could just use the mod operator (% in C) to keep baud rates under 3 Megabaud and ...


0

This (community wiki) answer is for future reference, to give additional informations that were only present in comments here and there and links: Since 2011, Arduino's SoftwareSerial is now using Mikal Hart's NewSoftSerial. It has to be noted that: The library has the following known limitations: If using multiple software serial ports, only ...


3

This is possible... but hard. The idea is to sample all of the GPIO pins at least 2x the rate of the serial bitstream and use software to decode any data that comes in. You probably want to do the sampling in a timer-driver ISR and have it store the sampled level bytes into a circular buffer. Then the foreground process can pull sample bytes out of the ...


0

Note that the latency is 12 cycles only in ideal circumstances, when the interrupt vector table and handler code reside in 0 wait state memory. Internal flash can have 5 or 6 cycles latency, delaying the start even more, and causing substantial jitter depending on whether these areas are cached at the moment. 168 MHz / 614.4 kHz gives 273 cycles, which ...


2

assume I can pick any one up to M7 Then pick one from STM32H7 series, it has direct hardware support for all the features you need for this, independent fractional PLL to generate arbitrary SPI clock rates, and variable frame length if you need bit stuffing, i.e. frame length is not necessarily a multiple of 8 bits. Any other STM32 can do it as well, even ...


0

The image sensor I am using is able to generate sync patterns that allow the deserializer to lock to the data stream being received. This was not specified in the datasheet but on a separate document containing a register reference. Using these sync patterns and connecting the sensor and the deserializer to the same clock should allow for correct ...


0

You can avoid the need for the multiplexer and separate flip flops by using a serial to parallel shift register component. Shift registers of this type are available in logic type parts that are four or eight bits in length that can be easily cascaded to achieve the serial length (parallel width) that you need. If you do use discrete logic parts you will ...


0

To state the obvious, no, there is no "support" in the transmitter that is required for an RX interrupt on the receiver side. If you get the transmitter data by polling, the RX interrupt should fire, provided you enable it correctly.


Top 50 recent answers are included