Search found 12 matches

by alpert
Tue Mar 27, 2012 7:16 am
Forum: dsPIC Peripherals
Topic: Wrong I2C output on UDB4 board
Replies: 2
Views: 2590

Re: Wrong I2C output on UDB4 board

Hi Lubin, Thank you for your answer. It looks like this problem is related to the configuration bits. Mybe, from some resone, your I2C block is not configure the registers properly. It's very strange that it works fine on dsPIC 33FJ256 FC 710 (Gluon-Pilot's board) , which is not so different from th...
by alpert
Fri Feb 10, 2012 7:03 pm
Forum: General Remark and Questions
Topic: installation problems windows 7 64 bits
Replies: 4
Views: 5023

Re: installation problems windows 7 64 bits

Guinness!!! I had the same problem. I have tried everything to solve it, but i didn't realize that the problem is not in MATLAB. After i download "Microsoft Visual C++ 2010 Redistributable Package (x64)" all the problems have been solved. this is the link for the latest version for 64bit systems: ht...
by alpert
Thu Feb 09, 2012 5:38 pm
Forum: dsPIC Peripherals
Topic: Wrong I2C output on UDB4 board
Replies: 2
Views: 2590

Wrong I2C output on UDB4 board

Hello, I'm trying to use the I2C on UDB4 board with Lubin's Block-set. I've done this on to other boards (with dsPIC30 and dsPIC33) and it had worked perfectly. Unfortunately, when I'm trying it on UDB4 board (with dsPIC33fj256GP710a) the I2C signal that i get is very strange. This is how I2C signal...
by alpert
Thu Feb 09, 2012 4:31 pm
Forum: dsPIC Peripherals
Topic: I2C problem on UDB4 board
Replies: 1
Views: 1737

Re: I2C problem on UDB4 board

OK. Problem solved after clicking on "Erase flash device" in MPLAB. Mybe the problem has occur because the MPLAB's programer set to "Allow PICkit 3 to select memories and ranges" and from some reason it didn't update all the registers (Lubin, is it a possible explanation?) Now there is another probl...
by alpert
Wed Jan 25, 2012 7:35 pm
Forum: dsPIC Peripherals
Topic: I2C problem on UDB4 board
Replies: 1
Views: 1737

I2C problem on UDB4 board

Hello Lubin, I'm using the Sparkfun's UDB4 board. I've tried to make his I2c to work and I bump into something strange. [ Before i'll continue, just for the protocol, I have already tested the I2C block on GlounPilot's board (dsPIC33fj256jMC710) and it worked fine ] . So, here is the problem: This b...
by alpert
Sun Jan 15, 2012 5:21 pm
Forum: bug reports
Topic: Problem with rs232gui
Replies: 12
Views: 7122

Re: Problem with rs232gui

Hello Lubin, You were absolutely right about the clock. Yesterday I've done the test that you suggested with the 1Hz led, and i realized that my configuration of the clock were wrong. After i fixed that everything worked fine. Thank you very much! You have done really grate job with your block set! ...
by alpert
Thu Jan 12, 2012 6:40 pm
Forum: bug reports
Topic: Problem with rs232gui
Replies: 12
Views: 7122

Re: Problem with rs232gui

Hello, I have done another test like you suggested. I've activated the PLL and I change the baud rate on the "UART Configuration" block, until i got in "Realterm" the same word that i've send from the simulink. I've found that i need to set the block to 202700bps if i want it to send in 115200bps. H...
by alpert
Thu Jan 12, 2012 2:19 pm
Forum: bug reports
Topic: Problem with rs232gui
Replies: 12
Views: 7122

Re: Problem with rs232gui

Hello, Bootloader for the UDB4 can be very useful ! I'm not familiar with the clock switching block. I'm not sure that i have it. Until now I have check the Gyros and the Accelerometers on that board and the works fine. I have a problem withe the I2C, but i still not sure what cause that problem. i ...
by alpert
Thu Jan 12, 2012 1:05 pm
Forum: bug reports
Topic: Problem with rs232gui
Replies: 12
Views: 7122

Re: Problem with rs232gui

Hi Lubin,
Thank you for your answer. I'll do some testing tomorrow morning.

I'm using now the sparkfun UDB4, but I have the same problem with the "Gluon Pilot" board.

Alpert.
by alpert
Tue Jan 03, 2012 6:05 pm
Forum: Advanced Simulink & RTW Questions
Topic: Problem of configuring a dspic with Simulink Blockset
Replies: 7
Views: 3761

Re: Problem of configuring a dspic with Simulink Blockset

hello, I have bump into a similar problem when I worked with dspic30. i have build a simple model that power a brushless motor using i2c. here is the model: ex6_i2c.mdl The HEX file couldn't been created by the matlab, but it succeed to generate the code. when i opened the mplab project and try to b...
by alpert
Tue Jan 03, 2012 5:29 pm
Forum: bug reports
Topic: Problem with rs232gui
Replies: 12
Views: 7122

Re: Problem with rs232gui

Hello Lubin, Thanks for your answer, and by the way, grate job with the blockset! I have done a lot of experiments, and eventually I've discovered the problem. I have done those steps: 1) I made a simple program (using your Simulink Blockset) that sand a constant number via the "Tx Output" block (no...
by alpert
Mon Dec 19, 2011 11:50 am
Forum: bug reports
Topic: Problem with rs232gui
Replies: 12
Views: 7122

Problem with rs232gui

Hello, I have a problem with the rs232gui that I'm trying to solve for a long time. I'm using a dspic30f4011, but i also tested it with dspic33fj256. when I'm trying to start the rs232gui, it stops immediately and show error in the command window. This is the model that I'm testing: ex7_uart.mdl (I'...