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.
i tried debugging by displaying the value i receive on an array of leds...as a result i realised that when i send 1, it receives 129 (i.e 0b10000001 instead of 0b00000001)...and this is happening for all the other numbers..i.e. for some reason, the msb is always set high :/...so if i check the...
hi again everyone!
I am trying to interface a matlab gui with dspic30f2020 over serial communication. My matlab code sends a number (here 67) when i press a certain pushbutton. The muc is then supposed to check if the value received is 67 and if it is, then it has to take a certain action...
Hi everyone!
I have a slight problem here. I am basically trying to sample 200 analog values using the ADC inside dspic30f2020 and then sending them via UART to a matlab program.
The thing is, I am sending these 200 values to matlab only once (as far as my understanding goes, in my code for...
thanks susan, I get it now. But i have one more doubt, in the data sheet, in many places its written that the controller works at 30 MIPS when an external oscillator of 15 Mhz is used and PLL is enabled. Now i am assuming that this 30 MIPS comes from the instruction clock frequency i.e. Fcy...
can somebody please tell me how microchip calculates the maximum sampling rate of the ADC of dspic30f2020 to be 2 mega samples/sec ? I tried going through the datasheet but was unable to figure it out :/
Hi everyone,
i have written a small code to transmit 5 numbers from matlab to the PIC via FT232.
Depending on the number received, a particular led blinks. When the number 5 is received, the MUC transmits back all the 5 numbers received till then to the pc @ 115200 bps.
For some reason my...
re: problem with UART RECEPTION: using dsPIC30F2020, matlab, FT232 & c30 compiler
thanks a lot Susan! the first line itself helped me out..completely forgot to call initUart. My code is working now :)
Hi guys,
i am trying to write a small program to test serial communication between dsPIC30F2020 and MATLAB via FT232.
As per the program, a random number is sent from matlab to the PIC. On reception of the number via UART, an interrupt is generated and an LED connected to pin B0 should glow...
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.