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.

Recent content by victoramas

  1. victoramas

    PIC18F4550 oscillator – Proteus Error

    You did indeed, but on post #2 you mentioned also USB besides the 48MHz and I wanted nothing to do with USB and created confusion for me. In post #5 you mentioned only 4xPLL and PIC18F4550 has all kind of setup, divisions and that confused me second time. You said it right, I understood it wrong.
  2. victoramas

    PIC18F4550 oscillator – Proteus Error

    I have asked on Proteus forum and it seems I have to specify the Clock Frequency 16MHz, the same as the external crystal, then the instruction clock works at 48Mhz. Follow here: https://support.labcenter.com/forums/viewtopic.php?f=9&t=6899&p=22879#p22879
  3. victoramas

    PIC18F4550 oscillator – Proteus Error

    Did you try it? Do you have any luck with it?
  4. victoramas

    PIC18F4550 oscillator – Proteus Error

    Here it is the zip file.
  5. victoramas

    PIC18F4550 oscillator – Proteus Error

    That is a very nice offer from you. I would be happy if you can make it run. Please see the Proteus project and the MPLABX XC8 code in the link below which I provided since the beginning with my first post: https://goo.gl/nPKKj2 I just need PIC18F4550 to work proper with 48 MHz CPU frequency...
  6. victoramas

    PIC18F4550 oscillator – Proteus Error

    I’ve got the proof, the game ends here. I have setup an I2C communication between PIC18F4550 as Master and PIC16F877A as Slave. All is done with MPLABX XC8 and then simulated in Proteus. And it works fine. When the simulation starts, there is a message about PIC18F4550 saying: “ [PIC18]...
  7. victoramas

    PIC18F4550 oscillator – Proteus Error

    I guess there is confusion here about the PIC18F4550 clock(s). There are 2 clocks for PIC18F4550: one for USB and one for CPU. They can relate. I want the microcontroller to run at 48MHz for the program/instruction, the CPU clock (FOSC). To achieve 48MHz we have to use an external crystal and...
  8. victoramas

    PIC18F4550 oscillator – Proteus Error

    I have tried a simple project with LED blink on/off using PIC18F4550. The compilers used are XC8 and CCS. I have used as IDE: MPLABX, CCS and Flowcode 7 (with XC8). When the projects are burned on real device and I check with the oscilloscope the signal at pin RA0, then there is no problem. If I...
  9. victoramas

    Smoothing a rectified sine wave DDS

    I will consider your recommendation and instead of going from 0 to PI, I will go only to PI/2 as in example below: #include <16F1825.h> #fuses NOFCMEN ,NOIESO, NOCLKOUT, BROWNOUT, NOCPD, NOPROTECT, NOMCLR, NOPUT, NOWDT, INTRC_IO #fuses NOLVP, NODEBUG, BORV19, NOSTVREN, PLL, NOWRT #use...
  10. victoramas

    Smoothing a rectified sine wave DDS

    "What do you mean with "smooth"? Describe it." Right now I can see the stairs on oscilloscope on certain parts of the sine-wave. I can measure up tp 30mV height for one step. I would like to have it 1mV. I use a look-up table with only 100 entries. I could probably go up to 175 entries, but...
  11. victoramas

    Smoothing a rectified sine wave DDS

    I produce a rectified sine wave 1Vpp 100Hz using a PIC + DAC 12bits. I would like to smooth the line by applying a filter. What filter do you suggest?
  12. victoramas

    [SOLVED] Proteus Simulator and PIC16F1825 CLKOUT

    @pjmelect It did not cross to my mind to look there. You found the solution. Thank you very much.
  13. victoramas

    [SOLVED] Proteus Simulator and PIC16F1825 CLKOUT

    Before I will show you the screenshots from Proteus, I think is better to look at the main Configuration Bits in Configuration Word 1 and Word 2 as appear in the C project. Because I have tried with several compilers, let’s focus now on one. Below is the MPLABX with C code for XC8 compiler. The...
  14. victoramas

    [SOLVED] Proteus Simulator and PIC16F1825 CLKOUT

    @Okada I do not use the external crystal. I use the internal clock with oscillator set at 8MHz+PLL and I get 32MHz as Fosc. @andre_teprom I see nothing there, no signal and Proteus runs for 2min continuously. Then I tried instead of oscilloscope to use the timer/counter and probe+digital graph...
  15. victoramas

    [SOLVED] Proteus Simulator and PIC16F1825 CLKOUT

    I have tested it with PIC16F1825 at 32MHz internal clock. At CLKOUT pin, OSC2, PORTA, RA4 it suppose to come a rectangular signal with a frequency Fosc/4=8MHz and is not there, the virtual digital oscilloscope does not show it. I have tested the same HEX code on a real PIC16F1825 and I measured...

Part and Inventory Search

Back
Top