Search Engine www.edaboard.com

pic18

Add Question

Are you looking for?:
and pic18 , pic18 can , can pic18 , pic18 reset
520 Threads found on edaboard.com: pic18
I have a PIC32MX795F512L and pic18F4431 . and i have to communication using UART. So My question is that required both side MX232 level shifter? because PIC32MX795F512L is 3.3 v and pic18F4431 is 5 v signal. or i have required only 1 MX232 to communicate both side? Basically my application is Windows Form based Application Send and Receive C
add SSPCON1=0; in the beginning of the while loop also. Did you remove SSPCON1 from the main code ? Sorry, but your suggestions are completely wrong. SSPCON1 will be written once during initialization and usually not touched any more in SPI operation. Review pic18 datasheet! The post #1 code looks right at first sight, didn'
why do we need to use like thet?Why cant we check only one flag? pic18 user manual answers your question Interrupt flag bits are set when an interrupt condition occurs regardless of the state of its corresponding enable bit or the Global Interrupt Enable bit
Not sure if this will fix it but try: 1. change all output statements from PORTXbits.xxx to LATXbits.xxx. On pic18 always write to LAT and read from PORT. 2. if the second code is being tested in hardware, make sure RB0 has a pull-down resistor or is actively driven. Brian.
Hello! I wrote some data in eeprom, but each time I download a program from the debugger, those data are erased (values=0xFF). I need those data to be retained. I searched, the emulator settings but still no luck. I use Mplab X v3.40 with ICD3 emulator and the MCU is a pic18F25K20. I tried all the combinations with the three settings seen below,
But you're supposed to write to the output LATCH register; the PORT register is for reading. Yes, you should do so, at least for clarity. But according to pic18 reference, writes to PORTA and LATA go both to the output latch. You also see that analog configuration only affects PORT input operation. So it's more likely a problem of
lot of help here : AN937 even if it's for pic18, you have to adapt it to a 16f877 app note web page :
Too general question. For example, PIC12 is a small packages mcu. PIC16 is a cheapest, pic18 have some more futureres, PIC24 useless, PIC32 powerfull. STM8S - cheapes, STM8A - shows maximum relability, STM8L - low power and e.t.c.
The signalling sounds like a recipe for disaster but the UART itself is extremely reliable. I've been using pic18 UARTs for many years, sometimes two simultaneously, and never had any problem with them. My projects frequently transfer data blocks of up to 32 bytes and some have been in operation for many years without any errors at all but I would
You need to mention your PIC type. With common pic18 types it's not possible to achieve the intended frequency range with PWM module due to insufficient PR2 register length.
I am using Pickit3 to program a pic18F47J53 using MPLAB IPE version 3.10. My question is that after the PIC has been programmed the MPLAB IPE displays a pass count, which when I first started using it was 6 now after I have programmed the device a few dozen times it has a pass count of 13. What is the pass count? What is the maximum acceptable pas
When converting from pic18 assembly to PIC16 assembly there are a few things to look out for, first is that the decf and incf on the pic18 affect the carry which is not the case with the PIC16. There are a number of instructions in the pic18 which are not in the PIC16 such as addwfc, cpfseq, cpfsgt, cpfslt, decfsnz, incfsnz, movff, mulwf, (...)
Hey Please take a look and my schematic and PCB and check if it's correct. Some my project requirements: - single layer PCB - big tracks, so I can etch at home - RTCC powered with battery (I2C communication + MLF pin) - analog temperature sensor with jumper to analog port - jumpers so I can easily turn on/off pots - IR receiver with jump
There are no bitbang in PIC16 and pic18. Try this: rdata = PORTA & 1; And for the future. Bitbang is a different thing, not applicable to this bit-oriented operations.
You don't say which pic18 device so we cannot answer the possibility of hardware connection but in general those devices tend to have the hardware peripherals connected to specific pins (the exception being those with PPS and even then the can be limitation). You may need to be looking for a software (bit-banged) I2C or SPI interface. They work BU
Is this a hardware limitation? Yes. As far as I know are all pic18 PWM outputs using timer2 as period generator.
Dear all, I am newbe on this forum, I need some help for my project to create the usb interface pic18f4550 and pc. recently, i tried to build my main file and then I have an error 208 operand '==' not same type on my usb_device.c file. thank you in advance, if some one could help me. If need more information, please let me know.
Dear all, I am new in PIC programming, I have to make a project on USB interface between pic18F4550 and PC. recently I tried to build my main file, then I have an error on the usb_device.c file. Error 208 operand '==' not same type, if some one could help me please! Thank you in advance. some parts of my codes on usb_device.C: USB_VOLATILE
As far as I am aware the PIC is not able to fully support an OS due to its architecture. Here I am talking about low range and mid range PICs like pic18F for example. Is it true that only bare metal code is written when using these microcontrollers which means that the user program runs in an infinite loop. Is it true that no operating systems are
Starting point: Power +5V (now it is taken from +24V by MC34063A output ripple 40-400mVpp). 8 Pt100 RTD channels, required range 0C - 300C. Desirable measure accuracy is not less 1C. (0.5C or 0.1C would be awesome also :) ) Objective: to build up to 8 temperature measure channels based on pic18F46K22. I have built Pt100 channel as you can