Serrial communication massive data loss

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

DrunkenDonkey
Posts: 124
Joined: Sun Aug 28, 2011 5:16 pm

Re: Serrial communication massive data loss

Post by DrunkenDonkey »

I tried going for UART driver, made it working by building serial driver-like functions on top of it and buffering, but got quite similar effects - on 4mhz, either on MSI or HSI - data loss, wrong bytes received, etc. I'm quite inclined to think both MSI and HSI are piece of crap, but that can't be confirmed till I get hands on some external crystal. On the UART topic, enabling uart(D2) and i2c(D1) results in dma conflicts, so had to turn off all i2c related stuff, just curious if they can work together?
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Serrial communication massive data loss

Post by Giovanni »

I think no, in the STM32L1 the peripherals are hardwired on the DMA channels, you may use another UART or another I2C.

Giovanni
Post Reply