Posted on July 28, 2015 at 13:20
Hi everybody,
I'm trying to develop a function to read all the content of my E2PROM, I can read one value without a problem but at the second read, I'm blocked at the waiting of the flag RXNE, I don't understa...
Posted on July 06, 2015 at 14:20
hi everybody!
I'm developing on st32f0 a device with two analogics sensors.
After the initialization, I can read properly one value but the other is always at it s maximum value (4095 for 12 bits of data). ...
Posted on June 30, 2015 at 10:05
Hi everybody,
I have a problem while doing the configuration of the SPI on my stm32f051r8.
Indeed, I've written the hole initialization code but I can't see the the clock with a scope..
Can you help me? ...
Posted on June 12, 2015 at 10:22
Hi everyone,
I am currently working on developping an ADC on my stm32f051r8
In fact, the peripheral sends always incoherent values (550 for 0V, 500 for 3V sometimes for exemple). Working on the code this mo...
Posted on July 29, 2015 at 11:43
Thank you clive for your perfect help as always!
but now I have another problem for the write function, just the first one works..
Can you save me another time?
uint8_t spi2_write(uint8_t addr, u...
Posted on July 28, 2015 at 16:03
I am sending the dumy byte!
Look:
// Send Dummy Byte for Clocks
spi_rd_data_local=SPI2_SendByte(0xFF);
spi_rd_data_local=SPI_ReceiveData8(SPI2);
or you are talking of another part of my code?
>T...
Posted on July 07, 2015 at 09:33Hi clive, thank you for your answer.I will initialize the DMA butfor me it will not fix my problem.Indeed, when I begin a conversion, it will find this incoherent value 50% of the time..Don't you agree?
Posted on July 06, 2015 at 15:50Thank you for your answer.I know that ADC has only one register but during the reading, I'm suppose to see an alternation of my values ( channel1- channel2-channel1-channel2...) And one of my channel is always at 4095...