2014-05-09 05:40 AM
2014-05-19 07:20 AM
Please help me
Sorry, but the level of help you require exceeds what I'm offering. I can't be prototyping hardware, and recoding solutions.2014-05-19 07:33 AM
I am not asking the full code to write , I am just asking what wrong in configurationhere I am checking with th e terminal it is not receiving any thing please check what is the wrong.
________________ Attachments : Check_for_the_BOARD2.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzzf&d=%2Fa%2F0X0000000bSC%2FTxbw5LNl4eT8Gjil2Yd3sqd0k_3jOCQjh93wHSkjIfI&asPdf=false2014-05-19 09:12 AM
You still have the Rx disabled per my earlier observation.
You still have code in the interrupt looking for a TXE flag without qualifying if the device is in Tx mode rather than Rx. The status may still be flagged, but will not assert a physical interrupt when masked.2014-05-19 10:19 PM
But it is disable in the first start up function ......after transmitting the data I am making rx enable as well as Rxne interrupt, then it shud be in way ryt or how it is?
2014-05-20 01:50 AM
may be this is the problem
HDSEL: Half-duplex selection Selection of Single-wire Half-duplex mode 0: Half duplex mode is not selected 1: Half duplex mode is selected This bit can only be written when the USART is disabled (UE=0). I have made USART1 disable but now transmit alsoo not happening ...what do you think?2014-05-20 03:03 AM
Data was not getting received because This Halfduplex (HDSEL) can only be written when the USART is disabled (UE=0) before I
* was not doing that I was Enabling the UART then selecting the HDSEL bit that was wrong.2014-05-20 03:16 AM
This problem is solved but now the problem is if I am sending data like SANJIB it is only receiving J instead of S for the first time how to solve this