Search found 5 matches
- Sat Nov 08, 2008 12:35 pm
- Forum: General Remark and Questions
- Topic: dsPIC & MCP23017 using I2C
- Replies: 5
- Views: 13758
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...
- Fri Oct 31, 2008 2:35 pm
- Forum: General Remark and Questions
- Topic: dsPIC & MCP23017 using I2C
- Replies: 5
- Views: 13758
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 communicati...
- Thu Jun 12, 2008 10:18 pm
- Forum: dsPIC Peripherals
- Topic: Using 2 UART
- Replies: 3
- Views: 24195
Re: Using 2 UART
Thanks Lubin for the fast new release… I will try it as soon as I come back to my office…
- Wed Jun 11, 2008 1:37 pm
- Forum: General Remark and Questions
- Topic: does not appear Interface tx-Matlab
- Replies: 3
- Views: 11023
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-Matlab" block I have to click with the right mouse button on...
- Wed Jun 11, 2008 1:26 pm
- Forum: dsPIC Peripherals
- Topic: Using 2 UART
- Replies: 3
- Views: 24195
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...