Search found 5 matches
- Thu Jun 14, 2018 4:47 am
- Forum: ChibiOS/HAL
- Topic: SDC Sporadic Issues
- Replies: 4
- Views: 2130
Re: SDC Sporadic Issues
Thank you for your help, Giovanni. I found that I had some jumpers on the same pins that are connected to the Micro SD adapter on my board. Must have had some capacitance that was corrupting the data going through. Amateur mistake, but hopefully can benefit from this post.
- Sun Jun 10, 2018 4:17 pm
- Forum: ChibiOS/HAL
- Topic: SDC Sporadic Issues
- Replies: 4
- Views: 2130
Re: SDC Sporadic Issues
Giovanni, Thanks for your reply. There is one capacitor close to the card. Here's a schematic of the circuit. I was thinking the same thing, but I'd think that the internal pullups would get the job done, especially with the help of the 10k pullups. This is all SMD so changing resistors would be und...
- Sun Jun 10, 2018 6:11 am
- Forum: ChibiOS/HAL
- Topic: SDC Sporadic Issues
- Replies: 4
- Views: 2130
SDC Sporadic Issues
Hello, I'm experiencing issues using the SDC driver on an STM32F407. I've got a generic STM32F4 board that has an onboard Micro SD card slot. It has 10k pullups to 3V3 on D0-D3, CMD, and SCK. When calling sdcConnect it'll frequently fail. When it succeeds, I'm able to pull the CSD. I've pulled the C...
- Tue Feb 27, 2018 7:41 pm
- Forum: General Support
- Topic: Include CPP Library Issue
- Replies: 3
- Views: 2065
Re: Include CPP Library Issue
It probably depends on how is defined SPIGPIO. Giovanni Thank you very much for your reply! I didn't have a clear understanding of how macros worked, so I researched them and found my error. Also, thanks for your many posts on this site. I've referenced them quite a few times in the past, and they'...
- Tue Feb 27, 2018 3:01 am
- Forum: General Support
- Topic: Include CPP Library Issue
- Replies: 3
- Views: 2065
Include CPP Library Issue
Hello, I'm trying to refactor an existing Arduino CPP library for ChibiOS. The library is for the MCP2515. I've created a new folder under the project called mcp_can, and the main .cpp file is called ./mcp_can/mcp_can.cpp. I've added it the makefile with CPPSRC. I've also added in CHCPPSRC and CHCPP...