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 Valdez85

  1. V

    [PIC] pic18f46k22 wake up from sleep mode with serial interrupt

    Dont know why, i tryed and did not work. I attached the project.
  2. V

    [PIC] pic18f46k22 wake up from sleep mode with serial interrupt

    with these changes the project does not work. I want to use the two i2c. I know i can use one. The sleep mode close usart so pic cant receive anything...... how can i wake up the pic with rx interrupt?
  3. V

    [PIC] pic18f46k22 wake up from sleep mode with serial interrupt

    horace1, I understand that and i guess you are right, but i have a problem. My pic is spleeping, so i cant generate uart interrupt. Section 16.4.3 AUTO-WAKE-UP ON BREAK in the datasheet tells to put WUE = 1. I dont get it how to use this...
  4. V

    [PIC] pic18f46k22 wake up from sleep mode with serial interrupt

    Hey guys, I have this code and it works fine, but i added the serial interrupt and the project stop works. I dont know what im doing wrong. Can you guys help me pls? My pic is in sleep mode at start and wake up, take some measures and go to sleep mode again. And now i want the same but if i...
  5. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    Hi again, This code of sd card works fine for me with mplax and compiler xc8. I dont know why, but creates 3 files in sd card, i go do some more tests and if i fix the problem i post the changed code. And one more thing, i dont know why but the code works with sandisk cards, i try more 4...
  6. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    Hey guys, Someone knows why i cant get the response from sd card when i send command 0? I attached my code.
  7. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    Hi guys, It's possible to write and read data on SD card without creating a file? I did my library in order to have the interface between my SD Card and PIC, in order to do that I just add SD Card protocol and SPI protocol and now I want to test this, to add FAT protocol, to my library. If...
  8. V

    [PIC] PIC18F46K22 working with 3.3V

    Hi guys, I read the datasheet of my PIC18F46K22 and i didnt see what i need to do to put my pic working in 3.3V and not 5V. Best regards, Álvaro Ramos
  9. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    Hi guys, i saw one thing i guess is very important, if i try format my sd card in fat 16 with 512bytes its not possible. In fat 16 i just can format the sd card in 32kbytes or 64kbytes but if i try format in fat 32 i can format the sd card with 512bytes. So the question is, i had one code...
  10. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    " paulfjujo " what version of C18 you used? i try to compile your project and i got this: My version of C18 is 3.47. In this image show, what i did with the libraries.
  11. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    " FvM " i said that because i can initiate the sd card but cant write. " paulfjujo " if i wanna try your example with my hardware and C18 what i need to change? Now i just wanna be sure that my hardware is ok so i prefere try your code and see what happens.
  12. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    " paulfjujo " i forgot to ask, why you used so high frequency 10MHz * 4 (PLL). In all examples i saw they always used high frequencys like you did or 20MHz * 4 or 16MHz * 4, we cant use 8MHz for example?
  13. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    " maybe your problem isn't software, but hardware. Are you sure that you have well connected the SD to the microcontroller? Have you used the pull up resistor? " This time the hardware is ok. The next two images are my circuit. Its possible that im not appling the necessary voltage in...
  14. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    I can see your project and your things but i guess i go have the same errors like using the microchip libraries because is based on C18 and im using XC8 :S
  15. V

    [SOLVED] sd card interfacing with pic 18f4520 or with pic18f46k22 in MPLAB X XC8

    Hi all, I tryed many things to interface my PIC with SD Card but all without sucess. I tryed the code from this site “ **broken link removed** “ and the SD Card works more or less with the PIC18F4520 at the start of my project, sometimes work, sometimes doesnt, but the hardware was wrong so i...

Part and Inventory Search

Back
Top