Search found 12 matches

by Saeed
Mon Aug 13, 2012 10:28 am
Forum: General Remark and Questions
Topic: Frequency in Explorer16 demo board
Replies: 0
Views: 10849

Frequency in Explorer16 demo board

Hello to all,
Can any one kindly explain to me how to adjust the master block for dsPIC33FJMC710A to see desired output frequency?
I want to see 30kHz pulse at the output (say, one bit of one port of the PIC mounted on the board).
My mdl file is attached as well.
by Saeed
Fri Mar 16, 2012 12:35 am
Forum: General Remark and Questions
Topic: [Fractional Data in dsPIC]
Replies: 0
Views: 10668

[Fractional Data in dsPIC]

As all know, dsPICs are fixed-point processors able to deal with fixed point (often unint8) values. But real world is analogue implying numbers with fractional part and not necessarily positive values (signity of values, +/-). Does any body know how to import these values to a dsPIC through rs232 se...
by Saeed
Thu Mar 15, 2012 1:57 pm
Forum: General Remark and Questions
Topic: UART1 & UART2 at the same time!
Replies: 0
Views: 10543

UART1 & UART2 at the same time!

I've built an mdl project using both UART1and2. Some times it is necessary to send two different data through serial port simultaneously. The project gets compiled successfully. However, I don't know how to call each UART through MATLAB to send data! Does any body know how to deal with this problem?...
by Saeed
Sat Mar 10, 2012 10:03 pm
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22866

Re: send and receive multiple data using GUI

Dear odedyech, Thank you. Although whenever I use send or receive package in MATLAB I get error (I think its related to the MATLAB version), but fwrite/fread works. But, the problem still exits :( See, suppose you have measured the weather degree of a place during one month and you have 15000 sample...
by Saeed
Sat Mar 10, 2012 7:30 pm
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22866

Re: send and receive multiple data using GUI

Hello odedyech, Thank you, you are right! Finally I accomplished to send and receive single data (A=1) through rs232 . As you suggested I used fwrite/fread MATLAB commands and now I have a good understanding of the procedure. I uploaded an mdl file, the goal is to send a series of data from MATLAB w...
by Saeed
Wed Mar 07, 2012 1:13 am
Forum: Website
Topic: MATLAB to Explorer Board through USB
Replies: 0
Views: 8708

MATLAB to Explorer Board through USB

Explorer 16 demo board has intrinsically 2 microchips PICs. One of which is a 16 bit dcPIC33FJ or dcPIC24 and the other is a permanent 8bit microcontroller (PIC18F) to establish SPI, ICSP and JTAG to USB connection. Does any body have any experience in interfacing MATLAB to 16 bit dcPIC on explorer ...
by Saeed
Tue Mar 06, 2012 1:03 pm
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22866

Re: send and receive multiple data using GUI

Dear Oded, Thank you for your support. It is appreciating. How ever, I did as you explained. But there is something wrong when the packet target begins to connect to the board. Although I succeeded to read data from the board through rs232 in MATLAB in another project suggesting that my cable connec...
by Saeed
Tue Mar 06, 2012 1:40 am
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22866

Re: send and receive multiple data using GUI

Hello to you dear odedyech, I am realy thankful for your kind well organised reply. Your advices are really fascinating! :D I tried your first proposed method. However, it didn't work. I tried to send a variable with unit value (say, A=1) by "fwrite" function. If this transmission was succesful, the...
by Saeed
Tue Mar 06, 2012 1:26 am
Forum: dsPIC Peripherals
Topic: Correct use of UART peripheral
Replies: 1
Views: 7064

Re: Correct use of UART peripheral

Flex Board Blinking LED example among the presented examples of the wikki may help you through this.
by Saeed
Wed Feb 29, 2012 11:28 pm
Forum: General Remark and Questions
Topic: send and receive multiple data using GUI
Replies: 9
Views: 22866

Re: send and receive multiple data using GUI

Hello there,
Would you please tell me how to build a simulink model where a user-defiend-type data is read from MATLAB workspace into the dsPIC demo board through UART peripheral and rs232 connection?
And what are the limitations in this regard!?
by Saeed
Wed Feb 22, 2012 2:11 pm
Forum: General Remark and Questions
Topic: Begin with dsPIC and LCD screen
Replies: 4
Views: 15058

Re: Begin with dsPIC and LCD screen

Hi,
Could you please tell me how to use simulink to command the LCD of explorer 16 to display a desired text?
by Saeed
Thu Feb 09, 2012 1:28 pm
Forum: bug reports
Topic: Typing Error!
Replies: 1
Views: 7815

Typing Error!

Plz see the attachment!