[riot-notifications] [RIOT-OS/RIOT] cpu/saml1x: add support for SAML10 and SAML11 MCUs (Cortex-M23) (#10653)
notifications at github.com
Fri Jan 18 08:35:22 CET 2019
@larissazech, thanks for playing with this PR. I'll try to answer most of your questions.
> At first, I ran test/periph_adc. As of now, I have not been able to connect the ADC pins to any known voltage levels as requested in the test’s README. What exact voltage levels/range of voltage levels do you use for this test? A hint on where to find appropriate values in the docs from Microchip would be great as well!
IIRC, the SAM0 adc driver uses a 3,3V internal voltage as reference. For testing this feature, I connected a potentiometer to the pin declared in boards/common/saml1x/include/periph_conf.h.
> test/periph_uart outputs 1 available device UART_DEV(0). I will try to connect RX and TX tomorrow.
The only UART interface declared is binded to the USB DBG port through the embedded debugger.
I suggest you to use the command make BOARD=saml10-xpro flash term. You will be able to access all the test command through the RIOT shell. Then, just play around with the available commands (type '?' then the enter key, it will output the list of available command)
In general, you can manually test every tests/xxxx app using `make flash term`. It is a very good way to understand what is happening (from my point of view).
> test/periph_pm outputs the test description. Just a side note: Is "Layered support is not unavailable for this CPU.“ correct? „Not unavailable“? As of now, I don’t have an external power measurement device.
I'll probably add support for PM later. But I must rework some peripherals drivers first. For now, consider it as not supported.
Not an expert on this driver, and it is broken for both SAML10/SAML11 right now. But the memory map of the device is available in its [datasheet.](http://ww1.microchip.com/downloads/en/DeviceDoc/SAM-L10L11%20Family-DataSheet%20-%20DS60001513B.pdf) See chapter 9.
Regarding what you're trying to do with I2C/SPI, I think it's unfeasible. XAM is connected to the control MCU which is not the SAML10 but either the AVR chip or the SAMD20 (in the bottom side of the dev board). So I don't think you can access it through the SAML10. I'll have a look at the schematics if I find some time.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications