Author |
Message |
Topic: No working UART code with CCS PIC C Compiler |
lloureiro
Replies: 6
Views: 15004
|
Forum: General CCS C Discussion Posted: Mon Apr 04, 2016 1:31 am Subject: No working UART code with CCS PIC C Compiler |
Yes, i have a similar transceiver, a TTl-USB Serial cable.
And i will read Datasheet and think about use external oscilator.
Thanks. |
Topic: No working UART code with CCS PIC C Compiler |
lloureiro
Replies: 6
Views: 15004
|
Forum: General CCS C Discussion Posted: Sun Apr 03, 2016 6:38 pm Subject: No working UART code with CCS PIC C Compiler |
I and uart wasn't made one to other.
i did this code with compiler:
#include <16F886.h>
#FUSES PUT //Power Up Timer
#FUSES NOBROWNOUT //No brownout reset ... |
Topic: Strange pic16f886 usart problem |
lloureiro
Replies: 1
Views: 6960
|
Forum: General CCS C Discussion Posted: Sun Apr 03, 2016 12:50 pm Subject: Strange pic16f886 usart problem |
Hello, I'm using pic 16f886 to produce uart output. It looks good in uart terminal, but not good at rs232 terminal, i got strange chars.
#include <16f886.h>
#include "../h/spi.h"
... |
Topic: CCS SPI functions |
lloureiro
Replies: 13
Views: 51439
|
Forum: General CCS C Discussion Posted: Fri Sep 21, 2012 2:38 am Subject: 3 wire vs 4 wire |
Good morning.
I'm a little confused now. I saw that pic16f886 supports 3 wire spi.
http://ww1.microchip.com/downloads/en/DeviceDoc/41291D.pdf
But when I look at mssp diagram, it have SDO and ... |
Topic: CCS SPI functions |
lloureiro
Replies: 13
Views: 51439
|
Forum: General CCS C Discussion Posted: Thu Sep 20, 2012 6:33 am Subject: CCS SPI functions |
Right not exactly 3v, but 3.3V |
Topic: CCS SPI functions |
lloureiro
Replies: 13
Views: 51439
|
Forum: General CCS C Discussion Posted: Thu Sep 20, 2012 5:53 am Subject: CCS SPI functions |
Hello ckielstra
i purchased one made on sparkfun:
Triple Axis Accelerometer Breakout - ADXL345
https://www.sparkfun.com/products/9836
It is connected to pin 14 of adxl345.
The problem is ... |
Topic: CCS SPI functions |
lloureiro
Replies: 13
Views: 51439
|
Forum: General CCS C Discussion Posted: Thu Sep 20, 2012 1:51 am Subject: CCS SPI functions |
Hello,
I change my code, and now it is:
//init
#define ACC1_SELECT PIN_C0
#define ADXL345_ADDR_WRITE 0xA6
#define ADXL345_ADDR_READ 0xA7
...
setup_oscillator ... |
Topic: CCS SPI functions |
lloureiro
Replies: 13
Views: 51439
|
Forum: General CCS C Discussion Posted: Wed Sep 19, 2012 5:44 am Subject: not the firts and not the last... |
...but i searched i didn't found a problem like my problem
Thanks |
Topic: CCS SPI functions |
lloureiro
Replies: 13
Views: 51439
|
Forum: General CCS C Discussion Posted: Wed Sep 19, 2012 3:31 am Subject: CCS SPI functions |
Hello to everyone.
I'm new using CCS SPI library and i have one question:
after using setup_spi, spi is ready to use?
no more settings?
I´m using pic16f886 to read ADXL345 values but ge ... |
|