Current Cost Support Forum

A support forum for Current Cost users, partners and developers. Covering hardware, software and web.
Site Announcements

The support forum is moderated Monday to Friday, UK time. To submit a support ticket, please email: helpme [at] currentcost .com

It is currently Thu Mar 28, 2024 4:54 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page Previous  1, 2, 3
Author Message
PostPosted: Sat Sep 22, 2012 3:33 pm 
Offline

Joined: Fri Jun 03, 2011 11:12 pm
Posts: 38
Location: UK
Writing one's own software is deffinitely something i completely agree with for a multitude of reasons, however for reference purposes additional information can often be obtained from disassembly. Truth be told, at the time when i first got my hands on my first dev board, i didn't own a logic analyser and i couldn't beleive it when i found that CP was disabled. Although i have a Saleae these days, i've not even attempted to try it on a Dev board. Like many things, i just haven't got around to it.

Anyhow, i have just looked through the partial disassembly that i have (it was never fully completed) and it appears that a buffer starting at ram address 0x3F is filled with 3 bytes (not 5 as i had previously suspected) of 0xAA followed by two more buffer addresses adding the Synch word of 0x2DD4 (address 0x42 and 0x43 respectively) before the data payload.

Like i say, at this stage i have not used a logic analyser to confirm that all 3 bytes of preamble are actually being sent, they are just loaded into the ram buffer on the PIC. It could be that when the buffer is full and ready to send, the transmit routine may start the sequence from address 0x41 sending only one byte of preamble. This would give an easy option to modify it to 2 or 3 bytes of preamble if required, i guess to allow for reliability testing. Obviously the shorter the data packet then more battery power saved, even if only fractional.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 21 posts ]  Go to page Previous  1, 2, 3

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group