CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 8 matches
CCS Forum Index
Author Message
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Wed May 04, 2016 9:37 am   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
I agree too, I made a poor choice by using this PIC but the dev board it was on was pretty interesting so I went for it. I'm totally aware of the large choice Microchip has to offer and rest assure t ...
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Tue May 03, 2016 3:26 am   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
I guess I'll have to check that, AS5048 is an awesome little chip, that would be a shame to fry it! Thanks for the info, after some years on Arduino, it's hard to come back on PIC, everything need to ...
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Tue May 03, 2016 2:33 am   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
Ok PCM Programmer, it was simple after all. Thank you very much!

Ttelmah, my schematic isn't accurate at all, I salvaged the board with the AS5048 already installed on it, I didn't have time to pro ...
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Mon May 02, 2016 4:38 pm   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
here are the datas I receive on the terminal :


2645 2646 2643 2645 2644 2646 2646 2639 2644 2644 2644 2643 2643 2647 2644 2643 2644 2646 2646 2646 2644 2643 2645 2646 2644 2643 2642 2641 2645 264 ...
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Mon May 02, 2016 4:10 pm   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
ok.... it was just that. I feel so bad. it works perfectly now, even in 3.3V thank you so much!

but still, on the datasheet (Page 11) it shows MISO to MISO and MOSI to MOSI. Why ? I don't get it... ...
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Mon May 02, 2016 3:03 pm   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
Here is the schematic, PCM Programmer. I did it really quickly but we can see the main feature and where the connections are made. I hope it will help.

http://postimg.org/image/grvj1co29/

Yes In ...
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Mon May 02, 2016 11:53 am   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
yes sorry about that, it was LOW initially but I tried to put it HIGH just in case. It gives the exact same result (: I just corrected it.
  Topic: Magnetic Rotary Encoder AS5048A and SPI, please Help
Kickelle

Replies: 17
Views: 69598

PostForum: General CCS C Discussion   Posted: Mon May 02, 2016 11:39 am   Subject: Magnetic Rotary Encoder AS5048A and SPI, please Help
hello guys,

I am looking for some help after some desperate attempts to make a simple AS5048A to work with a 18F4520 Dev Board from waveshare. Here are the datasheet and schematic:

AS5048A: ht ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group