Page 3 of 3

Re: Serrial communication massive data loss

Posted: Sat Mar 31, 2012 2:30 pm
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?

Re: Serrial communication massive data loss

Posted: Sat Mar 31, 2012 3:27 pm
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