Search found 5 matches

by Stefano
Sat Nov 08, 2008 12:35 pm
Forum: General Remark and Questions
Topic: dsPIC & MCP23017 using I2C
Replies: 5
Views: 3478

Re: dsPIC & MCP23017 using I2C

Thanks Lubin for your answer. In these days I have tryed to solve the communication problem, and finally I have solved it! I have used the string that you have suggested (S A W Sr A Rnack P) where: A = 7bit I2C addres of MCP23017 + LSB bit set to 0 (write instruction) W = register address to read fr...
by Stefano
Fri Oct 31, 2008 2:35 pm
Forum: General Remark and Questions
Topic: dsPIC & MCP23017 using I2C
Replies: 5
Views: 3478

dsPIC & MCP23017 using I2C

Hi, I'm trying to use a dsPIC30F4011 to communicate via I2C with a MCP23017 (a 16-bit I/O port expander) but I have not fully understood how to setup the communication using the "I2C Bus Master" block. In order to read from a specific register of the MCP23017 the datasheet specifies this c...
by Stefano
Thu Jun 12, 2008 10:18 pm
Forum: dsPIC Peripherals
Topic: Using 2 UART
Replies: 3
Views: 2350

Re: Using 2 UART

Thanks Lubin for the fast new release… I will try it as soon as I come back to my office…
by Stefano
Wed Jun 11, 2008 1:37 pm
Forum: General Remark and Questions
Topic: does not appear Interface tx-Matlab
Replies: 3
Views: 2161

Re: does not appear Interface tx-Matlab

I have the same problem. In the "Simulink library browser" -> "Embedded Target for Microchip dsPIC" -> "Serial port" the "Interface Tx-Matlab" block is not visible, even if the Matlab command "rs232gui" works fine. To use the "Interface Tx-Matla...
by Stefano
Wed Jun 11, 2008 1:26 pm
Forum: dsPIC Peripherals
Topic: Using 2 UART
Replies: 3
Views: 2350

Using 2 UART

Hi, I need to use two UARTs to communicate with the serial port of a pc and with the serial port of a DC motor controller. For this purpose I'm using a dsPIC30F3011 which has one UART1, one UART1 Alternative and one UART2. Unfortunately I'm having this problems: 1) In the dsPIC toolbox the dsPIC30f3...

Go to advanced search