Author |
Message |
Topic: Problems using dspic33e |
asdf85
Replies: 0
Views: 3951
|
Forum: General CCS C Discussion Posted: Tue Sep 04, 2012 5:11 am Subject: Problems using dspic33e |
Hi,
I have 2 problems i'm facing using the dspic33EP64MC502.
Firstly, I'm using the ccs compiler version 4.130
My first problem is that I'm unsure how to set the clock. According to the datas ... |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Fri Feb 03, 2012 2:53 am Subject: Getting Windows to recognize USB connection |
Thanks Ttelmah. I was on a long break. Anway this helps my understanding better.
So if I use a 20MHz crystal, I must set PLL5. Then at the #USE DELAY, do I write it as #USE DELAY(clock=48MHz) even ... |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Fri Jan 20, 2012 3:15 am Subject: Getting Windows to recognize USB connection |
Hmm. In that case do I use a 4MHz crystal? And if I do, should my clock statement be 16MHz since Im running PLL? Actually I dont know much about PLL, just that i think it multiplies the crystal freque ... |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Thu Jan 19, 2012 2:35 am Subject: Getting Windows to recognize USB connection |
These 2 fuses you mentioned, aren't among the list of fuses for the 18f25j50. How do I go about to turning it on in that case? |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Thu Jan 19, 2012 2:17 am Subject: Getting Windows to recognize USB connection |
Thats strange...I just realised a simple program to send a byte over rs232 also doesn't work with this chip. And I've used rs232 many times with other chips. It just hangs when it reaches the putc or ... |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Wed Jan 18, 2012 11:19 pm Subject: Getting Windows to recognize USB connection |
Also, should the 'usb_task()' function automatically get the usb connection enumerated? Or is there something else I need to add after that?
And, does the D+ and D- lines have to be pulled up or do ... |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Wed Jan 18, 2012 6:51 pm Subject: Getting Windows to recognize USB connection |
I've tried using just usb_init(). And also the cdcntxpvista.inf driver. It still doesnt work. Windows says it 'found driver software for your software but encountered an error while attempting to inst ... |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Wed Jan 18, 2012 1:17 am Subject: Getting Windows to recognize USB connection |
Normally when I try installing the cdc9Xpt1.inf file as its driver, it does show 'usb to rs232'. But when i click next to install, it says 'windows encountered a problem installing the driver for your ... |
Topic: Getting Windows to recognize USB connection |
asdf85
Replies: 13
Views: 12346
|
Forum: General CCS C Discussion Posted: Wed Jan 18, 2012 12:27 am Subject: Getting Windows to recognize USB connection |
Hi,
I've been trying for days now trying to get windows to recognize my usb connection but all i keep getting is a 'usb device not recognized message'.
I just need to be able to transfer data thro ... |
Topic: usb interfacing from pic to PC |
asdf85
Replies: 15
Views: 41971
|
Forum: General CCS C Discussion Posted: Thu Jan 12, 2012 9:35 pm Subject: usb interfacing from pic to PC |
When I try updating the driver with the 'CDC_NTXPVista.inf' once windows states ' usb device not recognized', it does show 'USB to rs232' in the update driver screen. However when i click next to inst ... |
Topic: usb interfacing from pic to PC |
asdf85
Replies: 15
Views: 41971
|
Forum: General CCS C Discussion Posted: Wed Jan 11, 2012 11:46 pm Subject: usb interfacing from pic to PC |
I've been trying to get the PC to recognize the USB connection with my pic, but all the examples I try doesn't work.
I'm using a pic18f25j50 with a 20Mhz crystal, trying to connect to windows 7. M ... |
Topic: Is it possible to use the UART for 18 bit frames? |
asdf85
Replies: 19
Views: 19869
|
Forum: General CCS C Discussion Posted: Wed Jan 11, 2012 12:20 am Subject: Is it possible to use the UART for 18 bit frames? |
Thanks for all the feedback |
Topic: Is it possible to use the UART for 18 bit frames? |
asdf85
Replies: 19
Views: 19869
|
Forum: General CCS C Discussion Posted: Mon Jan 09, 2012 7:51 pm Subject: Is it possible to use the UART for 18 bit frames? |
I managed to find the link to the datasheet of a very similar model M0006890K. The one I'm gonna use is the M0006890C.
http://db.sanyodenki.co.jp/downfile/manuals_en/SANMOTION/M0006890.pdf
Look ... |
Topic: Is it possible to use the UART for 18 bit frames? |
asdf85
Replies: 19
Views: 19869
|
Forum: General CCS C Discussion Posted: Sun Jan 08, 2012 7:42 pm Subject: Is it possible to use the UART for 18 bit frames? |
asmboy, I'm not sure what do you mean by opaque and non iluminating. The device is an absolute encoder.
So Ttelmah and FVM, the suggested way to do this is by using a FPGA? Looks like I have some ... |
Topic: Is it possible to use the UART for 18 bit frames? |
asdf85
Replies: 19
Views: 19869
|
Forum: General CCS C Discussion Posted: Fri Jan 06, 2012 3:08 am Subject: Is it possible to use the UART for 18 bit frames? |
I need to communicated with a device at 4Mbps and each of its frames are 18 bits long including the start and stop bits.
Can this be done? |
|