EmbeddedRelated.com

Cheap Processors with Fast USARTs for RS485?

Started by Christopher Graham in comp.arch.embedded19 years ago 5 replies

I want to implement low cost rs485-connected data collection nodes, and need to choose a microcontroller for them that will support baud rates...

I want to implement low cost rs485-connected data collection nodes, and need to choose a microcontroller for them that will support baud rates of more than say 400 kbps, preferably up to 1 mbps. I know there are some PIC18Fxxxx's that have an "Advanced UART" that are claimed do this. Other alternatives? - Chris


Clearing RAM in PIC18Fxxx

Started by PigPOg in comp.arch.embedded17 years ago 6 replies

I'm trying to clear RAM (to 00 hex) in Bank 0, registers 00 -> 7F only. But the program only clears up to register 48 hex. I must be doing...

I'm trying to clear RAM (to 00 hex) in Bank 0, registers 00 -> 7F only. But the program only clears up to register 48 hex. I must be doing something wrong. Can anyone advise please? Thanks, Simon. ; ; Clear RAM 00 -> 7FH ; Program only uses BANK0 registers ; CLRF BSR ;Ensure working in Bank0. LFSR FSR0,0x000 ;Initiate to RAM loc. 0 BUMP_RAM CLRF POSTINC0 ;Clear IND


Code protection mechanisms for Microcontroller

Started by Arun Kumar in comp.arch.embedded19 years ago 8 replies

I need information on code protection mechanisms for PIC18FXX2 series of microcontrollers. Information on general code protection techniques on...

I need information on code protection mechanisms for PIC18FXX2 series of microcontrollers. Information on general code protection techniques on other microcontrollers will also be helpful. Arunkumar


lower PWM freq. for driving a Servo

Started by Stefan in comp.arch.embedded20 years ago 1 reply

Hello! I've got a problem using the PWM module of my PIC18Fxx2 to drive a R/C Servo. My PIC runs at 20MHz which I cannot change. The lowest...

Hello! I've got a problem using the PWM module of my PIC18Fxx2 to drive a R/C Servo. My PIC runs at 20MHz which I cannot change. The lowest frequency, that I can get is then 1.22kHz (using x16 prescaler and PR2=0xFF) which is too fast for the Servo. Is there some way of using the postscaler to get down the frequency? Trying to change the postscaler apparently made no difference. Though I...


Creating sound effects with PIC microcontroller

Started by Anonymous in comp.arch.embedded19 years ago 6 replies

I am developing a "smart" alarm clock. I need to determine how to I will generate the alarm sounds. The main requirement is the ability...

I am developing a "smart" alarm clock. I need to determine how to I will generate the alarm sounds. The main requirement is the ability to generate loud sounds and to vary the sound volume. One option is to use a PIC18Fxx processor (already part of the circuit) to generate the alarm tones and then feed them through an audio amplifier IC and small speaker. I could use a digital potentiometer t...


PIC18fxx Reset and WDT trouble

Started by PigPOg in comp.arch.embedded19 years ago 4 replies

Hi, can anyone help please? I've started to use the high-end family of 18f PICs and I just can't seem to get the WDT wake-up working. All I want...

Hi, can anyone help please? I've started to use the high-end family of 18f PICs and I just can't seem to get the WDT wake-up working. All I want to do is pulse a Green LED once for 1/2 second on applying power and then enter SLEEP for 2.3 seconds, wake-up, pulse a Red LED for 1/2 second then repeat the SLEEP, waking to flash the Red LED every 2.3 seconds. I've set the configuration bits accor...


PIC18F97J60 vs. MCF5223x for embeddet networking applications

Started by Anonymous in comp.arch.embedded17 years ago 4 replies

Does anybody have any experience with PIC18F97J60 vs. MCF5223x for embedded networking applications? The MCF5223x appears to be a little more...

Does anybody have any experience with PIC18F97J60 vs. MCF5223x for embedded networking applications? The MCF5223x appears to be a little more capable as well as supporting 100mbps operation. The PIC18F97J60 is probably cheaper (I assume). Any information would be appreciated. Petter -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such ...


PIC 18 Reset Problem

Started by Tim Wescott in comp.arch.embedded17 years ago 19 replies

I have an odd little problem, I'm hoping one of you could shed some light on it before I spend hours tracking it down. I'm working on a board...

I have an odd little problem, I'm hoping one of you could shed some light on it before I spend hours tracking it down. I'm working on a board with a PIC18F8722. We're setting it up to work in external clock mode with a 40MHz clock. This clock is, in turn, sourced by an integrated oscillator module from ECS (ECS-8FM). The problem that we're seeing is that sometimes the thing comes up ...


PIC 18f with RFID! communication problem!

Started by ishka in comp.arch.embedded9 years ago 1 reply

Hi, I am trying to interface RFID(RFid click which uses CR95HF 13.56 MHz contactless transceiver as well as trace antenna) with PIC18F8722. It...

Hi, I am trying to interface RFID(RFid click which uses CR95HF 13.56 MHz contactless transceiver as well as trace antenna) with PIC18F8722. It used SPI communication. I am trying to get its eco-response but there is no output! I checked using oscilloscope the spi_write operation which is perfectly fine but i guess the problems is in read operation. i am attaching my code. Any help would be appre...


Do you have a c code for PIC18F8720 to drive the LCD?

Started by ahmed_nti in comp.arch.embedded17 years ago 3 replies

Hi, This is the first time for me to deal with microcontroller. Do you have a c code for PIC18F8720 to drive the LCD?

Hi, This is the first time for me to deal with microcontroller. Do you have a c code for PIC18F8720 to drive the LCD?


10/100 Ethernet Chips

Started by Josh Fitzgerald in comp.arch.embedded20 years ago 19 replies

