CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 51 matches
CCS Forum Index
Author Message
  Topic: MRF89XA
in_nursery

Replies: 2
Views: 8753

PostForum: General CCS C Discussion   Posted: Tue Feb 05, 2019 2:45 pm   Subject: MRF89XA
So voltage is 3.3V

after some small issue I check that I can read and write configuration on each.

but still no RX.

I change:
#fuses INTRC_IO
and
output_low(RESET); // reset pin
  Topic: MRF89XA
in_nursery

Replies: 2
Views: 8753

PostForum: General CCS C Discussion   Posted: Tue Feb 05, 2019 11:08 am   Subject: MRF89XA
Hi all
I make research on the forum with no luck. I'm stuck with a MRF89XA.

basic driver
MRF89XA.c

//////////////////////////////////////////////////////////////////////////
#include <MR ...
  Topic: SPI spi_xfer() Vs spi_write [Solved]
in_nursery

Replies: 13
Views: 28011

PostForum: General CCS C Discussion   Posted: Tue Feb 28, 2017 9:48 am   Subject: SPI spi_xfer() Vs spi_write [Solved]
Pic
http://www.microchip.com/wwwproducts/en/PIC24EP512GU810

datasheet
http://ww1.microchip.com/downloads/en/DeviceDoc/70616g.pdf
  Topic: SPI spi_xfer() Vs spi_write [Solved]
in_nursery

Replies: 13
Views: 28011

PostForum: General CCS C Discussion   Posted: Tue Feb 28, 2017 8:51 am   Subject: SPI spi_xfer() Vs spi_write [Solved]
oups sorry

It's a MRF24JM40A

1) yes I have a flashing led at each send (500 ms)
2) no only the MRF
3) everything running 3.3V
4) The MRF24J40 supports SPI (mode 0,0) which requires that SCK i ...
  Topic: SPI spi_xfer() Vs spi_write [Solved]
in_nursery

Replies: 13
Views: 28011

PostForum: General CCS C Discussion   Posted: Tue Feb 28, 2017 8:30 am   Subject: SPI spi_xfer() Vs spi_write [Solved]
thanks Ttelmah for this information.

My next step is to make it work a PIC24 (first time I use one)

this is what I try with no succes



#include <24EP512GU810.h>

#fuses NOJTAG ...
  Topic: SPI spi_xfer() Vs spi_write [Solved]
in_nursery

Replies: 13
Views: 28011

PostForum: General CCS C Discussion   Posted: Mon Feb 27, 2017 8:10 am   Subject: SPI spi_xfer() Vs spi_write [Solved]
I use a Pickit demo board with 18F45K20.

My final goal is the make the software SPI work.
I first try to update setup_SPI to use SPI with SPI hardware Pins.

so with
#USE SPI (SPI1, MASTER, ...
  Topic: SPI spi_xfer() Vs spi_write [Solved]
in_nursery

Replies: 13
Views: 28011

PostForum: General CCS C Discussion   Posted: Fri Feb 24, 2017 9:15 am   Subject: SPI spi_xfer() Vs spi_write [Solved]
I try to update it with
#USE SPI (MASTER, MODE=0, BITS=8, DI=PIN_C4, DO=PIN_C5, CLK=PIN_C3, ENABLE=PIN_B1, STREAM=XFER)

and still have the same problem

8Mhz clock.

With
#USE SPI &# ...
  Topic: SPI spi_xfer() Vs spi_write [Solved]
in_nursery

Replies: 13
Views: 28011

PostForum: General CCS C Discussion   Posted: Fri Feb 24, 2017 8:51 am   Subject: SPI spi_xfer() Vs spi_write [Solved]
Hi all

I want to port a working code using hardware SPI to another using sofware.

So I first try to use spi_xfer insteed of spi_write with hardware SPI.

I switch from setup spi to use spi
#U ...
  Topic: Const struct
in_nursery

Replies: 13
Views: 46431

PostForum: General CCS C Discussion   Posted: Mon Jun 20, 2016 5:45 am   Subject: Const struct
thanks PCM programmer for your time and support.
I will contact ccs.
  Topic: Const struct
in_nursery

Replies: 13
Views: 46431

PostForum: General CCS C Discussion   Posted: Mon May 30, 2016 6:24 am   Subject: Const struct
Hi Jay

Your right living the interrupt enable is not a good idea for my sample prog but it's not the cause of the problem I get.
As I told you I have no build error so I suppose it's a buggy versi ...
  Topic: Const struct
in_nursery

Replies: 13
Views: 46431

PostForum: General CCS C Discussion   Posted: Fri May 27, 2016 6:19 am   Subject: Const struct
Hi Jay

I made no change, if a build a version with 5.50 it works if a build a version 5.59 it doesn't.
  Topic: Const struct
in_nursery

Replies: 13
Views: 46431

PostForum: General CCS C Discussion   Posted: Fri May 27, 2016 5:52 am   Subject: Const struct
on a simple menu like on the example

My program used to scroll through the menu when the up/down keys
were pressed. But now it only shows the first menu. The up/down keys
do not cause it to scr ...
  Topic: Const struct
in_nursery

Replies: 13
Views: 46431

PostForum: General CCS C Discussion   Posted: Thu May 26, 2016 1:52 pm   Subject: Const struct
I use this https://www.ccsinfo.com/forum/viewtopic.php?p=123206 since a long time and it has always worked
  Topic: Const struct
in_nursery

Replies: 13
Views: 46431

PostForum: General CCS C Discussion   Posted: Thu May 26, 2016 11:12 am   Subject: Const struct
Hi all

I use this kind of code with older CCS compiler (<5.50) without any issue.
But with latest version 5.59 I get no error but the code is not working any more.

I point out the default a ...
  Topic: "GLCD Font Creator" code is correct ???
in_nursery

Replies: 10
Views: 40588

PostForum: General CCS C Discussion   Posted: Fri May 06, 2016 9:12 am   Subject: "GLCD Font Creator" code is correct ???
thanks PCM programmer

finally I get work with read_program_memory(mempointer, buffer, 1);
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group