Author |
Message |
Topic: Disable Device ID checking during programming |
SvenBraun
Replies: 1
Views: 9873
|
Forum: General CCS C Discussion Posted: Thu Sep 15, 2016 12:43 pm Subject: Disable Device ID checking during programming |
Due to a seemingly-untrackable error, we are having issues with our PIC. Our PIC is mounted on an evaluation board.
The Device ID being read is not consistent, nor is it correct.
Instead of the ... |
Topic: Device ID not matching ID that CCSLOAD is reading |
SvenBraun
Replies: 19
Views: 63460
|
Forum: General CCS C Discussion Posted: Mon Apr 18, 2016 12:50 pm Subject: Device ID not matching ID that CCSLOAD is reading |
I'm bumping this topic, because I believe we have found an interesting answer.
So, my group received a replacement evaluation board. Due to other priorities, we never opened the package, as we ne ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Thu Apr 14, 2016 10:11 pm Subject: Software SPI |
I have a (most likely final) update for this thread.
So, we went back through the code and the set-up and found what we believe to be the issues:
WAV_CONFIG (0x27) was configured wrong for a s ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Wed Apr 13, 2016 5:59 pm Subject: Software SPI |
I do not have a readily-available schematic, since I've been building it on the board piece-by-piece.
I did take your suggestion, asmboy, and after double-checking the datasheet, I removed the USB ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Wed Apr 13, 2016 2:17 pm Subject: Software SPI |
asmboy: I believe the reason we chose this chip was due to the size of the DAC, specifically its resolution.
temtronic: I have my system set up between two boards. The first board has my PIC and su ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Tue Apr 12, 2016 5:47 pm Subject: Software SPI |
i've worked with DDS parts from AD a lot -
and not kidding when i say
i would never use that part just for sine output, lacking HUGE financial incentive. If you really have no choice, your work m ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Tue Apr 12, 2016 2:40 pm Subject: Software SPI |
Just noticed that there was a new response. I do have a new update:
I noticed that the registers are saving correctly. I verified all of the registers listed in my previous code post, and they are ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2016 6:49 pm Subject: Software SPI |
asmboy: I appreciate the attempts to help resolve my issue.
I went through AD's application notes yesterday, and likewise didn't see any help.
PCM programmer: Thanks for pointing that out. |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2016 11:48 am Subject: Software SPI |
I just noticed in Figure 33 that in 4-wire (which it defaults to), the reads are performed on the SDIO line, while the writes have the address on SDIO, and the data on SDO/SDI2/DOUT.
Is spi_xfer a ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Mon Apr 11, 2016 11:32 am Subject: Software SPI |
The AD9102 is required for this project.
I'm using a 20 MHz clock (single-ended), being sent to CLKP, with CLKN grounded via .1uF capacitor. |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Sun Apr 10, 2016 2:39 pm Subject: Software SPI |
as simple as i can say it
SPI_xfer will not work as YOU ARE USING it in part
depending on how you are connected re pins 1 and 7
since for some commands on combined SDIO you need to
switch TR ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Sun Apr 10, 2016 1:05 pm Subject: Software SPI |
before i go further
this
spi_xfer((addr[i] << 16) && val[i]);
does not MAKE SENSE ON SEVERAL COUNTS
1- YOU ARE NOT ASSIGNING THE OUTPUT OF SPI_ ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Sun Apr 10, 2016 12:03 pm Subject: Software SPI |
The data sheet issue i refer to is the single or double command possibility.
Are you referring to the Double SPI mode for SRAM?
Here is my program right now:
(the 32-bit writing was originall ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Sat Apr 09, 2016 8:30 pm Subject: Software SPI |
After reading the data sheet for the AD9102
i think you are going to have much education and entertainment
ahead of you in programming a driver using
code like this example.
spi_xfer( ((data& ... |
Topic: Software SPI |
SvenBraun
Replies: 38
Views: 79391
|
Forum: General CCS C Discussion Posted: Fri Apr 08, 2016 12:33 pm Subject: Software SPI |
Perfect, thank you! Now I can focus on programming the DDS. |
|