I am seeking recommendations for 10/100 Ethernet controller chips for the embedded environment. The microcontroller I will be using is...

I am seeking recommendations for 10/100 Ethernet controller chips for the embedded environment. The microcontroller I will be using is the PIC18F8720, an 8-bit chip. Thanks.


What's wrong?

Started by Anonymous in comp.arch.embedded20 years ago 5 replies

Hi all, I'm really losing my mind now, been fighting with this for 8 days now, I give up. I hope you can tell me what's wrong in my setup....

Hi all, I'm really losing my mind now, been fighting with this for 8 days now, I give up. I hope you can tell me what's wrong in my setup. :( I self made a PIC18F8720 development board, and it seems to work, because I can program the chip with no problems. I'm using 100 nF SMD capacitors near every Vdd (including AVdd), and an integrated clock oscillator. It's a 24 MHz CMOS part by Epso...


Problems about pic thermometer

Started by Novel in comp.arch.embedded15 years ago 3 replies

Now I am doing a pic thermometer which use the LM19 temperature sensor to measure the temperature and display on the 2*16 LCD...

Now I am doing a pic thermometer which use the LM19 temperature sensor to measure the temperature and display on the 2*16 LCD without backlight. And I have a pic18f45k20 microcontroller chip and 4504N adc converter. I have connect the temp sensor to pin 9 of the pic18f45k20. Now I just want to ask who can give me help with the codes to let this system works. Thanks.


Requesting help from EAGLE PCB users

Started by Anonymous in comp.arch.embedded18 years ago 3 replies

Hi all, I'm using the EAGLE PCB layout editor and absolutely love it. It's so much easier than other software I've worked with. I am,...

Hi all, I'm using the EAGLE PCB layout editor and absolutely love it. It's so much easier than other software I've worked with. I am, however, running into a problem with TQFP packages and the autorouter. If I bring in a TQFP package (e.g. PIC18F65J10) and a 8 pin header and make 8 random connections from the PIC to the header, and then go into the "Board" mode and use the autorouter......


SPI bus problems with PIC microcontroller

Started by sandeep in comp.arch.embedded17 years ago 6 replies

Hello All, I am using PIC18F6410 and interfacing it to Linear technology's LTC2704 ( 16 bit DAC ). I am checking the data signals on the...

Hello All, I am using PIC18F6410 and interfacing it to Linear technology's LTC2704 ( 16 bit DAC ). I am checking the data signals on the SDO pin ( MOSI pin of the SPI bus ) using a USB based Logic Analyzer. When the pins of the Logic Analyzer are attached to the SDO pin, the DAC is able to recognise the SPI command and acts accordingly, but when I remove the logic analyzer connections...


PIC based Data Logger - Need slick search algorithm - any ideas ?

Started by Anbeyon in comp.arch.embedded16 years ago 6 replies

Hi I'm hoping someone out there might have a good idea how I might solve my dilema. I have a PIC18F4620 and am using it as a data logger. ...

Hi I'm hoping someone out there might have a good idea how I might solve my dilema. I have a PIC18F4620 and am using it as a data logger. Storing logged data in an external SPI bus connected Serial Flash memory. The serial Flash is 16Mbits or 2Mbyte. The Serial Flash is to be used as a circular buffer and end users will request the logged data by Record number or by timestamp. (T...


Migrating from Pic CAN to ECAN

Started by Rich Walker in comp.arch.embedded18 years ago 1 reply

Hi, I'm supposed to be moving our boards from the PIC18F458 to the PIC18F4580, which has the ECAN on it. At the moment, I'm not having...

Hi, I'm supposed to be moving our boards from the PIC18F458 to the PIC18F4580, which has the ECAN on it. At the moment, I'm not having a great deal of joy... Has anyone else managed a migration from an Fxx8 to an Fxx80 pic? cheers, Rich. -- rich walker | Shadow Robot Company | rw@shadow.org.uk technical director 251 Liverpool Road | need a Hand? London ...


PIC18F458

Started by Chris Hiler in comp.arch.embedded20 years ago 1 reply

Does anybody know if there is a demo board available for the PIC18F458? Any specific one that you might want to recommend? I saw a couple on...

Does anybody know if there is a demo board available for the PIC18F458? Any specific one that you might want to recommend? I saw a couple on Microchips website, and they didn't look like exactly what I'm looking for. I need to implement a group 2 slave for DeviceNet, using CAN. Thanks, Chris


DHCP client on PIC Micro

Started by AbsoluteSoftware in comp.arch.embedded19 years ago 1 reply

Hello. I am embedded programmer working on a project implementing Ethernet functionality. The hardware is a PIC18F6620 and the TCP/IP stack...

Hello. I am embedded programmer working on a project implementing Ethernet functionality. The hardware is a PIC18F6620 and the TCP/IP stack was based on Jeremy Benthams TCP/IP Lean. The TCP/IP stack acquires its IP address through DHCP but I am having problems with some DCHP servers. In its raw state Jeremy Benthams code worked with the first server we tried it with but not the second. T...


CAN-settings for PIC18F4585

Started by Mich in comp.arch.embedded17 years ago 2 replies

Hi, I 'm programming a PIC18F4585 with MPLAB. I want to use the CAN option and I have made the basic C and H files with the aplication maestro...

Hi, I 'm programming a PIC18F4585 with MPLAB. I want to use the CAN option and I have made the basic C and H files with the aplication maestro of Microchip. I 'm working on a clock frequency of 40MHz. These are the settings I have calculated for a baudrate of 125k. #define BAUD_RATE_PRESC 16 #define SJW_TIME 1 #define SAMPLES 1 #define PROP_TIME 2 #define PH_SEG_1 4 #define PH_SEG...