Forums Search for: PIC18
tcp stack for Pic18F452
inHello, I've got the picdem board, but was looking for other tcp/ip stack that run on the Pic18F452. I do not think the uClinux has been...
Hello, I've got the picdem board, but was looking for other tcp/ip stack that run on the Pic18F452. I do not think the uClinux has been ported, but are there any source tcp/ip stacks that run on the Pic 18f Family, other than microchip? Sourcecode availability? I cannot find the sourcecode to microchips stck MCHPStack.2.11 either, only the executable. Any help is most appreciate...
PIC 18 Series - HS+PLL Enabled Clock Mode
inHi I am using a PIC18F452 with an external 8MHz crystal. I am trying to enable the HS+PLL Enabled mode, the device programs okay, and...
Hi I am using a PIC18F452 with an external 8MHz crystal. I am trying to enable the HS+PLL Enabled mode, the device programs okay, and when read back, the configuration values are correct, however, in use, the device is still running at 8MHz. I am using MPLAB 6.62 with an ICDII. Can anyone suggest a reason why the PLL may not be working. Thanks John Lucas
SL811HS Host Controller
inI'm implementing an USB Host using PIC18F452 + SL811HS. The embedded hos can work properly now with USB Mouse, KB and some other low and full...
I'm implementing an USB Host using PIC18F452 + SL811HS. The embedded hos can work properly now with USB Mouse, KB and some other low and full spee devices. The enumeration and data transfer processes are all OK. But the problem occurs when I interface the host with high speed devices The host can send Request Commands to device successfully, but cannot ge data back. In a multiple-packet da...
Parallel Slave Port of PIC18F452
inHello people, I'm wondering if anyone has used the PSP device of the PIC18F452. I want to connect the PIC's PSP device as the master where is...
Hello people, I'm wondering if anyone has used the PSP device of the PIC18F452. I want to connect the PIC's PSP device as the master where is initiates reads and writes (in the data sheet reads are defined as reads from PORTD and Write is write into PORTD). As I understand when the PSP device on the PIC18f452 is enabled the PORTE become inputs. So can I change their state from software? ...
Causing an Interrupt on a event
inHello people, I'm wondering if someone can help me with internal interrupts. I'm using the PIC18f452 ADC to get a reading from a wall sensor...
Hello people, I'm wondering if someone can help me with internal interrupts. I'm using the PIC18f452 ADC to get a reading from a wall sensor (its an IR transmit receive circuit) which gives out numbers ranging from 0 to 500 (these numbers correspond to how far the sensor is from the wall). What I'm trying to do is generate an interrupt when the number is 250. I've thought about connecting ...
Using SPI flash with a PIC18F452 to send a file to a modem
inHey, I'm trying to connect an spi flash chip through a pic18f452 to a modem to send a file. I have initialised the flash, pic and modem but I...
Hey, I'm trying to connect an spi flash chip through a pic18f452 to a modem to send a file. I have initialised the flash, pic and modem but I am not sure how I go about sending the data to the modem. The flash chip has a collection of data produced by a datalogger and I need to either send it using gprs (probably by ftp) or by dialing into a server and uploading. Does anyone have any t...
freeRTOS on PIC18F6527
inHi all, I'm going to use freeRTOS on pic18F6527 (8722 family) and I noticed that the its port is suitable only on pic18F452. I would like to...
Hi all, I'm going to use freeRTOS on pic18F6527 (8722 family) and I noticed that the its port is suitable only on pic18F452. I would like to know where can I find any suggestions for this port or, better, even if anyone tried this port before. Thank you in advance, Pietro
pic18f452 interrupts
inhow to handle 4 interrupts in pic18f452 out four interrupts 2 are low interrupts and other two are high but we are having only two vector address...
how to handle 4 interrupts in pic18f452 out four interrupts 2 are low interrupts and other two are high but we are having only two vector address plz suggest me anybody
OV7620 RGB demosaicing problem
inHello, I'm working on an imaging system which uses C3188A digital cmos camera(contains OV7620 image sensor). It is controlled by a PIC18F452...
Hello, I'm working on an imaging system which uses C3188A digital cmos camera(contains OV7620 image sensor). It is controlled by a PIC18F452 and each frame I want to view is stored in a FIFO buffer, AL422B. I can store a frame and transfer it to my PC by RS232. However I have a problem with the images, they look gray scale although they should be RGB. I have configured OV7620 to transmit QVGA...
Make script
inHello! I have a project that used to be compiled via IDE. As I didn't like the IDE much, I made a 'make' script to compile it. I had to use...
Hello! I have a project that used to be compiled via IDE. As I didn't like the IDE much, I made a 'make' script to compile it. I had to use extended syntax so it will run on NT-XP, not Win98 and the like. Host OS: Windows XP Target: PIC18F452 CPU Language: C Compiler: HI-TECH C Compiler IDE: MPLAB IDE Target is an embedded CPU, so I compile code on host machine then write it to ...
Setting configuration bits in code
inDear friends, I have a MPLAB IDE project where configuration bits for the device are set in project options. I want all configuration data...
Dear friends, I have a MPLAB IDE project where configuration bits for the device are set in project options. I want all configuration data for the application to be contained in source code. How do I set set configuration bits in code? My CPU is PIC18F452, compiler is HI-TECH PICC-18 V8.35 PL3 Regards, Nickolai Leschov
RS232 interface
inhi......... iam doing ADC using PIC18f452.This ADC is 12bit. NOW i have to send that 12bit output data to PC, my problem is that in PIC we have...
hi......... iam doing ADC using PIC18f452.This ADC is 12bit. NOW i have to send that 12bit output data to PC, my problem is that in PIC we have only 8bit data transmit register , but i have to send this 12 digital data .How i can do this
MPLAB ICD 2 usage
inI have downloaded MPLAB IDE v8.30 and installed it. I wanted to communicate PIC18F452 and PC I am using a sensor for my project which gives...
I have downloaded MPLAB IDE v8.30 and installed it. I wanted to communicate PIC18F452 and PC I am using a sensor for my project which gives analog data.I am digitizing using 10 Bit ADC in the PIC. I want save the data from the ADC to a file in the computer. Now how should I proceed in the programming the PIC. Can you help me in this regard? I am trying to use ICD 2 module in the MPLAB softwa...
USB reset question
inI have been observing unexpected USB resets in a product I am troubleshooting. The board has three USB devices internal to itself: a 2.0 hub...
I have been observing unexpected USB resets in a product I am troubleshooting. The board has three USB devices internal to itself: a 2.0 hub chip, a PIC18F4550 which I programmed, and a touch panel circuit. Everything works fine until we attach another device to the hub - a mouse-keyboard combination custom-designed for the overall product. Then I see all three USB devices (the PIC, the to...
High speed MCU to PC transfer
inHi everyone, If you dont mind im just after some of your thoughts regarding a project that im working on. I intend to transfer about 770KiB / s...
Hi everyone, If you dont mind im just after some of your thoughts regarding a project that im working on. I intend to transfer about 770KiB / s (kilobytes) from the PIC18F4550 (USB 1.1 controller) to a PC (will be audio samples). just wondering if anyone has had any experience with this and what sort of work on the PC software/driver side needed to be done... I cant really write in C++ (or ...
PIC18F4550
inHi, Anyone know how to program a PIC18F4550 using a TOP2048 programmer? The device is not supported directly just wondered if it's possible to...
Hi, Anyone know how to program a PIC18F4550 using a TOP2048 programmer? The device is not supported directly just wondered if it's possible to use a similar memory configuration. All ideas welcome, if worse comes to worse I will have to use ICSP. Regards. Martin
I2c chip(PCF8574) interface to PC by using PIC18F4550
inIsit possible to interface the PCF8574 to the PC by using PIC18F4550 through the build in USB function? Since i would like to build the USB...
Isit possible to interface the PCF8574 to the PC by using PIC18F4550 through the build in USB function? Since i would like to build the USB by using PIC18F4550 and interface to the PC. Is there any good application by using PCF8574 i2c chip?
USB circuit disconnects when the circuit is put near another surface
inHello, I have built a basic circuit for the PIC18f4550 using a 20 MHz crystal from http://www.create.ucsb.edu/~dano/CUI/ . I have installed...
Hello, I have built a basic circuit for the PIC18f4550 using a 20 MHz crystal from http://www.create.ucsb.edu/~dano/CUI/ . I have installed the HID firmware from http://www.lvr.com/usb.htm (USB complete). The circuit works fine and connects ok then installs the driver as long as it is suspended in free space. As soon as the circuit comes near ( 2-3 cm) another surface (paper or the wo...
[EE] GPS logger with voice recording - Wear balancing for SD/MMC card needed?
Hi All, I'm just working on the open source GPS logger with voice recording (to facilitate recording tracks for the...
Hi All, I'm just working on the open source GPS logger with voice recording (to facilitate recording tracks for the http://www.openstreetmap.org project). The current architecture includes: GPS module - http://www.f-tech.com.tw/datasheet/GPS/FGPMMOPA2.pdf - first tests show, that it performs very well even at low level of GPS signal. CPU - Atmega32 or PIC18F4550 - not decided yet (the s...
PIC 18F4550 - EUSART does not generate interrupts
inHi All, I have the following problem with the PIC18F4550. The EUSART is initialized as follows: movlw b'11111111' movwf...
Hi All, I have the following problem with the PIC18F4550. The EUSART is initialized as follows: movlw b'11111111' movwf TRISC,ACCESS movlw low(d'1249') movwf SPBRG,ACCESS movlw high(d'1249') movwf SPBRGH,ACCESS movlw b'00000100' movwf TXSTA,ACCESS movlw b'10000000' movwf RCSTA,ACCESS movlw b'00001000' ...