Author |
Message |
Topic: 16F15345 DAC don't work [Solved] |
Roberto da Rivoli
Replies: 5
Views: 15538
|
Forum: General CCS C Discussion Posted: Wed Jul 20, 2022 3:52 pm Subject: [SOLVED] 16F15345 DAC don't work |
|
Topic: 16F15345 DAC don't work [Solved] |
Roberto da Rivoli
Replies: 5
Views: 15538
|
Forum: General CCS C Discussion Posted: Tue Jul 19, 2022 9:49 am Subject: 16F15345 DAC don't work (SOLVED ) |
thanks Ttelmah
I apologize if I was not very clear, and I entered a really badly written piece of code, but the whole project is very complex and needs some elaborate hardware behind it.
I inserte ... |
Topic: 16F15345 DAC don't work [Solved] |
Roberto da Rivoli
Replies: 5
Views: 15538
|
Forum: General CCS C Discussion Posted: Mon Jul 18, 2022 3:40 pm Subject: 16F15345 DAC don't work [Solved] |
#include <main.h>
void main()
{
while(TRUE)
{
setup_DAC(DAC_VSS_VDD | DAC_OUTPUT);
dac_write(25); // OV DRL-->OFF
delay_ms(1000);
... |
Topic: DMX Slave device |
Roberto da Rivoli
Replies: 6
Views: 12987
|
Forum: General CCS C Discussion Posted: Fri Apr 21, 2017 1:47 am Subject: dmx 512-A receiver |
I downloaded the AN1659, now I try to implement the receive routine. Let's see if it works. |
Topic: DMX Slave device |
Roberto da Rivoli
Replies: 6
Views: 12987
|
Forum: General CCS C Discussion Posted: Thu Apr 20, 2017 9:18 am Subject: dmx 512-A |
I use DMX512-A "ANSI E1.11-2008 (R2013)"
Is there an example of an updated code sample for correct reception of characters? |
Topic: DMX Slave device |
Roberto da Rivoli
Replies: 6
Views: 12987
|
Forum: General CCS C Discussion Posted: Thu Apr 20, 2017 6:56 am Subject: DMX Slave device dont't work PIC24EP32GP |
As you can see from the posted code, it's exactly the official CCS example, where I just changed the processor and set the peripherals I'm using, if I re-run everything properly, I'll integrate it int ... |
Topic: DMX Slave device |
Roberto da Rivoli
Replies: 6
Views: 12987
|
Forum: General CCS C Discussion Posted: Thu Apr 20, 2017 4:18 am Subject: DMX Slave device |
In one of my devices I'm using a receiving routine that I do not fully satisfy, and I wanted to improve the product using CCS's DMX libraries. Then the Hardware is working.
With CCS routines I can no ... |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Mon Jan 23, 2017 12:52 pm Subject: [SOLVED] Pic12f615 sleep dont Work |
With the solution proposed by "PCM programmer" seems to work properly, I introduced some modifications to match the applications.
Thanks "PCM programmer" and other programmers f ... |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2017 1:08 pm Subject: wake-up PIC12f615 don't Work |
I inserted a DELAY exaggerated 1s to avoid taking the second front of the OFF-ON-OFF button as I analyze the state in the "while" loop, but I did not get improvements.
void read_Puls( ... |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2017 12:09 pm Subject: wake-up PIC12f615 don't Work |
I tested various types of hall since it served a lot senzibilità me, the hall sensor is not receiving power from the pic port but directly from 5Volt, absorbs about 8 mA but not from the pic.
Thes ... |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2017 12:00 pm Subject: wake-up PIC12f615 don't Work |
yes exactly just this configuration, if necessary I can put the external pull-up |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2017 11:45 am Subject: hall sensor |
HALL, For debug i put a push button with 100nF. |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2017 11:44 am Subject: wake-up PIC12f615 don't Work |
12F615
I/SN1524
4DG |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2017 5:21 am Subject: wake-up PIC12f615 don't Work |
pin I use is the A5.
I tested your suggestion is the behavior is abnormal, the system will not feel the transitions on pin A5 thus remains blocked everything not in sleep mode
while(1)
... |
Topic: wake-up PIC12f615 don't Work |
Roberto da Rivoli
Replies: 34
Views: 54191
|
Forum: General CCS C Discussion Posted: Sun Jan 22, 2017 4:44 am Subject: pic12f615 sleep don't work |
Compared to published code I have done many tests yet, but I have not gotten any better result, if anyone has any suggestions I feel happy. |
|