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 K33rg4t3

  1. K

    [PIC] MikroC for PIC32 PIC32MZ MCU Clock Frquency [MHz] bug?

    Did you ever use MikroC? Delay_ms(1) doesn't magically know how long the microsecond takes. In all PIC18F, PIC16F, PIC32MX, and dsPIC, this function is taking the "MCU Clock Frequency [MHz]" from Project Settings and it calculates the proper delay based on that. I have experienced it many...
  2. K

    [PIC] MikroC for PIC32 PIC32MZ MCU Clock Frquency [MHz] bug?

    hey I have a simple setup with P32MZ2048EFH144 It has no external oscillator. I have a simple code with Delay_ms(1000) which appears to work fine (the led blinks at about 1 second) But.... I think there is something I dont understand. Take a look: No matter what I set in "MCU Clock Frequency...
  3. K

    Silabs C8051F300 programming?

    Hey, can someone recommend me the cheapest programmer for C8051F300 module sold on ebay? The same module from this thread: https://www.edaboard.com/showthread.php?367572-Schematic-for-C8051F300-module Preferrably the programmer tool should be also sold on ebay. Thank you.
  4. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    Sorry, but I already said that my code STARTED WORKING just after connecting the 16MHz crystal and setting the appropriate config bits.
  5. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    This is a very good point! Anyway, I have learnt that using internal oscillator is a bad idea, so topic can be closed.
  6. K

    [PIC] dsPIC30F4011 - Pinout Confusion

    Hey I am using dsPIC30F4011 with 16 MHz crystal. I am using mikroC for dsPIC. I have such code: void main() { int pwm_period1; int i; ADPCFG = 0xFFFF; // initialize PWM 1, using scale 1, and Timer 2.... pwm_period1 = PWM_Init(500 , 1, 1, 2); PWM_Start(1)...
  7. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    Ok so I NEED TO USE EXTERNAL CRYSTAL. But which crystal should I use? 20Mhz? 12Mhz? http://wormfood.net/avrbaudcalc.php This table says that even 8MHz is OK (eg. for 300) so I dont get it. - - - Updated - - - I HAVE GAVE UP. It seems it's really not possible to get UART running with internal...
  8. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    They do. I know it. The timing is wrong.
  9. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    I does not print at all, you have set "Internal Low power RC" and not "Internal Fast RC". Anyway, I've tried rebuilding the hex, changing RC to Fast, and changing baud rate to 9600, but still no luck (trash data in Terminal).
  10. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    There is mentioned a "FRC 8 MHz internal RC oscillator" setting ("FRC"), without any PLL, but I have only FRC+PLL settings in mikroC... Also do you mean that it's better to use internal oscillator for precise timing??? EDIT: In that configuration field for MHz, do I have to enter 8MHz...
  11. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    I don't think its' a bug, I think I don't know how to set correctly the config bits...
  12. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    I have tested several settings and none of them works correctly. FRC w/PLL x8 does not work too...I dont know how to select the appropriate.
  13. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    It does not work no matter what I do. char uart_rd; void main() { ADPCFG = 0xFFFF; // Configure AN pins as digital I/O UART2_Init(4800); // Initialize UART module Delay_ms(100); // Wait for UART module to stabilize UART2_Write_Text("Start")...
  14. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    Any baudrate. Just want it work without oscillator, because I have already done PCB and I must use UART2 communication.
  15. K

    [PIC] dsPIC30F4011 - UART with internal oscillator

    Hey guys The question is simple Is UART working with dsPIC30F4011 but with INTERNAL OSCILLATOR? I mean UART2_Init, UART2_Write_Text, etc. Do I have to use external eg. 20MHz or so oscillator or will it work with internal?? Thanks in advance

Part and Inventory Search

Back
Top