Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Recent content by vikky

  1. V

    [ARM] Problem with long strings in UART

    But i did use Interrupt method and the code works 70% of the time.but some tweaking is necessary is what is needed is what i could understand.Can you please go through my code and tell me what is missing.Thank you.
  2. V

    [ARM] Problem with long strings in UART

    Hi FvM, Your idea almost worked.I copied the contents into another buffer immediately. UARTBuffer0[UARTCount0++] = LPC_UART0->RBR; memcpy((const char *)BBuffer0,(const char *)UARTBuffer0,UARTCount0); But still first character is getting lost occasionally and i get some valid data...
  3. V

    [ARM] Problem with long strings in UART

    Hi Sunnyskyguy, Thanks for your response. Your document made an interesting read.But the function UART0_IRQHandler function written by me is given by NXP.I could never understand why they have given me a code which doesnt work in all circumstances. In your code does the txBufferRead...
  4. V

    [ARM] Problem with long strings in UART

    Now i understand that LPC 1227 has only 16 byte receive and transmit FIFO.Can anyone please suggest how to receive or send data longer than that.Thank you. - - - Updated - - - Hi FvM, I am mentioning 20 characters only when i know in that loop i am supposed to receive only 20...
  5. V

    [ARM] Problem with long strings in UART

    Thanks for your suggestion but the same program is working fine if i send only 16 bytes of data.The problem starts only when i send more than 16 bytes of data to the UART. - - - Updated - - - There seems to be some problem in the below given line.UARTBuffer is not receiving the whole data from...
  6. V

    [ARM] Problem with long strings in UART

    Hi all, I am using a UART library to send and receive data.While i use shorter strings to capture the input data in the receive pin,the function works well.The UART Buffer is displaying the correct data.To be exact if receive more than 16 bytes of data the buffer gets corrupted and sometimes it...
  7. V

    Changing Key in MiFARE Classic card

    Hi all, Can anyone please tell me how to change key in Mifare 4K classic card. What i tried was <newKeyA>+ access bits + <KeyB> 0xAA 0xAA 0xAA 0xAA 0xAA 0xAA 0X78 0x77 0x88 0x69 0xFF 0xFF 0xFF 0xFF 0xFF 0xFF But the password refuse to change.The default configuration is 0xFF 0xFF 0xFF 0xFF...
  8. V

    [ARM] Seeing UART data in Oscilloscope

    Now i used MAX3232 which required 3.3V instead of MAX232.The problem was the microcontroller board has both 3.3V and 5V and 5V was having loading effect when i connected MAX 232 circuit with MAX IC sitting on it.Microcontroller works on 3.3V and it was working fine.So i connected a circuit which...
  9. V

    [ARM] Seeing UART data in Oscilloscope

    i am attaching the circuit i am using.the normal max circuit.does the baud rate has anything to do with the circuit?i guess MAX 232 circuit is fine since i wired together 11 and 12 and i was able to get the echo in my terminal.meanwhile i will try to get you the whole character.
  10. V

    [ARM] Seeing UART data in Oscilloscope

    Please check the waveform i am receiving now.But the junk data refuses to go away.
  11. V

    [ARM] Seeing UART data in Oscilloscope

    The baud rate is 9600. I am posting the UART portion of the code void UARTSend(uint32_t portNum, uint8_t *BufferPtr, uint32_t Length) { while ( Length != 0 ) { if ( portNum == 0 ) { /* THRE status, contain valid data */ #if !TX_INTERRUPT while ( !(LPC_UART0->LSR & LSR_THRE) )...
  12. V

    [ARM] Seeing UART data in Oscilloscope

    Thanks esp1,horace1,doraemon for your replies. I am adding an image which i am getting while sending K.The hex value i am getting by sending K is 0XFD.Is it problem with baud rate synchronization or any problem with the circuit.MAX 232b circuit is fine since i wired together 11 and 12 and i...
  13. V

    [ARM] Seeing UART data in Oscilloscope

    Hi, Can anyone please advice how to measure data going out of my Tx pin in microcontroller with the help of a oscilloscope.I am getting junk value at the terminal.My max 232 circuit is working fine.I want to check whether things are fine in my microcontroller side. Thanks.
  14. V

    [SOLVED] equivalent of 74HCT14 for one input.

    With little change in the code i did manage to drive it directly.Thank you wp100 and thanks all for your suggestions.
  15. V

    [SOLVED] equivalent of 74HCT14 for one input.

    Yes sir,thanks for your help.Let me try to source it. - - - Updated - - - Yes sir.Thats what i meant since i have only one input. - - - Updated - - - I think this IC may suit my purpose. http://www.jameco.com/Jameco/Products/ProdDS/1387307.pdf - - - Updated - - - I think this IC may...

Part and Inventory Search

Back
Top