stm32l151cbu6 Dual SPI configuration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-22 10:32 PM
Posted on November 23, 2015 at 07:32
Good Day,
I am current working on a project that is based on the stm32l151cbu6 chip, the chip is part of a LoRa module from the guys at IMST, I am having trouble configuring the SPI2 port. and just wanted to know if it is possible to use both spi1 and spi2 interfaces simultaneously, since the radio module is connected via the spi1 bus, is there any special way to configure both ports? all help will be highly appreciated. #stm32l151cbu6-dual-spi-config
Labels:
- Labels:
-
STM32L1 Series
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-23 7:51 AM
Posted on November 23, 2015 at 16:51
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-23 7:52 AM
Posted on November 23, 2015 at 16:52
Hi latief.rayaan,
Unless it is already specified in the errata sheet of STM32L151, there should be no limitation to use peripherals available in the product.In this particular case: there is no constraint to use both SPI1 and SPI2.What are you facing as issue exactly? Is SPI1/SPI2 working as expected on standalone?-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-11-23 10:10 PM
Posted on November 24, 2015 at 07:10Hi Mayla,the spi1 port is connected to the semtech lora radio module and that is working one hundred percent , however since the libraries that is being used is custom libraries that were supplied with the same Lora code from the IBM and Semtech, I just followed their code structure and peripheral setup. I wish to interface the spi2 port with the cs5480 energy measuring ic, but when I connected the connect pulse to an oscilloscope there simply no output from the pin and I am just so baffled by it
