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.
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...
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.
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...
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...
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...
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...
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:
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...
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)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.