Author |
Message |
Topic: MCP45HVX1 I2C Addressing |
ccsfred
Replies: 14
Views: 26088
|
Forum: General CCS C Discussion Posted: Thu Dec 14, 2017 4:55 am Subject: You guys are awesome! |
Thanks so much Ttelmah & temtronic, you are quite correct! It now works perfectly, saving me from a "work around" and hacking my new board.
Thanks again! |
Topic: MCP45HVX1 I2C Addressing |
ccsfred
Replies: 14
Views: 26088
|
Forum: General CCS C Discussion Posted: Wed Dec 13, 2017 10:16 am Subject: MCP45HVX1 Rev. A1 Silicon/Data Sheet Errata |
Module: I2C™ Interface The MCP45HVX1 interface will accept the serial data that was intended for other devices on the I2C™ bus. This occurs when the other device on the same I2C bus Acknowledges t ... |
Topic: MCP45HVX1 I2C Addressing |
ccsfred
Replies: 14
Views: 26088
|
Forum: General CCS C Discussion Posted: Wed Dec 13, 2017 10:04 am Subject: MCP45HVX1 I2C Addressing |
Thanks,
My dspic33fj256mc710a is on 3V3.
The MCP45HV51's VL is on 5v, V+ is +15V, V- is -15V
I2C bus is approx. 4" long with only two digipots on there. 4K7 pullups to 5V at digipot end, SCL2 ... |
Topic: MCP45HVX1 I2C Addressing |
ccsfred
Replies: 14
Views: 26088
|
Forum: General CCS C Discussion Posted: Wed Dec 13, 2017 9:27 am Subject: MCP45HVX1 I2C Addressing |
Yes sorry I have the MCP45HV51 |
Topic: MCP45HVX1 I2C Addressing |
ccsfred
Replies: 14
Views: 26088
|
Forum: General CCS C Discussion Posted: Wed Dec 13, 2017 7:24 am Subject: MCP45HVX1 I2C Addressing |
I use the I2C Scanner and found both my chips at address 0x78 & 0x7A as expected, but I still cannot get communicate to them successfully yet.
Mine is the H version so uses the 7.
So my code ... |
Topic: MCP45HVX1 I2C Addressing |
ccsfred
Replies: 14
Views: 26088
|
Forum: General CCS C Discussion Posted: Tue Dec 12, 2017 10:38 am Subject: MCP45HVX1 I2C Addressing |
Hi Temtronic,
Thanks for reply.
Yes I have 4K7 pullups.
Haven't heard of this scanner before, so will check that out!
Regards
James |
Topic: MCP45HVX1 I2C Addressing |
ccsfred
Replies: 14
Views: 26088
|
Forum: General CCS C Discussion Posted: Tue Dec 12, 2017 10:13 am Subject: MCP45HVX1 I2C Addressing |
Hi There,
I'm using a pair of MCP45HVX1 digi-pots on my board, each one works fine if I use the address byte as 0x00. Neither work if I set it to what the datasheet says, 0x78 for A1=0:A0 = 0 or 0x ... |
Topic: Best way to multitasking |
ccsfred
Replies: 19
Views: 40312
|
Forum: General CCS C Discussion Posted: Tue Oct 24, 2017 9:55 am Subject: Best way to multitasking |
Hi Guy,
I'm using a dspic33fj256mc710A, thanks I shall read up about DMA not used before! |
Topic: Best way to multitasking |
ccsfred
Replies: 19
Views: 40312
|
Forum: General CCS C Discussion Posted: Wed Oct 18, 2017 9:43 am Subject: Best way to multitasking |
Thanks for the advice, which caused me to rethink what I'm doing. I've now linked the CH A & B of encoder from the motion board to the analogue board, so I can read in hardware into the QEI and wo ... |
Topic: Best way to multitasking |
ccsfred
Replies: 19
Views: 40312
|
Forum: General CCS C Discussion Posted: Tue Oct 17, 2017 10:13 am Subject: Best way to multitasking |
Dear Guru's,
Linked to my previous question, I now need a solution for the incoming encoder position, as the rate of data coming in when moving LVDT faster is putting my S & H timing off. I've ... |
Topic: Best way to multitasking |
ccsfred
Replies: 19
Views: 40312
|
Forum: General CCS C Discussion Posted: Mon Oct 16, 2017 9:53 am Subject: Best way to multitasking |
Thanks Ttelmah, I used the ex_stisr.c example and reducing the serial string as you suggested, I can see on the scope it's working. I just need to amend the c# code to decode the new hex string and ho ... |
Topic: Best way to multitasking |
ccsfred
Replies: 19
Views: 40312
|
Forum: General CCS C Discussion Posted: Mon Oct 16, 2017 7:32 am Subject: Best way to multitasking |
Hi,
I'm writing some code to measure a LVDT's output over stroke.
Working:
* Excitation frequency generation & voltage adjustment
* Two channel Sample and hold
* Serial commands to set V &a ... |
Topic: Updating project - Fuse problems |
ccsfred
Replies: 5
Views: 13930
|
Forum: General CCS C Discussion Posted: Wed Aug 30, 2017 7:12 am Subject: Updating project - Fuse problems |
I see, so remove them I shall!
Thanks again Ttelmah! |
Topic: Updating project - Fuse problems |
ccsfred
Replies: 5
Views: 13930
|
Forum: General CCS C Discussion Posted: Wed Aug 30, 2017 6:08 am Subject: Updating project - Fuse problems |
Hi Ttelmah,
Yes chip would be a good idea DSPIC30F2012, old V4.078, new 5.072.
Thanks |
Topic: Updating project - Fuse problems |
ccsfred
Replies: 5
Views: 13930
|
Forum: General CCS C Discussion Posted: Wed Aug 30, 2017 5:33 am Subject: Updating project - Fuse problems |
Hi There,
I'm updating an old project from old unknown ccs version, and there are some fuses which I cannot find a new version of, I've looked through the help file and the device header file, can ... |
|