UART not receiving long strings - Raspberry Pi Forums


hi,

have searched forum haven't found thing specific problem....


using raspberry pi model 2 b rasbian. trying communicate through uart lpc1837. can send , revive characters both sides. problem cant revive strings longer 17 characters on pi. if send data longer 17 strings characters dropped. if send string longer 17 characters 1 @ time, beginning characters dropped. if send data in continuous loop characters dropped sporadically.

assume uart buffer overflowing. if want connect device sending longer strings?


have been using minicom , pyserial in programs on pi(not @ same time).

has encountered problem? or have solutions?

appreciated!
in advance.

jb111 wrote:hi,

have searched forum haven't found thing specific problem....


using raspberry pi model 2 b rasbian. trying communicate through uart lpc1837. can send , revive characters both sides. problem cant revive strings longer 17 characters on pi. if send data longer 17 strings characters dropped. if send string longer 17 characters 1 @ time, beginning characters dropped. if send data in continuous loop characters dropped sporadically.

assume uart buffer overflowing. if want connect device sending longer strings?


have been using minicom , pyserial in programs on pi(not @ same time).

has encountered problem? or have solutions?

appreciated!
in advance.
linux has adequately sized serial buffer, can't remember if it's 4k bytes or 16k bytes.

there else going wrong. perhaps sending or receiving software faulty.


raspberrypi



Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support