Hello,
I started getting familiar with the XCORE Smart Microphone not long ago. I downloaded the xtimecomposer and the app usb audio. As I understood, this is an example implementation.
All the libraries and xc extensions to the compiler give you a great abstraction of the hardware so that you mainly work with logical ports, tiles, etc.
But is it also possible somehow to control the processor on a lower level? There seem to be pull-up resistors that prevent us from testing our design by removing buttons from the board and adding additional microphones to that port by soldering. Can we somehow disable them by software?
Thanks in advance.
Florian
Low-level programming
-
- Member
- Posts: 8
- Joined: Mon Jun 26, 2017 1:08 pm
-
- Experienced Member
- Posts: 114
- Joined: Fri Dec 11, 2009 10:22 am
in xs1.h there are the functions:
set_port_pull_up(p)
set_port_pull_none(p)
set_port_pull_down(p)
They will allow you to set the pull up/down state of the pins. Hope that helps.
set_port_pull_up(p)
set_port_pull_none(p)
set_port_pull_down(p)
They will allow you to set the pull up/down state of the pins. Hope that helps.
-
- XCore Legend
- Posts: 1126
- Joined: Thu May 27, 2010 10:08 am
On the xcore 200 there is no pull up available in the hardware. So it's pull_none or pull_down only.