Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
April 24, 2019, 11:32:04 23:32


Login with username, password and session length


Pages: [1] 2 3 4 5 6 7 8 ... 10
 1 
 on: Today at 05:59:22 AM 
Started by Carlitos - Last post by microcar
Thank you for invitation. Registration is done.



Note: This message sent by the system behalf of microcar.

 2 
 on: Today at 05:01:49 AM 
Started by metal - Last post by Manuel
Did not investigated digging compiled but 2.05 is anyway bigger than 2.00 in both code and vars generation.

Then in 2.00 or previous the optimizer used to remove unused vars, the 2.05 leave them in.

Quite odd in this.

Those facts noted with Pic15F323 just for your interest...

Does anyone noticed this ?

X!

 3 
 on: Today at 02:59:47 AM 
Started by Carlitos - Last post by pickit2
This member is invited by me. Registration isn't completed yet.


Note: This message sent by the system behalf of pickit2.

 4 
 on: Yesterday at 11:56:32 PM 
Started by Carlitos - Last post by Carlitos
CountryMexico
Sitewww.youtube.com/channel/UCr4v5a1kT5qK5zG-Jeugs6w
NoteHi everyone. I am an electronics engineer. I live in Mexico and I like to share knowledge, for that reason I am a university teacher and sometimes I publish some videos of my projects or electronics basics in youtube. My hobby are robotics, microcontrollers and all electronics around them.

 5 
 on: April 22, 2019, 03:17:12 03:17 
Started by Zulea - Last post by zulea
Thank you for invitation. Registration is done.



Note: This message sent by the system behalf of zulea.

 6 
 on: April 21, 2019, 07:05:23 19:05 
Started by Zulea - Last post by FTL
This member is invited by me. Registration isn't completed yet.


Note: This message sent by the system behalf of FTL.

 7 
 on: April 21, 2019, 04:57:06 16:57 
Started by Zulea - Last post by Zulea
CountryRomania
NoteI am working in GSM phone hacking for more than 20 years.
Development of many microcontroller based PC interfaces (mainly USB connected).
Have more than 10 years of experience with ARM Cortex M3, last 5 years with M0
Worked in past (over 10-20 years ago) with Microchip PIC and Atmel AVR.
Now have interest mainly in ARM Cortex M0 (mainly RTOS/USB) and related projects/tools like IAR, Keil, Segger
I can help other people with my advaices and experience.

Thankls


 8 
 on: April 21, 2019, 04:45:23 16:45 
Started by intel - Last post by Wilksey
set the UART to 8 bits and set the most significant bit when sending, this becomes the stop bit and the real stop bit acts as a second one, giving seven data bits and two stop bits

 9 
 on: April 21, 2019, 11:50:50 11:50 
Started by intel - Last post by TucoRamirez
i wonder if the CCS implementation is a software one...  

so do you need a soft lib?

you can do 7N2 using 8N1 by shifting and putting manually a stop bit on your send char function

 10 
 on: April 21, 2019, 11:24:44 11:24 
Started by intel - Last post by intel
Thanks for your interest TucoRamirez. But these codes are only supported with Hardware.

Your code:
Code:
unsigned char config_1 = USART_TX_INT_OFF & USART_RX_INT_OFF & USART_ASYNCH_MODE & USART_EIGHT_BIT & USART_CONT_RX & USART_BRGH_LOW;

I can't do anything with hardware support. As an example (requirement for me):

1 Start Bit
7 Data Bit
Odd Parity
2 Stop Bit

This CCS C is also very easy. But so far, I've prepared the code with XC8. The different configuration was a surprise for me.

For CCS C:
#users232(baud = 9600, parity = O, xmit = PIN_C6, rcv = PIN_C7, bits = 7, stream = PORT1)

I couldn't do that with the XC8. I'm hoping it could be with an XC8 Uart library.


Pages: [1] 2 3 4 5 6 7 8 ... 10

DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC