2015-06-10 05:31 AM
Hi all,Trying to make the serial communication between L3GD20 gyroscope and STM32F3 an software interrupt based one, the code written for it in ''demo'' is based on polling,suggest me a procedure to modify it.
2015-06-10 08:41 AM
The STM32 parts function in very similar manners, would suggest you go look for some example code dealing with SPI and IRQs, and leverage that with your coding skills.
STM32F30x_DSP_StdPeriph_Lib_V1.0.0\Project\STM32F30x_StdPeriph_Examples\SPI\SPI_TwoBoards\SPI_DataExchangeInterrupt2015-06-11 05:06 AM
2015-06-11 05:08 AM
Sir,we have attached our file containing the code in the above post.Please kindly find the attachment.
2015-06-11 10:56 PM
Sir,we have modified the existing code(in main.c & stm32f3_discovery_l3gdc) and created a new IRQ handler ,the modified part we have attached to this post.We are unable to debug this part of code,Please notify us where the fault exists.Thanking you sir.
________________ Attachments : IRQ_handler.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0on&d=%2Fa%2F0X0000000bjk%2FrQengSThu8jPAvxRJXKhmuZOLPvOaLW26iRxKh0r0po&asPdf=falselgd20.txt : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0nD&d=%2Fa%2F0X0000000bjl%2Fl8esbK6SBC6XlSItryrpTbOFmA8ur4D7PyPKaNiDQy4&asPdf=false