News:

;) This forum is the property of Proton software developers

Main Menu

Is this rfPIC supported?

Started by Eriond, May 24, 2022, 09:57 PM

Previous topic - Next topic

Eriond

It's a bit unclear to me whether the PIC 16LF1824T39A is supported or not?
In the official list of supported devices, I can find the 16LF1824, but not specifically 16LF1824T39A.
Are they the same? Because 16LF1824 (without the suffix T39A) can't be found on Microchips site... ???

basiclover


John Lawton

This device isn't an rfPIC as the thread title suggests. There is some confusion here.

John

Stephen Moss

Quote from: Eriond on May 24, 2022, 09:57 PMIt's a bit unclear to me whether the PIC 16LF1824T39A is supported or not?
In the official list of supported devices, I can find the 16LF1824, but not specifically 16LF1824T39A.
It seems that you have answered you own question, if it is not in the list of supported items then it is not supported, also it is not highlighted when entered into the IDE which also indicates it is not supported.

QuoteAre they the same? Because 16LF1824 (without the suffix T39A) can't be found on Microchips site... ???
Well I have not compared the datasheets but as they have the same name stem it would be logical that they are similar devices and so probably share many of the same parameters such as peripherals, memory, speed and register Names/Address and so while it may be possible to use the 16FL1824 device within the IDE to write code for the the 16LF1824T39A obviously that would not cover peripherals, memory locations and register that exist only in the 16LF1824T39A as the compiler would throw up errors is it would be unaware of their existence.

Presumably you are wanting to use the RF transmitter that comes with the 16FL1824T39A, in which case you have the following options...
1) Use another device and connect it to an external transmitter module.
2) Wait to see if the 16LF1824T39A becomes a supported device, although that may not happen within the timescale you want.
3) If both devices are similar due to sharing a name stem you could copy the PPI file for the 16FL1824 and using the datasheet for the 16FL1824T39A make the necessary changes to create a PPI file for the 16FL1824T39A, although there is no guarantee that would work.
4) Use a supported device that has an internal RF transmitter such as the 12LF1840T39A or 12LF1840T48A, although there may be others.
 
   

tumbleweed

The main difference from the 16F1824 is the T39A has the RF Transmitter peripheral, and has a pinout similar to the 20-pin 16LF1828.

You should be able to compile for the 16F1824 and use it with the T39A. There are no internal registers for controlling the RF Transmitter... you externally connect two IO pins to the transmitter's DATA and CTRL pins and send data as described in section 28 of the T39A datasheet.

Be sure to follow section 28.2 for IO pin connection info.

You can find the datasheet for the 16F1824/LF1824/1828 at
http://ww1.microchip.com/downloads/en/devicedoc/41419a.pdf

The datasheet for the PIC16LF1824T39A is at
https://ww1.microchip.com/downloads/aemDocuments/documents/OTH/ProductDocuments/DataSheets/40001657C.pdf


Eriond

Thank you for the many replies. They contain a lot of useful insight and tangible examples of how I may proceed with my design.
This forum and it's members are probably one of the most powerful "features" of the Positron suite :D