Hi
I have started a project using a PIC12F1840. The PIC has remappable pins for different functions on the chip. Is it possible when using the UART component to be able to incorporate this remap pin function for this chip as is done with other chips supported by FC7? If so that would be most appreciated.
Thanks
Zane
PIC12F1840 remappable pin function
Moderator: Benj
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC12F1840 remappable pin function
Hi Zane,
If you use the CAL UART component from the Tools Component Menu instead of the UART component then it has options to allow you to use the Alt pins on the 12F1840 device. It looks like these options haven't yet been exposed in the UART component.
If you use the CAL UART component from the Tools Component Menu instead of the UART component then it has options to allow you to use the Alt pins on the 12F1840 device. It looks like these options haven't yet been exposed in the UART component.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: PIC12F1840 remappable pin function
I found a bug with the CAL UART where the TX Alt setting was controlling both the TX and RX pins. Should be fixed now.
I've also brought the settings through to the UART component now too.
Simply copy the attached into your "Flowcode 7/components" folder and restart Flowcode.
I've also brought the settings through to the UART component now too.
Simply copy the attached into your "Flowcode 7/components" folder and restart Flowcode.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Flowcode v5 User
- Posts: 199
- Joined: Thu Sep 10, 2009 10:57 pm
- Location: New Zealand
- Has thanked: 93 times
- Been thanked: 76 times
Re: PIC12F1840 remappable pin function
Hi Ben,
I have tried the two separate components. The CAL_UART component works fine. The RS232 component when selecting the alternate pins, the TX and RX pin connections do not update.
Thanks
Zane
I have tried the two separate components. The CAL_UART component works fine. The RS232 component when selecting the alternate pins, the TX and RX pin connections do not update.
Thanks
Zane