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.
Hi,
Till now I have mostly worked on ATmega2560 for my projects. Now I am planning to shift to ARM based MCUs(i have got a sample of LPC2148). I want to know what advantages and disadvantages in working with LPC2148 over ATmega2560. Your suggestions are appreciated.
added #pragma config PLLDIV = 5
#pragma config CPUDIV = OSC1_PLL2
#pragma config USBDIV = 2
#pragma config FOSC = HSPLL_HS
but still its not working. is there any other register which I should set (eg. CMCON1) for using PORTE/D?
- - - Updated - - -
changed lcd_ini() as follows:
void lcd_ini()...
Hi,
I am having problem getting LCD work with this code:
// Program to display text on 16x2 LCD using PIC18F4550 Microcontroller
#include <p18f4550.h>
//LCD Control pins
#define rs LATEbits.LATE0
#define rw LATEbits.LATE1
#define en LATEbits.LATE2
//LCD Data pins
#define lcdport LATD
void...
Hi,
I have written this code to check out USART protocol on PIC18F4550 (44-pin). Tx and Rx are shorted with wire. The LED connected to RB3 and ground should go off when the data is transmitted.
It is not at all working. Please help in debugging.
#include <p18f4550.h>
#define baud 9600
#define...
Hi there,
I have to make a digital potentiometer using PIC 18F4550. Can anyone suggest how to do that using minimum peripherals and no potentiometer IC?
Hey I want to know how can I display characters on a VGA display using verilog. I need it to show score in a game I implemented using an altera MAX V CPLD.
Hey all,
I am a newbie with verilog HDL. But I have to do a small project with altera MAX V in two weeks. Can anyone suggest me some options and also if possible help me with it ?
I would really appreciate your help. Thanks in advance :):-)
I have adapted it from keypad datasheet. This is written just to see if I can interface it. While checking I am pressing only single key till i get stable output, so debouncing and whether to accept single or multiple can be worked out later.
I have tried to make always@() work on clock pulse...
This code was implemented on a CPLD but it is not working. Please help!
// This code should show the position of the push-button pressed by glowing appropriate leds.
module hex(col,row,led);
output reg [3:0]row,led;
input [3:0] col;
integer r,c,val;
always@(col )
begin
//row=1;
led=0;
r=3...
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.