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 FrustratedEngineer

  1. F

    PORTAbits.RA3 read causing the reset

    I am using MPLABX IDE with XC8 compiler. U8 - unsigned char typedef'ed - - - Updated - - - The pin initialization code... /** LATx registers */ LATA = 0x00; LATC = 0x00; /** TRISx registers */ TRISA = 0x20; TRISC = 0x00; /**...
  2. F

    PORTAbits.RA3 read causing the reset

    #define D_KEY_NO_KEY_PRESSED ((U8)0) #define D_KEY_PRESSED ((U8)1) The macros are defined and associated header file is also included.
  3. F

    PORTAbits.RA3 read causing the reset

    I am using MCLRE pin RA3 as digital i/p. The MCU used is PIC16F15323. This is the config settings... // CONFIG1 #pragma config FEXTOSC = OFF // External Oscillator mode selection bits->Oscillator not enabled #pragma config RSTOSC = HFINT1 // Power-up default value for COSC bits->HFINTOSC...
  4. F

    PWM3 not working in PIC12F1572

    PWM is working fine... I checked with oscilloscope. the LED was dry-soldered so was not turning ON. PWM3PRH/L -> changing the values in the reg pair changes the Frequency of PWM.
  5. F

    PWM3 not working in PIC12F1572

    I have to simply o/p PWM (50% duty cycle; any frequency will do as of now) on RA2 of the PIC12F1572. I have generated the code using MCC. But, when I tried observing the o/p at RA2 by connecting LED, I dont see LED turning on. I have tried debugging the code, but PWM isr is never hit. Any...
  6. F

    [PIC] Pointer not carrying the value

    Sir, I have tried many ways to make it work but above code is not working. I have tried using memcpy function as well but even that didn't work. Surprisingly, in debug mode the *Pu8Src points to the data but when *Pu8Dest = *Pu8Src; is executed in stepwise execution mode, the *Pu8Dest...
  7. F

    [PIC] Pointer not carrying the value

    Guys, I have developed an application for PIC18F45K40. The char array is passed to the function as Pointer. When I see in the definition of the function, the pointer doesn't carry the values of the Array element. I have tried passing directly string as an argument but even that doesn't work...
  8. F

    [PIC] PPS for ESUART2 on PIC18F45K40 not working

    Guys, I am trying to connect UART2 engine to RD6 (Tx) and RD7 (Rx). For this I used PPS feature over RD6 and RD7. When I check in debug mode, I get the Tx Interrupt and I can see that TX2REG is filled with the correct data everytime. However, I don't see the data coming out of the RD6 pin...
  9. F

    Design Issue - How to make sure SIM800 response received over UART Rx ISR is complete

    I have thought of using \n as termination char. But, the SIM800 response has multiple \r\n in one response. That makes it difficult to find out where the frame has ended. :thumbsdown:
  10. F

    Design Issue - How to make sure SIM800 response received over UART Rx ISR is complete

    Guys, This seems ubiquitous topic. I have read few of the topics on similar lines but didn't get satisfactory answer. The question goes like this... The PIC mcu is interfaced with SIM800 module. The data Tx and Rx is done over ISR. For Tx ISR, the size/length of buffer can be used to make...
  11. F

    [SOLVED] Not Working - Internal EEP code for PIC18F45K40

    The problem is solved. The issue was... By mistake I interchanged WR and WREN. Moderators can close the thread.
  12. F

    [SOLVED] Not Working - Internal EEP code for PIC18F45K40

    Hi, I am working on PIC18F45K40. I am using Internal EEP as Data memory. My task is to Read/Write Data on EEP. Here is a source code... Main routine volatile U8 au8Data[5]= {0x01, 0x02, 0x05, 0x07, 0x08}; volatile U8 u8Index; WriteData(&au8Data[0], 10, 5)...

Part and Inventory Search

Back
Top