Continue to Site

Welcome to EDAboard.com

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.

help for beginner's who want to start from datasheet

Status
Not open for further replies.

internetuser2k13

Member level 3
Member level 3
Joined
Aug 10, 2013
Messages
56
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Location
pakistan
Visit site
Activity points
408
Hi.....!!
as i posted in my last 2 thread that i want to work with PIC 18fxxx.
i first download datasheet for pic18f458 which include information about other PIC 18fxxx.
i see many configuration bits ,timer ,timer as counter as given in table make selection whatever we needed.i.e timer or counter,8 bit or 16bit etc
and interrrupt,
i see many configuration bits , mostly i understand their purpose .
is their any importance in code..??
we must use these configuration bits.??


secondly,
my seniors friends always says that code running in simulator but not in hardware..
what are the reason for that??
kindly explain that...
 

See these free eBooks :

https://www.mikroe.com/chapters/view/16/chapter-3-pic16f887-microcontroller/
https://www.mikroe.com/chapters/view/5/chapter-4-timers/
https://www.mikroe.com/chapters/view/16/chapter-3-pic16f887-microcontroller/



Microchip PICmicro® 18C MCU Family Reference Manual
https://ww1.microchip.com/downloads/en/DeviceDoc/39500a.pdf



secondly,
my seniors friends always says that code running in simulator but not in hardware..
what are the reason for that??
kindly explain that...

Yes, simulators is good toy for playing often sometimes can give working results and often not. Simulators can be good for specific design which we know how works and simulators will help us to see various situations of design with other parameters, but for developing I think its not good. For developing and studying get development system board.



Best regards,
Peter
 

@tpetar

i see many configuration bits , mostly i understand their purpose .
is their any importance in code..??
we must use these configuration bits.??

sir i asked about configuration bits that mostly user use in their code,,,,
what is their importance...
these book are also nice...

but focus on my question...
thanks..!!
 

@tpetar



sir i asked about configuration bits that mostly user use in their code,,,,
what is their importance...
these book are also nice...

but focus on my question...
thanks..!!

Try to read "Microchip PICmicro® 18C MCU Family Reference Manual".

First you need to know purpose of each configuration bits of uC, then you can use each configuration setting for your needs.


Best regards,
Peter
 
Hi,

This pdf should explain the Configutation Bits.

They are often placed in your program code, they totally are different from the normal programming code; basically the chip can be set up to run the program code in different modes and its these configuration bits that set the chip up to suit.
Simple example is the Config OSC parameter, it could be a Crystal or a R/C or Resonator .


https://www.edutek.ltd.uk/Binaries/Datasheets/Micro/PICDeviceConfig.pdf


Are you having to use the 18F458 because of its CAN functions ? - if not then look at a better chip to start with like the 18F4520 /4620 range.
They have a good range of features and a good internal oscillator.

Everyones different, but I find the best way to learn is to start coding and follow an elementary tutorial.

You have not mentioned which programming language you are using -if you do then we can suggest some good basic tutorials
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top