Author |
Message |
Topic: Ho do you specify an SPI address with spi_xfer - SOLVED |
NEW_GUY
Replies: 12
Views: 27378
|
Forum: General CCS C Discussion Posted: Thu Sep 20, 2012 2:38 am Subject: Ho do you specify an SPI address with spi_xfer - SOLVED |
Probably the following command you might have gone through,
spi_xfer(stream, data, bits);
The sequence of transmission of Data on perticular address would be:
- make sure, your SRAM operating m ... |
Topic: how to use program memory as data memory in pic16f877a |
NEW_GUY
Replies: 3
Views: 9347
|
Forum: General CCS C Discussion Posted: Thu Sep 13, 2012 4:20 am Subject: how to use program memory as data memory in pic16f877a |
You can use the following api provoded by the ccs compiler, you can refer them into the help..
write_bank (bank, offset, value)
value = read_bank (bank, offset)
Regards, |
Topic: Interrupt driven SPI with multiple slaves |
NEW_GUY
Replies: 2
Views: 5051
|
Forum: General CCS C Discussion Posted: Mon Sep 10, 2012 9:46 pm Subject: Interrupt driven SPI with multiple slaves |
Hello folks,
I am trying some impish things, but they really proper ways to study the protocols like SPI.
I am working with SPI which works fine with 1 slave at regular timer 0 1 msec interrupt, ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
NEW_GUY
Replies: 22
Views: 53610
|
Forum: General CCS C Discussion Posted: Wed Sep 05, 2012 11:24 pm Subject: MCP23S17 interfacing with SPI with controller PIC18F8722 |
I got my code working...
somehow with help of this forum...
There was the mistake in LCD commands, as it is not usual LCD from hitachi.
I am going to post my code here for the reference very so ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
NEW_GUY
Replies: 22
Views: 53610
|
Forum: General CCS C Discussion Posted: Tue Sep 04, 2012 12:57 am Subject: MCP23S17 interfacing with SPI with controller PIC18F8722 |
ah..now the light comes on ! The LCD is not attached to the PIC but rather to the SPI I/O expander chip.....( I downloaded the manual...)
I would suggest you download the MCP23S17 datasheet and see ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
NEW_GUY
Replies: 22
Views: 53610
|
Forum: General CCS C Discussion Posted: Mon Sep 03, 2012 10:23 pm Subject: MCP23S17 interfacing with SPI with controller PIC18F8722 |
Here's a thread where someone wrote an LCD driver for the C18 compiler
for that board:
http://www.microchip.com/forums/m423849.aspx
But if you're a newbie to the C language or to CCS, you're probab ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
NEW_GUY
Replies: 22
Views: 53610
|
Forum: General CCS C Discussion Posted: Mon Sep 03, 2012 2:31 am Subject: MCP23S17 interfacing with SPI with controller PIC18F8722 |
First do not try to get the MCP working yet...your priority is to get the LCD 'up and running'.
Post the manufacturer / make/model info of the development board or a link to it.
Did the board co ... |
Topic: MCP23S17 interfacing with SPI with controller PIC18F8722 |
NEW_GUY
Replies: 22
Views: 53610
|
Forum: General CCS C Discussion Posted: Fri Aug 31, 2012 4:42 am Subject: MCP23S17 interfacing with SPI with controller PIC18F8722 |
Hi guys,
I am wondering if anyone could help me in my problem,
- There is a driver provided by the CCS compiler for MCP23S17. I am not sure how to use it for communication on SPI.
- Also the ... |
|