Author |
Message |
Topic: USART to SPI Bridge issues |
myloudharim
Replies: 10
Views: 24180
|
Forum: General CCS C Discussion Posted: Thu Mar 25, 2021 5:06 pm Subject: USART to SPI Bridge issues |
i did not wanna use software SPI ......#use SPI(xxx) |
Topic: USART to SPI Bridge issues |
myloudharim
Replies: 10
Views: 24180
|
Forum: General CCS C Discussion Posted: Thu Mar 25, 2021 5:03 pm Subject: USART to SPI Bridge issues |
Thanks Ttemah for your answer,.....take care |
Topic: USART to SPI Bridge issues |
myloudharim
Replies: 10
Views: 24180
|
Forum: General CCS C Discussion Posted: Thu Mar 25, 2021 4:58 pm Subject: CCS_16F876_UART_SPI_BRIDGE ISSUES SOLVED |
Hello, hopefully everyone is okay, recently i had an issue with this little project UART SPI BRIDGE so my receive interruption stops each time i m using #SPI(xxx)...well no i have it working to day so ... |
Topic: USART to SPI Bridge issues |
myloudharim
Replies: 10
Views: 24180
|
Forum: General CCS C Discussion Posted: Fri Mar 19, 2021 8:51 pm Subject: UART and SPI Bridge issues |
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8, ERRORS)
#use SPI (SPI1, FORCE_HW, MASTER, baud = 9600, DO = PIN_C5, DI = PIN_C4 , CLK = PIN_C3, LSB_FIRST, BITS = 8, Mode = ... |
Topic: USART to SPI Bridge issues |
myloudharim
Replies: 10
Views: 24180
|
Forum: General CCS C Discussion Posted: Fri Mar 19, 2021 8:47 pm Subject: USART to SPI Bridge issues |
here i modify these following two lines:
#use rs232(baud=9600,parity=N,xmit=PIN_C6,rcv=PIN_C7,bits=8, ERRORS)
#use SPI (SPI1, FORCE_HW, MASTER, baud = 100000, DO = PIN_C5, DI = PIN_C4 ... |
Topic: USART to SPI Bridge issues |
myloudharim
Replies: 10
Views: 24180
|
Forum: General CCS C Discussion Posted: Fri Mar 19, 2021 10:47 am Subject: USART to SPI Bridge issues |
Thanks for your time. Here are the fuses and device:
#include <16F876.h>
#device adc=8
#FUSES NOWDT //No Watch Dog Timer
#FUSES XT //Crystal osc ... |
Topic: Using MFRC522 RFID Reader with PIC16F877 |
myloudharim
Replies: 17
Views: 130652
|
Forum: Code Library Posted: Thu Mar 18, 2021 10:55 pm Subject: Using MFRC522 RFID Reader with PIC16F877 |
Did you correct spi write function?
void spi_write(byte value )
{
SSPBUF = dat;
}
Should be
void spi_write(byte value )
{
SSPBUF = value;
... |
Topic: USART to SPI Bridge issues |
myloudharim
Replies: 10
Views: 24180
|
Forum: General CCS C Discussion Posted: Thu Mar 18, 2021 6:30 pm Subject: USART to SPI Bridge issues |
Hello everybody hopefully you guys doing alright. I'm trying to realize a UART to SPI Bridge but unfortunately my code failed. The thing is UART and SPI work great separately but when to combine them ... |
Topic: LCD2x16 Custom Character does not work |
myloudharim
Replies: 2
Views: 11687
|
Forum: General CCS C Discussion Posted: Sat Dec 19, 2020 9:15 pm Subject: LCD2x16 Custom Character does not work |
Hello everyone, i wanna try replicate and display custom character on a 2x16 lcd. I inspired from some examples shared by members of view topic
but without success, all of examples i saw are not work ... |
Topic: Problems Receiving Strings using serial port |
myloudharim
Replies: 2
Views: 11045
|
Forum: General CCS C Discussion Posted: Fri Nov 17, 2017 10:19 am Subject: Problems Receiving Strings using serial port |
Hi, I'm new here, i would like to post my problem and hope to find help
so that everybody will take advantage from that.
I'm having troubles receiving string using 16f876. I used a usb to serial c ... |
|