I need some clarification on using the Uart device in DMA modehow should i handle the overrun condition (ORE bit set in SR register) ?The read sequence SR and DR register reset the ORE bitIn DMA mode how I can do this ? I must enable the EIE bit in C...
I am working with STM32F407 in a project with crypto library.With IAR 7 compiler version all is oknow I would like to use a more recent version of the compiler IAR 8.11.1 but the link fail with Warning[Lt009]: Inconsistent wchar_t size cry...
Posted on June 12, 2015 at 16:38If someone is interested in developing devices that use protocol MQTT leave some information about what I have done (... not my code ....my boss fire me) In attachment the protocol specifications (I am sorry I forget ...
Posted on May 18, 2015 at 21:51
My application use an I2C1-> 1wire network converter on STM32F407 device
At reset, after the I2C1 peripheral init, the application enumerate 1wire network and discover all connected devices.
But the user c...
Posted on March 20, 2015 at 16:30 For our customer I need build a new hw with a ST micro (STM32F4) with a pre-porgrammed code library. The client develops its own application using the preloaded library (Obviously I provide also all the necessa...
Ok for the code I am sorry, my question could have been more general without adding my codeYour reply confuse me a bit.ORE can't generate itself an interrupt but is associtate to receive flag RXNE that generate Uart interrupt. Or rather the Uart inte...
Thanks for repliesThe overrun isn't a real problem but I ask how to handle it if arise I am agree TDK normally the ORE flag never can be set in DMA transfer but we want prevent....Library is an own older Library write around SPL (I think this is the ...
Posted on June 12, 2015 at 19:09Oh yes another sourcehttp://git.eclipse.org/c/paho/org.eclipse.paho.mqtt.embedded-c.git/(but not for ST)But the code is not mine, I am paid to write it, and it does not seem correct to publish it.I wanted to give the '...
Posted on May 29, 2015 at 11:10Hi Tansem PCROP disable data access to flash the manual say:Any read access performed through the D-bus triggers a RDERR flag error. And also Any program/erase operation on a PCROPed sector triggers a WRPERR flag error...
Posted on May 19, 2015 at 09:14
I found this solution
uB_I2C_GPIO_config(id, i2c) ;
I2C_SoftwareResetCmd(I2c[id].base, ENABLE );
I2C_SoftwareResetCmd(I2c[id].base, DISABLE);