Author |
Message |
Topic: Regarding using TWO software SPI |
GAGAN
Replies: 10
Views: 22328
|
Forum: General CCS C Discussion Posted: Wed Aug 31, 2016 10:42 am Subject: Regarding using TWO software SPI |
Thank you for your feedback,,,
1-How do I set the baud rate in #use spi ( ) so that I can run my spi @ a clock rate of <50 MHz ?
2-by using software spi, when I check my output the data is delay ... |
Topic: Regarding using TWO software SPI |
GAGAN
Replies: 10
Views: 22328
|
Forum: General CCS C Discussion Posted: Wed Aug 31, 2016 7:08 am Subject: Regarding using TWO software SPI |
Hi,
I am trying to transfer 32 data in one transaction so i mentioned #use spi(MASTER, SPI1, BAUD=10000, BITS=32, Stream=HW_SPI1, MODE=0) and using this function to transfer spi_xfer(HW_SPI1, 0X00120 ... |
Topic: Regarding using TWO software SPI |
GAGAN
Replies: 10
Views: 22328
|
Forum: General CCS C Discussion Posted: Wed Aug 31, 2016 5:01 am Subject: Regarding using TWO software SPI |
thanks for your Suggestion,,, |
Topic: Regarding using TWO software SPI |
GAGAN
Replies: 10
Views: 22328
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2016 10:26 pm Subject: Regarding using TWO software SPI |
and What is the significance of SETUP_SPI(options) ? In which case i should use ?? Do i have to make use of #USE SPI () or SETUP_SPI() in order to setup my SPI?? |
Topic: Regarding using TWO software SPI |
GAGAN
Replies: 10
Views: 22328
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2016 10:14 pm Subject: Regarding using TWO software SPI |
Thank you for your reply
and can it be possible to send 32 bit data in one transaction like spi_xfer(0xFFFF,software_SPI1,32) ?
So what argument should i follow to set #use spi, Setup_SPI() and spi_ ... |
Topic: Regarding using TWO software SPI |
GAGAN
Replies: 10
Views: 22328
|
Forum: General CCS C Discussion Posted: Tue Aug 30, 2016 6:48 am Subject: Regarding using TWO software SPI |
Hi, I am using PIC24HJ256GP210A and i want to implement TWO SOFTWARE SPI and TWO HARDWARE SPI.
For HARDWARE SPI in order to write we have SPI_WRITE()-For SPI1 and SPI_WRITE2()- For SPI2 builtin fucti ... |
Topic: Compilation error in SPI MODE 3 and MODE 0 |
GAGAN
Replies: 3
Views: 8171
|
Forum: General CCS C Discussion Posted: Thu Aug 18, 2016 6:28 am Subject: Compilation error in SPI MODE 3 and MODE 0 |
Thank you for your feedback. |
Topic: Compilation error in SPI MODE 3 and MODE 0 |
GAGAN
Replies: 3
Views: 8171
|
Forum: General CCS C Discussion Posted: Wed Aug 17, 2016 10:26 pm Subject: Compilation error in SPI MODE 3 and MODE 0 |
Hi, am using PIC24HJ series and trying to implement SPI interface in my application.
Iam finding a problem while compiling a code which specifies as UNIDENFIED IDENTIFIER SPI_XMIT_L_TO_H
i want SPI ... |
Topic: PIC24 series oscillator configuration setup |
GAGAN
Replies: 4
Views: 10338
|
Forum: General CCS C Discussion Posted: Wed Aug 10, 2016 6:30 am Subject: PIC24 series oscillator configuration setup |
-Kindly explain the significance of #USE delay()..?
-What are argument supported by #USE delay()..?
-How does it affect the CPU clock speed and delay generation...?
-I want to generate 100 nsec del ... |
|