Author |
Message |
Topic: Driver for ITG3200 digital gyroscope |
simonspt
Replies: 2
Views: 12323
|
Forum: General CCS C Discussion Posted: Sun Mar 04, 2012 6:45 pm Subject: Driver for ITG3200 digital gyroscope |
thanks! i read the datasheet and noticed the NACK but i forgot to put it in those functions!
only in itg3200_get_data() it's present
sorry for that! i'll correct them immediately |
Topic: Driver for ITG3200 digital gyroscope |
simonspt
Replies: 2
Views: 12323
|
Forum: General CCS C Discussion Posted: Sun Mar 04, 2012 6:21 pm Subject: Driver for ITG3200 digital gyroscope |
Hi there!
I was planning to build a board with an ITG3200 gyroscope and some other sensors. I noticed that there isn't a complete driver for this gyroscope, so I decided to write my own driver based ... |
Topic: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
simonspt
Replies: 5
Views: 6088
|
Forum: General CCS C Discussion Posted: Sat Feb 18, 2012 7:17 am Subject: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
thanks for the help |
Topic: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
simonspt
Replies: 5
Views: 6088
|
Forum: General CCS C Discussion Posted: Sat Feb 18, 2012 7:02 am Subject: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
You're so right!!!! :( I didn't know that! I checked the datasheet of my crystals and it says "operating mode 3rd overtone" that's why...
thanks so much for your explanation, i'll change ... |
Topic: Question about bootloaders |
simonspt
Replies: 5
Views: 6490
|
Forum: General CCS C Discussion Posted: Fri Feb 17, 2012 1:57 pm Subject: Solved! |
Ok I found the error! I didn't add the #ORG line to reserve memory for the bootloader, so every time I was compiling my application, the bootloader segment was overwritten..
now I added #ORG LOADER_A ... |
Topic: Question about bootloaders |
simonspt
Replies: 5
Views: 6490
|
Forum: General CCS C Discussion Posted: Fri Feb 17, 2012 11:22 am Subject: Question about bootloaders |
I think the problem isn't the hex file itself, but is in the bootloader source code..
when i goto to LOADER_ADDR from my application, the "real_load_program" routine hangs here:
for ... |
Topic: Question about bootloaders |
simonspt
Replies: 5
Views: 6490
|
Forum: General CCS C Discussion Posted: Fri Feb 17, 2012 6:44 am Subject: Question about bootloaders |
Thanks for your explanation! I tried using the loader_pcd.c that comes with ccs compiler, but when I call the bootloader from my application, it seems to hang when erasing the flash memory. After that ... |
Topic: Question about bootloaders |
simonspt
Replies: 5
Views: 6490
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2012 6:21 pm Subject: Question about bootloaders |
Hi there!
I built up a pcb with a rs232 link and a dsPIC33 .. now i would like to program the mcu with a bootloader and the rs232 link
here's come the dumb question...
do i have to include the bo ... |
Topic: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
simonspt
Replies: 5
Views: 6088
|
Forum: General CCS C Discussion Posted: Thu Feb 16, 2012 6:03 pm Subject: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
I tried to setup the internal fast rc oscillator like this:
#FUSES WPRES32 //Watch Dog Timer PreScalar 1:32
#FUSES WPOSTS1 //Watch Dog Timer PostScalar 1: ... |
Topic: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
simonspt
Replies: 5
Views: 6088
|
Forum: General CCS C Discussion Posted: Sun Feb 12, 2012 5:02 pm Subject: [SOLVED] Oscillator setup on dsPIC33FJ128GP202 |
Hi everybody!
I need help to setup the oscillator on my board. I'm using a dsPIC33FJ128GP202 with 40mhz crystal, 22pf load caps, and 1Mohm parallel resistor (as suggested in the datasheet).
I'm ... |
|