spi in vhdl
hi frendz i have recvd a task. plz help me how shall i approach the problem.. its spi in vhdlinstructions:write a vhdl program that implements a spi interface to a cpu, the received bytes are passed to a command parser for decoding.serial protocol i...
PLD, SPLD, GAL, CPLD, FPGA Design :: 17 Nov 2009 19:38 :: goalkeeper_buffon :: Replies: 7 :: Views: 3525
please help me with my college thesis :cry:
i have a school project. i am going to create a usb file transfer device. it is a hardware with two usb ports(one functions as the slave and the other as the master) that is capable of transferring files from one usb device to another. it has an lcd ...
Microcontrollers :: 13 Nov 2009 10:54 :: wp100 :: Replies: 1 :: Views: 84
help ! transmit data from pic to pic mirco controller
hi guys, i am newbie to micro controller, currently doing final year project, need help on rf module transmitting/recieving from pic to pic. best if there is an schematics diagram and asm code. thanks...
Microcontrollers :: 13 Nov 2009 7:40 :: Aeddon :: Replies: 3 :: Views: 123
i2c pic to pic 16f767 16f876a
as the title.if i link 16f767 an external eeprom 24c64 works fine.in the scl/sda line pull-up resistors 2k2.the code: subproceduras sub procedure escribe_eeprom(dim waddress as word,dim dato as word)i2c_start() en...
Microcontrollers :: 10 Nov 2009 10:13 :: Aeddon :: Replies: 4 :: Views: 420
interfacing bluetooth usb dongle with microcontroller
do anyone know how to interface bluetooth usb dongle(which is easily available for pc) with microcontrollers?coz these dongles r easily available n cheaper than bluetooth module so if its possible to interface with ucs than it becomes cheaper bluetoo...
Microcontrollers :: 05 Nov 2009 7:25 :: dannym :: Replies: 115 :: Views: 24999
communication between two micrcontrollers
hii have got a project using two pic16f690 micro controller so i need some one to help me how to connect between two micro controllers.cheers:[/b]...
Microcontrollers :: 30 Oct 2009 0:03 :: yonas abawary :: Replies: 6 :: Views: 240
connecting 2 pic16f876a via i2c, and testing in mplab?
hello!i want to connect 2 pic16f876a via i2c.is there any sample source code in asm for doing that? since im kinda lost in datasheet...what brg in sspadd should i use for the maximum speed (with 20mhz xtal)?thanks in advance,js...
Microcontrollers :: 19 Oct 2009 14:09 :: RGVChris :: Replies: 12 :: Views: 1815
pic micro starter question
hey, i need some advice.i understand circuitry and higher level programming, but now im trying to jump into pic micro kinda projects.so before i go and spend a ton of money on useless things, id like you guys to set me straight.recommend anything to ...
Microcontrollers :: 04 Oct 2009 20:23 :: wp100 :: Replies: 10 :: Views: 309
data transfer between 2 pic microcontrollers using spi
hi, i am trying to transfer data between 2 pic micro controllers microchip pic18lf8722 and piclf2525 in which pic18lf8722 acts as master and piclf2525 as slave. so we have configured them as master and slave and sent some data to slave but data wa...
Microcontrollers :: 18 Sep 2009 16:44 :: mirage315 :: Replies: 8 :: Views: 1581
hex code, ccs compiler
dear all,i just changed from pic16f690 to pic16f876a. the pic is used for motor driver application and it sends signals to the h-bridge vnh2sp30. the code written for pic16f690 worked well with no errors. but now, i am getting some errors, mainly unk...
Microcontrollers :: 08 Sep 2009 17:30 :: FvM :: Replies: 1 :: Views: 396
strange spi problem with pic18f2553
hi i have set up a master and a slave pic using the spi library.i am using the two pwm modules on each pic.my problem is when i write a value to the slave pwm modules over spi it always gets doubled??the time settings and crystals for both pics are a...
Microcontrollers :: 03 Sep 2009 10:43 :: zappedOne :: Replies: 0 :: Views: 120
whats going wrong with the code?
i bought a rf kit, transmitter and receiver, and the website of a similar product is below. now, im trying to write code for it, just to make sure it is working. http://www.sparkfun.com/commerce/product_info.php?products_id=8950im using a pic 16f688 ...
Microcontrollers :: 25 Aug 2009 17:23 :: betwixt :: Replies: 19 :: Views: 767
mutiple 7 segment in long range
hello all,how could i implement mutiple display using pic. the display got 1 master and 5 slave. if we number display in master, the slave should be same number. the problem how to make if the range of between display is long. and i want to minimize ...
Hobby Circuits and Small Projects Problems :: 21 Aug 2009 13:44 :: betwixt :: Replies: 15 :: Views: 528
building the pickit2 from scratch
microchip has offered the schematic here :http://www.microchip.com/stellent/idcplg?idcservice=ss_get_page&nodeid=1406&ddocname=en023805from what i gather, the firmware is also available here.so, before i build it myself, i would like to know if anybo...
Microcontrollers :: 20 Aug 2009 0:40 :: CanaKit :: Replies: 37 :: Views: 16236
pic to pic sync communication using usart
hello, i need help in operating the usart, in sync mode when pic 16f870 is used as master and transmit data, to pic 16f877a that set as slave and received the data. i have set the baud rate to 62.5mb/s.when the master send the data via the txreg, and...
Microcontrollers :: 02 Jul 2009 6:09 :: gidp :: Replies: 2 :: Views: 414
need source code with c or assembly master and slave i2c
i need a source code with c or assembly that creat communication between twoatmega 32 ,one micro as a master and other is slave.but we have not premissionto use twi module in micro,assume that we use pic that has not twi module. tanks with all....
Microcontrollers :: 31 May 2009 23:14 :: afouladi86 :: Replies: 2 :: Views: 501
pic microcontroller slave and master
hi everyone,i am thinking about running several pics in a slave and master mode. has anyone had experiance in doing this? can you give me any advice that might save some stumbling block?thanksdfullmer...
Embedded Systems and Real-Time OS :: 23 Apr 2009 16:19 :: samuraign :: Replies: 12 :: Views: 2545
can pic 18f4550 be a host when using usb?????
hello all,i have a project in which pic 18f4550 is used, what i wanted to do is taking the data from the pic then send it to a mobile phone through usb , but someone told me this cant be done , since both of the pic and the mobile phone are clients a...
Microcontrollers :: 01 Feb 2009 14:14 :: nevans06 :: Replies: 15 :: Views: 3420
pic16f877 i2c
hi i have 3 pic877. i want to set one pic as master with ssd display.and want to display the slave pics ad result in ssd. i can write a code for ad conversion, display but stuck in the i2c.im not familiar with c coding. but i can use the assembl...
Microcontrollers :: 15 Dec 2008 9:40 :: cbkulatunge :: Replies: 0 :: Views: 312
modbus rtu help
hello everybodyits me again .... needing help ... with a project to communicate 2 pic microcontrollers via mobus rtu.the problem is that i read the modbus.org documment and i dont have a remote idea...where should i begin...and most important howso...
Microcontrollers :: 05 Nov 2008 13:29 :: vhn :: Replies: 1 :: Views: 390
serious doubts about pic
lothis is my first post i need help...im stucked i want to know if i can use spi or i2c simultaneously with usartexample: i want to communicate 2 pic16f877 or 2 pic18f2550/4550 via spi or i2c one as master and the other as slave...but the master mus...
Microcontrollers :: 14 Oct 2008 17:06 :: VVV :: Replies: 6 :: Views: 423
is it possible in i2c using 1 mc as master and 2 mcs as sla?
hi all, i am new to micro controller, please help to explain, is it possible to connect pic16f877 a(as master) and pic16f689 (2 ics) as slave?. thanks...
Microcontrollers :: 14 Oct 2008 6:20 :: adidav :: Replies: 7 :: Views: 360
i2c sample codes for pic16f877a
hi to all.i am newbie to i2c in pic16f877a, i need to learn to programe for i2c in pic16f877a. but th datasheet of it is really confusing. so i cant get a neat idea abt how to start to write for sda and sck. so some tell me exactly how to write for i...
Microcontrollers :: 09 Oct 2008 15:02 :: rajtech :: Replies: 8 :: Views: 4692
serious doubts about pic
lothis is my first post i need help...im stucked i want to know if i can use spi or i2c simultaneously with usartexample: i want to communicate 2 pic16f877 or 2 pic18f2550/4550 via spi or i2c one as master and the other as slave...but the master mus...
Microcontrollers :: 09 Oct 2008 9:36 :: asena :: Replies: 1 :: Views: 156
communication between pic 16f877 and pic 16f877
anybody know how to transmit data from one pic and receive the sending data at another pic....hope someone can help by given the coding...thanks...
Microcontrollers :: 26 Sep 2008 17:39 :: wanbong :: Replies: 9 :: Views: 1191
pic spi need help...!!!
hi i am want to interface 4 pic u controllers as slaves to a main master controlleralso a pic using spi technique.can any one plzzz give me some related tutorials with hardware and programming issues disscussed...!!!! plzzz help me...:cry:thanx in ad...
Microcontrollers :: 22 Sep 2008 10:24 :: cristi7521 :: Replies: 3 :: Views: 333
connecting two pic18fxxxx microcontrollers together with i2c
ic18f6520. (it is possible to use spi also, but what is maximum cable lenght between spi devices?) the protocol should be very easy. it will be send only 2-4 bytes at one time.i think i need use dual master mode, because second pic send error codes t...
Microcontrollers :: 04 Sep 2008 20:30 :: daviddlc :: Replies: 8 :: Views: 4002
pic spi help!!!
everyone, its been a while since ive been on here... i am working on a new project that involves using spi with a pic16f818.... i am going by a data sheet found on microchips web... to send data on a master it says to:send_dt bcf ss mov...
Microcontrollers :: 18 Aug 2008 7:38 :: chevymn1964 :: Replies: 5 :: Views: 408
ADS
:: :: :: Replies: :: Views:
commicate pc to pic16f877 using 485 protocol
hi,can any one help me how to design circuit for convert rs232 to 485 converter?? i need to communicate pc and pic16f877 using 485 protocol. if any one already try it, please let me know...thanx......
Microcontrollers :: 09 Jul 2008 13:56 :: TekUT :: Replies: 6 :: Views: 2085
radio controlled leds?
hey everyone,first off, i would like to say hello as this is my first post on your forums. im sorry if this is in the wrong part of the forum, i wasnt sure where it should go as i dont really have a plan yet, and i am a beginner. i have this project ...
Electronic Elementary Questions :: 24 Jun 2008 22:11 :: Sinisa :: Replies: 22 :: Views: 696
how to connect two controllers to pc com port?
hi,i want to connect two or more microcontrollers(8051) to pcs serial (com) port. can any one tell me how to do this? what hardware will i need to achieve this.thanks!rizwan ul ahmad khan...
Microcontrollers :: 24 Jun 2008 18:55 :: amol_shah :: Replies: 13 :: Views: 816
i need help with i2c
i did a communication between a dspic 33 fj256gp710 as a master (on a explorer 16 board) and a pic 16f887 as a slave (on a pickit 2 board). when im runnig the programs(both master and slave) in animate mode it is ok for the first cycle, in next cycl...
PC Programming and Interfacing :: 07 Jun 2008 22:27 :: vasiliugeo :: Replies: 1 :: Views: 483
spi with 8051 and 93c46
can anyone help me 2 program for interfacing 93c46 with 8051 using spi protocol.thank you....
Microcontrollers :: 12 May 2008 13:21 :: laktronics :: Replies: 35 :: Views: 1845
is this a pic programming project? [noob]
hello all,i have a small pc project that i think might be achievable with pic programming. i havent done any pic programming before but if i could get any advice on where to research; that, in itself would be helpful. having a project in mind is alwa...
Electronic Elementary Questions :: 15 Mar 2008 1:23 :: s_cihan_tek :: Replies: 6 :: Views: 324
how to realize a spi interface with vhdl?
how to realize a spi interface with vhdl?i find it is too difficult for a newbie. need your help ....
PLD, SPLD, GAL, CPLD, FPGA Design :: 07 Feb 2008 20:31 :: FvM :: Replies: 22 :: Views: 15877
sharing i2c eeprom and 2 master pic
hi all,i need some code to share i2c eeprom between 2 pic. i need to use multi-master configuration. the first master will write on the eeprom and the second will read from. i need your help! (i use assembler)thanks,...
Microcontrollers :: 29 Nov 2007 11:37 :: supiper :: Replies: 8 :: Views: 345
communication problem:: rs-485 (master) and rs-485(slaves)
hi,i am working on a project of interfacing pic up (master) to multiple pic up (slaves) through the use of half-duplex rs-485 chips.i am using daisy chain topology for my network.hardware configurations:-----------------------------all of the rs-485 ...
Microcontrollers :: 11 Nov 2007 21:58 :: funnynypd :: Replies: 11 :: Views: 1089
16f877a serial communication
hello, i was wondering if anyone could help me with a pic arrangement using a serial protocol. im attempting to create a single master multiple slave combination using the 16f877a pic for all units.what i would need is for the master device to be abl...
Microcontrollers :: 19 Oct 2007 8:26 :: nitigon :: Replies: 7 :: Views: 1800
pic 16f72
need help regarding pic 16f72...
Microcontrollers :: 01 Sep 2007 7:25 :: azadunkili :: Replies: 12 :: Views: 921
master and slave microcontrollers
trying to design a project just for hobby. project is suppose i have to mesaure some physicalproperty lets say temperature of 10 different locations each situated nearby only. i have to useslave and master method as i have drawn in picturebelow. wha...
Microcontrollers :: 28 Aug 2007 21:32 :: mrcube_ns :: Replies: 5 :: Views: 495
dsp processor vs microcontroller
what is the difference between dsp processor and microcontroller?...
Electronic Elementary Questions :: 13 Aug 2007 3:31 :: springf2000 :: Replies: 10 :: Views: 6135
urgent help required
out.i am using a pic 16f877a micro controller and i have to do the following program using a picc compiler can any one help me out with the code.spia. use a software spi protocol to implement an spi master device that will write characters to an spi...
Microcontrollers :: 30 Jul 2007 17:50 :: raghavamrina :: Replies: 2 :: Views: 207
do i really need 2 xtal oscillator when using 2 pic micro?
i am currently designing a project using 2 pic micro (16f877), the 1st pic is for master and the 2nd one is for slave. i have some doubts if i really need put 2 crystal oscillator for clocking to each pic (master and slave). or, 1 crystal oscillator ...
Analog IC Design & Layout :: 03 Jul 2007 13:32 :: aicrag80 :: Replies: 3 :: Views: 216
mssp port in pic (spi interface)
how do i use the mssp port in spi mode? i don´t want to make bit-banging spi, i want to load the sspbuf and let it do the job for me...do i need to generate any sck signals?have you got any example code for ccs?thanks...
Microcontrollers :: 30 Apr 2007 20:21 :: pepillo :: Replies: 6 :: Views: 3045
ccs-ide wizard for i2c code
hi, does any one is using ccs-ide for pic programming.....i have written a code for i2c, but it is not giving the required result...i was thining to see the code generated from ccs-ide wizard....if any one can generate the code for pic16f818, then it...
Microcontrollers :: 05 Apr 2007 23:41 :: kender :: Replies: 9 :: Views: 2163
adc reading through wire from a distance ?
hi i have to read the position of a potentiometer shaft from a distance.the potentiometer is placed 150 to 200 meters from the control room. the supply voltage is 24volts dc.i have to report the position of potentiometer in the control room. the ...
Microcontrollers :: 26 Mar 2007 18:45 :: vsmGuy :: Replies: 12 :: Views: 564
how to connect two or three pics by spi?
please! anyone can help me in the spi world? my question is about the program in picbasic i have to use to connect a pic as a master and one or two pics as slaves. i have read something in the datasheet and in the web, but its still a bit misterio...
Hobby Circuits and Small Projects Problems :: 26 Mar 2007 3:32 :: banjo :: Replies: 1 :: Views: 195
pic_project
is anyone who know site for basic project using pic microcontroller?????...
Microcontrollers :: 18 Mar 2007 3:59 :: Tom2 :: Replies: 10 :: Views: 498
spi and i2c
can some one please give the difference between spi and i2c in detail with their specific applications ? how it is implemented with pic18f4550/4455?thanks in advance...
Electronic Elementary Questions :: 22 Jan 2007 15:36 :: satish.ghariya :: Replies: 3 :: Views: 1542
problem with the ds1621 and 16f819 and the rs-232 communicat
hi, i have built a system to read temperature using the ds1621 and the pic16f819. this pic reads the temperature from the ds1621 through i2c and sends the data to the computer through rs-232. i am using the following code for tests (pin_b1 and pin_b4...
Microcontrollers :: 10 Dec 2006 14:04 :: otavio_fisica :: Replies: 0 :: Views: 462
pic development board, diy
hi,ive posted this in a couple of forums, but it doesnt hurt to get as many opinons/ experiences as possible. im currently designing a development board for the pic, namely the 16f877a, since this has pretty much every peripheral i would need for pi...
Microcontrollers :: 16 Sep 2006 17:15 :: Buriedcode :: Replies: 20 :: Views: 2379
stand alone pic programmer
does anybody knows a stand-alone pic programmer for production? (schematic + pcb+ soft). thanks...
Microcontrollers :: 15 Sep 2006 22:56 :: roykyn :: Replies: 24 :: Views: 3132
pic18f4550 can store data into pendrive???
is this possible done to use the pic18f4550 to connected to the usb handy drive to store data in? how is the master and slave usb control? i have come across that the usb capability in pic is not master. izzit true? any solution please post. i need u...
Microcontrollers :: 27 Jul 2006 7:22 :: Alan69 :: Replies: 9 :: Views: 561
pic spi
what are the connections to be made for spi connections between two pic microcontrollers(18f4620). one is master and other is slave. what are the connections are to be made apart from spi pins? slave select or chip select? what are bits to be checke...
Microcontrollers :: 14 Jul 2006 13:32 :: polymath :: Replies: 5 :: Views: 444
using the i2c bus with c18
ther using the i2c bus (pic18f4550). from the literature included with microchips c18 that the bus can be used by simply using built in functions. is this really as simple, and how do i support multi-master busses, in order to handle critical alarm c...
Microcontrollers :: 25 May 2006 10:37 :: xihushui :: Replies: 5 :: Views: 915
i2c slave code for hitech
does anybody know where i can find code to impliment i2c as a slave in c? i want 2 pic to communicate with each other....
Microcontrollers :: 06 Jan 2006 0:43 :: neuralc :: Replies: 5 :: Views: 1395
i2c using pic micro
hi,can anyone give me a good link for doing i²c with pic 16f877a. circuit diagrams and codes etc.thanksrob...
Microcontrollers :: 10 Nov 2005 13:54 :: bimbla :: Replies: 3 :: Views: 459
can i use pic16f84 to design optical power meter..
basically my project is like this.as u know u i need to design a low cost optical power meter..i will be using a photodiode as a sensor for an optical source....i will be using fiber optic to drive the optic source to photodiode...after tht pic plays...
Microcontrollers :: 17 Sep 2005 8:13 :: bobcat1 :: Replies: 2 :: Views: 351
connceting a pic to another
hijust a very small and quick question ... if i want to connect one pic to anotherconsidering that one of them will give commands to the other to start a certain jobhow can this be done ?i mean , do the first one (explained above ) will act as the ot...
Microcontrollers :: 05 Sep 2005 7:55 :: ful babu :: Replies: 6 :: Views: 507
actual example of using 8259s (pic) in master/slave mode
hi everyone,i need to have an actual example of using 8259 interrupt controllers in a real system (in master and slave mode).i also need to know when special fully nested mode and special mask mode will be used (in a real system).regards,khorram...
PC Programming and Interfacing :: 14 May 2005 16:14 :: papyaki :: Replies: 4 :: Views: 348
how to expand pic ports
hi there,i would like to control 3 seven segment led display with pic, but i would like to use pic 16f84a.one of my friend gave me a clue for this but i have no idea how to do this.he saw a circuit like that and it has 3*4015 shift register and a 16f...
Microcontrollers :: 03 May 2005 10:52 :: Weis Guy :: Replies: 29 :: Views: 8103
micrcontrollers
hi,i want to know the difference between spi and the i2c busses on a pic.which would be better for bit bashing?thanks....
Microcontrollers :: 21 Apr 2005 22:18 :: ntfreak :: Replies: 2 :: Views: 366
please recomend a pic micro for the project ?
hi i have a project who need to do the following tasks:1)2 control loops using a/d conversation (100khz /sample time)2)2 communication channel both working full duplex @ 9600 3)fsk signal decode /encode using capture timer4)1 char lcd display 5)32 di...
Microcontrollers :: 02 Apr 2005 3:35 :: pinpin :: Replies: 6 :: Views: 468
communication betwenn pic mcus
after executng my sleep successfully i have moved on to talking between micro controlers, my slave pics send data tro my master pic, only one pic slaqve talk at a time while others are in sleep mode,now the problem is taht every thing goes fine when ...
Microcontrollers :: 23 Mar 2005 16:06 :: gidimiz :: Replies: 6 :: Views: 408
help with real time clock
i dont know much about real time clocks.im using it in a project along with a pic18f452. the device will continuously sense a measurement and have it stored, the real time clock should send an interrupt to the pic every 2 seconds. when the interrupt ...
Microcontrollers :: 20 Mar 2005 13:07 :: pvinbox@yahoo.com :: Replies: 14 :: Views: 4413
i2c and 2 pics . hw problems
hi, im trying to connect 2 pic as master and slave on an i2c bus. master has to control 2 slaves a i2c device and the other pic. when i connect the pic, self powered on another board, pullup voltage of the master goes down to 1,3v from 5v and the mas...
Microcontrollers :: 07 Mar 2005 10:53 :: gidimiz :: Replies: 5 :: Views: 888
i2c communication of pic's
hi all, we are dealing with a project and using 6 ucs in it.maximum length of the distance between 2 ucs is 2 meter. we thought that the best way of communicating each uc (1master 5 slave) is i2c. can it cause a problem such these distances using i2...
Microcontrollers :: 29 Dec 2004 20:47 :: ilker :: Replies: 2 :: Views: 348
consult: i2c for pic16f877 and pcf8563 with c
it was my the first time writing i2c for pic ,there must be something wrong with it ,can any one see where i have gone wrong. any advice would realy be appreciated pic16f877a master and pcf8563 slave i2c fosc=400khz. osc=8mhzpcf8563 read command 0...
Microcontrollers :: 14 Dec 2004 16:45 :: kerden :: Replies: 0 :: Views: 651
cpld, wireless digital audio...
hi, i posted a similar question in the dsp forum, probably the wrong place to post it, no-one replied :oops: well, i have designed a system to convert an audio signal into digita, send this across some sort of wireless link (radio, ir etc..) and th...
PLD, SPLD, GAL, CPLD, FPGA Design :: 14 Jul 2004 18:31 :: Buriedcode :: Replies: 6 :: Views: 708
pic 16f877 latchup problem
hi all.i´m working on a project wich uses a pic 16f877 to comunicate asynchronously on a long line of several hundred meters, between a master unit and several slave units.the way used for communication is very similar to rs485, on wich a 3 wire syst...
Microcontrollers :: 02 Jan 2004 23:09 :: raticus :: Replies: 7 :: Views: 1386
All times are GMT + 1 Hour |
|